File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,9 @@ build.openocdscript.esp32s3=esp32s3-builtin.cfg
160
160
build.openocdscript.esp32c3=esp32c3-builtin.cfg
161
161
build.openocdscript={build.openocdscript.{build.mcu}}
162
162
163
+ # Debug plugin configuration
164
+ build.debugconfig={build.mcu}.json
165
+
163
166
# Custom build options
164
167
build.opt.name=build_opt.h
165
168
build.opt.path={build.path}/{build.opt.name}
@@ -201,8 +204,8 @@ recipe.hooks.postbuild.1.pattern=bash -c "[ {build.copy_jtag_files} -eq 0 ] || c
201
204
recipe.hooks.postbuild.1.pattern.windows=cmd /c IF {build.copy_jtag_files}==1 COPY /y "{debug.server.openocd.scripts_dir}board\{build.openocdscript}" "{build.source.path}\debug.cfg"
202
205
203
206
# Generate debug_custom.json
204
- recipe.hooks.postbuild.2.pattern=bash -c "[ {build.copy_jtag_files} -eq 0 ] || cp -f "{runtime.platform.path}"/tools/ide-debug/{build.mcu}.json "{build.source.path}"/debug_custom.json"
205
- recipe.hooks.postbuild.2.pattern.windows=cmd /c IF {build.copy_jtag_files}==1 COPY /y "{runtime.platform.path}\tools\ide-debug\{build.mcu}.json " "{build.source.path}\debug_custom.json"
207
+ recipe.hooks.postbuild.2.pattern=bash -c "[ {build.copy_jtag_files} -eq 0 ] || cp -f "{runtime.platform.path}"/tools/ide-debug/{build.debugconfig} "{build.source.path}"/debug_custom.json"
208
+ recipe.hooks.postbuild.2.pattern.windows=cmd /c IF {build.copy_jtag_files}==1 COPY /y "{runtime.platform.path}\tools\ide-debug\{build.debugconfig} " "{build.source.path}\debug_custom.json"
206
209
207
210
# Generate chip.svd
208
211
recipe.hooks.postbuild.3.pattern=bash -c "[ {build.copy_jtag_files} -eq 0 ] || cp -f "{runtime.platform.path}"/tools/ide-debug/svd/{build.mcu}.svd "{build.source.path}"/debug.svd"
You can’t perform that action at this time.
0 commit comments