Skip to content

Commit 45b0f40

Browse files
theotherjimmyadbridge
authored andcommitted
Fix all undefined key errors in iar exporter
1 parent 03d2cb8 commit 45b0f40

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tools/export/iar/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ def iar_device(self):
6464
"GFPUCoreSlave": '',
6565
"GFPUCoreSlave2": 40,
6666
"GBECoreSlave": 35,
67+
"GBECoreSlave2": '',
6768
"FPU2": 0,
6869
"NrRegs": 0,
70+
"NEON": '',
6971
}
7072

7173
iar_defaults.update(device_info)

tools/export/iar/ewp.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<option>
132132
<name>GBECoreSlave</name>
133133
<version>24</version>
134-
<state>{{GBECoreSlave}}</state>
134+
<state>{{device.GBECoreSlave}}</state>
135135
</option>
136136
<option>
137137
<name>OGUseCmsis</name>

0 commit comments

Comments
 (0)