File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ arduino_zero_edbg.name=Arduino Zero (Programming Port)
20
20
arduino_zero_edbg.vid.0=0x03eb
21
21
arduino_zero_edbg.pid.0=0x2157
22
22
23
+ arduino_zero_edbg.debug.tool=gdb
23
24
arduino_zero_edbg.upload.tool=openocd
24
25
arduino_zero_edbg.upload.protocol=sam-ba
25
26
arduino_zero_edbg.upload.maximum_size=262144
Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ recipe.output.save_file={build.project_name}.{build.variant}.{build.preferred_ou
113
113
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
114
114
recipe.size.regex=\.text\s+([0-9]+).*
115
115
116
- # Uploader tools
117
- # --------------
116
+ # Upload/Debug tools
117
+ # ------------------
118
118
119
119
#
120
120
# AVRDUDE
@@ -219,3 +219,13 @@ tools.openocd-withbootsize.erase.pattern=
219
219
tools.openocd-withbootsize.bootloader.params.verbose=-d2
220
220
tools.openocd-withbootsize.bootloader.params.quiet=-d0
221
221
tools.openocd-withbootsize.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; init; halt; at91samd bootloader 0; program {{runtime.platform.path}/bootloaders/{bootloader.file}} verify reset; shutdown"
222
+
223
+ #
224
+ # GDB (Debugger)
225
+ #
226
+
227
+ tools.gdb.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
228
+ tools.gdb.cmd=arm-none-eabi-gdb
229
+ tools.gdb.cmd.windows=arm-none-eabi-gdb.exe
230
+
231
+ tools.gdb.debug.pattern="{path}/{cmd}" -ex 'target extended-remote | {tools.openocd.path}/{tools.openocd.cmd} -s "{tools.openocd.path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "gdb_port pipe" -c "telnet_port 0" -c init -c halt'
You can’t perform that action at this time.
0 commit comments