Merge pull request #7295 from cmonr/uvision-cannot-compile-cortexA

Compiling Cortex-A cores in uVision is not supported.
pull/7296/head
Cruz Monrreal 2018-06-21 17:37:15 -05:00 committed by GitHub
commit ec5018d39f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,8 @@ class Uvision(Exporter):
return False
if not DeviceCMSIS.check_supported(target_name):
return False
if "Cortex-A" in target.core:
return False
if not hasattr(target, "post_binary_hook"):
return True
if target.post_binary_hook['function'] in cls.POST_BINARY_WHITELIST: