File tree 4 files changed +10
-2
lines changed
variants/nano_33_iot/openocd_scripts
4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ nano_33_iot.build.board=SAMD_NANO_33_IOT
249
249
nano_33_iot.build.core=arduino
250
250
nano_33_iot.build.extra_flags=-DCRYSTALLESS -D__SAMD21G18A__ {build.usb_flags}
251
251
nano_33_iot.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
252
- nano_33_iot.build.openocdscript=openocd_scripts/arduino_zero .cfg
252
+ nano_33_iot.build.openocdscript=openocd_scripts/openocd .cfg
253
253
nano_33_iot.build.variant=nano_33_iot
254
254
nano_33_iot.build.vid=0x2341
255
255
nano_33_iot.build.pid=0x8057
Original file line number Diff line number Diff line change @@ -137,7 +137,9 @@ debug.toolchain.prefix=arm-none-eabi-
137
137
debug.server=openocd
138
138
debug.server.openocd.path={runtime.tools.openocd-0.10.0-arduino7.path}/bin/openocd
139
139
debug.server.openocd.scripts_dir={runtime.tools.openocd-0.10.0-arduino7.path}/share/openocd/scripts/
140
- debug.server.openocd.script={runtime.platform.path}/variants/{build.variant}/{build.openocdscript}
140
+ build.openocdinterface=interface/{programmer.protocol}.cfg
141
+ debug.server.openocd.scripts.0={build.openocdinterface}
142
+ debug.server.openocd.scripts.1={runtime.platform.path}/variants/{build.variant}/{build.openocdscript}
141
143
142
144
# Upload/Debug tools
143
145
# ------------------
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ edbg.extra_params=
25
25
atmel_ice.name=Atmel-ICE
26
26
atmel_ice.communication=USB
27
27
atmel_ice.protocol=cmsis-dap.cfg
28
+ atmel_ice.programmer.protocol=cmsis-dap
28
29
atmel_ice.program.tool=openocd
29
30
atmel_ice.program.tool.default=openocd
30
31
atmel_ice.program.extra_params=
Original file line number Diff line number Diff line change
1
+ # chip name
2
+ set CHIPNAME at91samd21g18
3
+ set ENDIAN little
4
+
5
+ source [find target/at91samdXX.cfg]
You can’t perform that action at this time.
0 commit comments