Skip to content

Commit 2e5ba49

Browse files
authored
Merge pull request #4395 from theotherjimmy/fix-uvision-support
Allow generic core exports to UVision
2 parents 598cbdf + 4d1a4a4 commit 2e5ba49

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)