Merge pull request #4395 from theotherjimmy/fix-uvision-support

Allow generic core exports to UVision
pull/4332/merge
Sam Grove 2017-05-26 10:20:33 -05:00 committed by GitHub
commit 2e5ba49b59
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class Uvision(Exporter):
TOOLCHAIN = 'ARM'
TARGETS = []
for target, obj in TARGET_MAP.iteritems():
if not ("ARM" in obj.supported_toolchains and hasattr(obj, "device_name")):
if "ARM" not in obj.supported_toolchains:
continue
if not DeviceCMSIS.check_supported(target):
continue