Skip to content

Commit 162bbac

Browse files
theotherjimmyadbridge
authored andcommitted
Fix Uvision supported check
Should now allow for generic targets
1 parent 4c4d0fa commit 162bbac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/uvision/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class Uvision(Exporter):
121121
TOOLCHAIN = 'ARM'
122122
TARGETS = []
123123
for target, obj in TARGET_MAP.iteritems():
124-
if not ("ARM" in obj.supported_toolchains and hasattr(obj, "device_name")):
124+
if "ARM" not in obj.supported_toolchains:
125125
continue
126126
if not DeviceCMSIS.check_supported(target):
127127
continue

0 commit comments

Comments
 (0)