Skip to content

Commit 99a2eb5

Browse files
committed
platform: fix default debug prefix
"debug.toolchain.prefix" must end with a dash, since only the tool name is appended to this string. The reason this is not a major issue is that the "debug_custom.json" file (copied in the sketch directory when debugging is enabled) forces its own prefix. And to make things more interesting, the "toolchainPrefix" entry in that file should _not_ end with a dash.
1 parent 5caa709 commit 99a2eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ pluggable_monitor.required.serial=builtin:serial-monitor
266266
debug.executable={build.path}/{build.project_name}.elf
267267
debug.toolchain=gcc
268268
debug.toolchain.path={tools.{build.tarch}-esp-elf-gdb.path}/bin/
269-
debug.toolchain.prefix={build.tarch}-{build.target}-elf
269+
debug.toolchain.prefix={build.tarch}-{build.target}-elf-
270270
debug.server=openocd
271271
debug.server.openocd.script=debug.cfg
272272

0 commit comments

Comments
 (0)