Skip to content

Commit 0e458bd

Browse files
committed
Tools: Fix Microbit releases
### Description I noticed that there was quite a bit missing from the mbed2 release of the microbit today. That's because the microbit uses ARM by default and the GCC_ARM small library. The release script was trying to release for ARM using scan rules for uARM. Turns out we're stuck with 2 configuration parameters for the same thing: `default_lib` for GCC and `default_toolchain` for ARM. Dang ### Pull request type [x] Fix [ ] Refactor [ ] Target update [ ] Functionality change [ ] Breaking change
1 parent 232543a commit 0e458bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def version_check(self):
125125
})
126126

127127
def _get_toolchain_labels(self):
128-
if getattr(self.target, "default_lib", "std") == "small":
128+
if getattr(self.target, "default_toolchain", "ARM") == "uARM":
129129
return ["ARM", "ARM_MICRO"]
130130
else:
131131
return ["ARM", "ARM_STD"]

0 commit comments

Comments
 (0)