Merge pull request #3349 from sarahmarshy/patch-7

[Exporters] Fix generic ARM CPU target in uvision
pull/3362/head
Martin Kojtal 2016-12-02 15:52:38 +01:00 committed by GitHub
commit 8fd363d19a
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class DeviceCMSIS():
try:
# Try to find the core as a generic CMSIS target
cpu_name = DeviceCMSIS.cpu_cmsis(t.core)
target_info = DeviceCMSIS.index[cpu_name]
target_info = DeviceCMSIS.CACHE.index[cpu_name]
except:
return False
target_info["_cpu_name"] = cpu_name