mirror of https://github.com/ARMmbed/mbed-os.git
[Exporters] Fix generic ARM CPU target in uvision
Generic CPU target not found correctly, because it was not accessing the Cache's index. @theotherjimmypull/3349/head
parent
c57427f77f
commit
abd948fa6d
|
@ -58,7 +58,7 @@ class DeviceCMSIS():
|
||||||
try:
|
try:
|
||||||
# Try to find the core as a generic CMSIS target
|
# Try to find the core as a generic CMSIS target
|
||||||
cpu_name = DeviceCMSIS.cpu_cmsis(t.core)
|
cpu_name = DeviceCMSIS.cpu_cmsis(t.core)
|
||||||
target_info = DeviceCMSIS.index[cpu_name]
|
target_info = DeviceCMSIS.CACHE.index[cpu_name]
|
||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
target_info["_cpu_name"] = cpu_name
|
target_info["_cpu_name"] = cpu_name
|
||||||
|
|
Loading…
Reference in New Issue