Skip to content

Commit f68e529

Browse files
rsoracmaglie
rsora
authored andcommitted
Rename debug recipe in gdb-openocd and add default console value for interpreter
1 parent 6993d73 commit f68e529

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

platform.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ tools.openocd-withbootsize.bootloader.pattern="{path}/{cmd}" {bootloader.verbose
232232
#
233233
# EXPERIMENTAL feature: debug.pattern
234234
# - this is alpha and may be subject to change without notice
235-
236-
tools.gdb.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
237-
tools.gdb.cmd=arm-none-eabi-gdb
238-
tools.gdb.cmd.windows=arm-none-eabi-gdb.exe
239-
tools.gdb.debug.pattern="{path}/{cmd}" --interpreter={interpreter} -ex "set remotetimeout 5" -ex "set pagination off" -ex 'target extended-remote | "{tools.openocd.path}/{tools.openocd.cmd}" -s "{tools.openocd.path}/share/openocd/scripts/" --file "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "gdb_port pipe" -c "telnet_port 0"' "{build.path}/{build.project_name}.elf"
235+
tools.gdb-openocd.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
236+
tools.gdb-openocd.cmd=arm-none-eabi-gdb
237+
tools.gdb-openocd.cmd.windows=arm-none-eabi-gdb.exe
238+
tools.gdb-openocd.interpreter=console
239+
tools.gdb-openocd.debug.pattern="{path}/{cmd}" --interpreter={interpreter} -ex "set remotetimeout 5" -ex "set pagination off" -ex 'target extended-remote | "{tools.openocd.path}/{tools.openocd.cmd}" -s "{tools.openocd.path}/share/openocd/scripts/" --file "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "gdb_port pipe" -c "telnet_port 0"' "{build.path}/{build.project_name}.elf"

0 commit comments

Comments
 (0)