65 lines
2.1 KiB
JSON
65 lines
2.1 KiB
JSON
|
{
|
||
|
"version": "0.2.0",
|
||
|
"configurations": [
|
||
|
{
|
||
|
"type": "mrs-debugger",
|
||
|
"request": "launch",
|
||
|
"name": "CH32V303-FreeRTOS",
|
||
|
"cwd": "d:\\psx\\su806\\2.software\\mcu_git\\CH32V303-FreeRTOS",
|
||
|
"openOCDCfg": {
|
||
|
"useLocalOpenOCD": true,
|
||
|
"executable": "c:/MounRiver/MounRiver_Studio2/resources/app/resources/win32/components/WCH/OpenOCD/OpenOCD/bin/openocd.exe",
|
||
|
"configOptions": [
|
||
|
"-f \"c:/MounRiver/MounRiver_Studio2/resources/app/resources/win32/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": "c:/MounRiver/MounRiver_Studio2/resources/app/resources/win32/components/WCH/Toolchain/RISC-V Embedded GCC/bin/riscv-none-embed-gdb.exe",
|
||
|
"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": "d:\\psx\\su806\\2.software\\mcu_git\\CH32V303-FreeRTOS\\obj\\CH32V303-FreeRTOS.elf",
|
||
|
"symbolFile": "d:\\psx\\su806\\2.software\\mcu_git\\CH32V303-FreeRTOS\\obj\\CH32V303-FreeRTOS.elf",
|
||
|
"executableFileOffset": 0,
|
||
|
"symbolFileOffset": 0
|
||
|
},
|
||
|
"runCommands": {
|
||
|
"runReset": true,
|
||
|
"runResetType": "halt",
|
||
|
"additionalCommands": [],
|
||
|
"setBreakAt": "handle_reset",
|
||
|
"continue": true,
|
||
|
"setProgramCounterAt": 0
|
||
|
},
|
||
|
"debugInRAM": false
|
||
|
},
|
||
|
"svdpath": "c:\\MounRiver\\MounRiver_Studio2\\resources\\app\\resources\\win32\\components\\WCH\\SDK\\default/RISC-V/CH32V307/NoneOS/CH32V307xx.svd",
|
||
|
"output": {
|
||
|
"showDebugGDBTrace": true,
|
||
|
"saveDebugOutputToFile": false,
|
||
|
"showDebugOutputTimestamps": true
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|