Fix Uvision supported check

Should now allow for generic targets
pull/4395/head
Jimmy Brisson 2017-05-25 15:01:20 -05:00
parent a567afdf73
commit 4d1a4a41fa
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