File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
variants/nano_33_iot/openocd_scripts Expand file tree Collapse file tree 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
249249nano_33_iot.build.core=arduino
250250nano_33_iot.build.extra_flags=-DCRYSTALLESS -D__SAMD21G18A__ {build.usb_flags}
251251nano_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
253253nano_33_iot.build.variant=nano_33_iot
254254nano_33_iot.build.vid=0x2341
255255nano_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-
137137debug.server=openocd
138138debug.server.openocd.path={runtime.tools.openocd-0.10.0-arduino7.path}/bin/openocd
139139debug.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}
141143
142144# Upload/Debug tools
143145# ------------------
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ edbg.extra_params=
2525atmel_ice.name=Atmel-ICE
2626atmel_ice.communication=USB
2727atmel_ice.protocol=cmsis-dap.cfg
28+ atmel_ice.programmer.protocol=cmsis-dap
2829atmel_ice.program.tool=openocd
2930atmel_ice.program.tool.default=openocd
3031atmel_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