Skip to content

IAR exporter: extended debugger settings template with modifiable options needed for Nordic targets #3911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tools/export/iar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def iar_device(self):
"FPU2": 0,
"NrRegs": 0,
"NEON": '',
"CExtraOptionsCheck": 0,
"CExtraOptions": "",
"CMSISDAPJtagSpeedList": 0,
}

iar_defaults.update(device_info)
Expand Down
6 changes: 3 additions & 3 deletions tools/export/iar/ewd.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
</option>
<option>
<name>CExtraOptionsCheck</name>
<state>0</state>
<state>{{device.CExtraOptionsCheck}}</state>
</option>
<option>
<name>CExtraOptions</name>
<state></state>
<state>{{device.CExtraOptions}}</state>
</option>
<option>
<name>CFpuProcessor</name>
Expand Down Expand Up @@ -365,7 +365,7 @@
<option>
<name>CMSISDAPJtagSpeedList</name>
<version>0</version>
<state>0</state>
<state>{{device.CMSISDAPJtagSpeedList}}</state>
</option>
<option>
<name>CMSISDAPBreakpointRadio</name>
Expand Down
10 changes: 8 additions & 2 deletions tools/export/iar/iar_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
"OGChipSelectEditMenu": "STM32F072RB\tST STM32F072RB"
},
"nRF51822_xxAA": {
"OGChipSelectEditMenu": "nRF51822-QFAA\tNordicSemi nRF51822-QFAA"
"OGChipSelectEditMenu": "nRF51822-QFAA\tNordicSemi nRF51822-QFAA",
"CExtraOptionsCheck": 1,
"CExtraOptions": "--drv_vector_table_base=0x0",
"CMSISDAPJtagSpeedList": 10
},
"EFM32GG990F1024": {
"OGChipSelectEditMenu": "EFM32GG990F1024\tSiliconLaboratories EFM32GG990F1024"
Expand Down Expand Up @@ -163,7 +166,10 @@
"OGChipSelectEditMenu": "STM32F407VG\tST STM32F407VG"
},
"nRF52832_xxAA":{
"OGChipSelectEditMenu": "nRF52832-xxAA\tNordicSemi nRF52832-xxAA"
"OGChipSelectEditMenu": "nRF52832-xxAA\tNordicSemi nRF52832-xxAA",
"CExtraOptionsCheck": 1,
"CExtraOptions": "--drv_vector_table_base=0x0",
"CMSISDAPJtagSpeedList": 10
},
"NCS36510":{
"OGChipSelectEditMenu": "NCS36510\tONSemiconductor NCS36510"
Expand Down