68 lines
2.1 KiB
JSON
68 lines
2.1 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "mrs-debugger",
|
|
"request": "launch",
|
|
"name": "femtomesh_sw",
|
|
"cwd": "/home/bruno/Documents/Programming/projects/femtomesh_sw",
|
|
"openOCDCfg": {
|
|
"useLocalOpenOCD": true,
|
|
"executable": "/usr/share/MRS2/MRS-linux-x64/resources/app/resources/linux/components/WCH/OpenOCD/OpenOCD/bin/openocd",
|
|
"configOptions": [
|
|
"-f \"/usr/share/MRS2/MRS-linux-x64/resources/app/resources/linux/components/WCH/OpenOCD/OpenOCD/bin/wch-riscv.cfg\" -c \"chip_id CH32V30x\""
|
|
],
|
|
"gdbport": 3333,
|
|
"telnetport": 4444,
|
|
"tclport": 6666,
|
|
"host": "localhost",
|
|
"port": 3333,
|
|
"skipDownloadBeforeDebug": false,
|
|
"enablePageEraser": false,
|
|
"enableNoZeroWaitingAreaFlash": false
|
|
},
|
|
"gdbCfg": {
|
|
"executable": "/usr/share/MRS2/MRS-linux-x64/resources/app/resources/linux/components/WCH/Toolchain/RISC-V Embedded GCC12/bin/riscv-wch-elf-gdb",
|
|
"commands": [
|
|
"set mem inaccessible-by-default off",
|
|
"set architecture riscv:rv32",
|
|
"set remotetimeout unlimited",
|
|
"set disassembler-options xw"
|
|
],
|
|
"options": []
|
|
},
|
|
"startup": {
|
|
"initCommands": {
|
|
"initReset": true,
|
|
"initResetType": "init",
|
|
"armSemihosting": false,
|
|
"additionalCommands": []
|
|
},
|
|
"loadedFiles": {
|
|
"executableFile": "/home/bruno/Documents/Programming/projects/femtomesh_sw/obj/femtomesh_sw.elf",
|
|
"symbolFile": "/home/bruno/Documents/Programming/projects/femtomesh_sw/obj/femtomesh_sw.elf",
|
|
"executableFileOffset": 0,
|
|
"symbolFileOffset": 0
|
|
},
|
|
"runCommands": {
|
|
"runReset": true,
|
|
"runResetType": "halt",
|
|
"additionalCommands": [],
|
|
"setBreakAt": "handle_reset",
|
|
"continue": true,
|
|
"setProgramCounterAt": 0
|
|
},
|
|
"debugInRAM": false
|
|
},
|
|
"svdpath": "/usr/share/MRS2/MRS-linux-x64/resources/app/resources/linux/components/WCH/SDK/default/RISC-V/CH32V307/NoneOS/CH32V307xx.svd",
|
|
"output": {
|
|
"showDebugGDBTrace": true,
|
|
"saveDebugOutputToFile": false,
|
|
"showDebugOutputTimestamps": true
|
|
},
|
|
"isDualCoreDebug": false,
|
|
"dualCoreDebugRole": null,
|
|
"architecture": "RISC-V"
|
|
}
|
|
]
|
|
} |