mirror of
https://github.com/sergeyyarkov/ch32v00x-template-mk.git
synced 2026-10-11 02:09:00 +03:00
18 lines
567 B
JSON
18 lines
567 B
JSON
{
|
|
"configurations": [
|
|
{
|
|
"cwd": "${workspaceRoot}",
|
|
"executable": "./build/firmware.elf",
|
|
"name": "Debug CH32V (WCH-Link)",
|
|
"request": "launch",
|
|
"type": "cortex-debug",
|
|
"servertype": "openocd",
|
|
"serverpath": "/opt/wch/MRS_Toolchain/OpenOCD/bin/openocd",
|
|
"gdbPath": "riscv32-wch-elf-gdb",
|
|
"configFiles": ["/opt/wch/MRS_Toolchain/OpenOCD/bin/wch-riscv.cfg"],
|
|
"runToEntryPoint": "main",
|
|
"showDevDebugOutput": "none",
|
|
"svdFile": "${workspaceFolder}/platform/ch32v00x/CH32V003xx.svd"
|
|
}
|
|
]
|
|
} |