Skip to content

Commit 22da2be

Browse files
committed
Update uvision exporter to capture ARMC6 as default toolchain
1 parent e264640 commit 22da2be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/export/uvision/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ class UvisionArmc5(Uvision):
316316
def is_target_supported(cls, target_name):
317317
target = TARGET_MAP[target_name]
318318
if not (set(target.supported_toolchains).intersection(
319-
set(["ARM", "uARM"]))):
319+
set(["ARMC5", "uARM"]))):
320320
return False
321321
if not DeviceCMSIS.check_supported(target_name):
322322
return False
@@ -339,7 +339,7 @@ class UvisionArmc6(Uvision):
339339
def is_target_supported(cls, target_name):
340340
target = TARGET_MAP[target_name]
341341
if not (set(target.supported_toolchains).intersection(
342-
set(["ARMC6"]))):
342+
set(["ARM", "ARMC6", "uARM"]))):
343343
return False
344344
if not DeviceCMSIS.check_supported(target_name):
345345
return False

0 commit comments

Comments
 (0)