Skip to content

Commit abd948f

Browse files
authored
[Exporters] Fix generic ARM CPU target in uvision
Generic CPU target not found correctly, because it was not accessing the Cache's index. @theotherjimmy
1 parent c57427f commit abd948f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/cmsis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def check_supported(target):
5858
try:
5959
# Try to find the core as a generic CMSIS target
6060
cpu_name = DeviceCMSIS.cpu_cmsis(t.core)
61-
target_info = DeviceCMSIS.index[cpu_name]
61+
target_info = DeviceCMSIS.CACHE.index[cpu_name]
6262
except:
6363
return False
6464
target_info["_cpu_name"] = cpu_name

0 commit comments

Comments
 (0)