File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ CH32V00x_EVT.build.board=CH32V00x_EVT
2323CH32V00x_EVT.upload.maximum_size=0
2424CH32V00x_EVT.upload.maximum_data_size=0
2525CH32V00x_EVT.build.variant_h=variant_{build.board}.h
26+ CH32V00x_EVT.debug.tool=gdb-WCH_LinkE
2627
2728
2829#CH32V003F4 EVT Board
Original file line number Diff line number Diff line change @@ -170,3 +170,17 @@ tools.WCH_linkE.upload.pattern="{path}{cmd}" -f "{upload.config}" -c init -c hal
170170
171171#tools.WCH_linkE.upload.pattern="{path}{cmd}" -f {upload.config} -c init -c halt -c "program {{build.path}/{build.project_name}.elf}; verify_image {{build.path}/{build.project_name}.elf}; wlink_reset_resume; exit;"
172172
173+
174+ # Debugger configuration (general options)
175+ # ----------------------------------------
176+ # EXPERIMENTAL feature:
177+ # - this is alpha and may be subject to change without notice
178+ debug.executable={build.path}/{build.project_name}.elf
179+ debug.toolchain=gcc
180+ debug.toolchain.prefix=riscv-none-embed
181+ debug.toolchain.path={compiler.path}
182+
183+ debug.server=openocd
184+ debug.server.openocd.path={runtime.tools.openocd-1.0.0.path}/bin/openocd
185+ debug.server.openocd.scripts_dir={debug.toolchain.path}/scripts
186+ debug.server.openocd.script={runtime.tools.openocd.path}/bin/wch-riscv.cfg
You can’t perform that action at this time.
0 commit comments