launch.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "type": "mrs-debugger",
  6. "request": "launch",
  7. "name": "mainboard",
  8. "cwd": "d:\\git_workspace\\bozz\\loto\\bozz_loto_software\\for_can\\ICSC_KEY_BASE_CAN\\mainboard",
  9. "openOCDCfg": {
  10. "useLocalOpenOCD": true,
  11. "executable": "d:/MounRiver/MounRiver_Studio2/resources/app/resources/win32/components/WCH/OpenOCD/OpenOCD/bin/openocd.exe",
  12. "configOptions": [
  13. "-f \"d:/MounRiver/MounRiver_Studio2/resources/app/resources/win32/components/WCH/OpenOCD/OpenOCD/bin/wch-riscv.cfg\" -c \"chip_id CH32V20x\""
  14. ],
  15. "gdbport": 3333,
  16. "telnetport": 4444,
  17. "tclport": 6666,
  18. "host": "localhost",
  19. "port": 3333,
  20. "skipDownloadBeforeDebug": false,
  21. "enablePageEraser": false,
  22. "enableNoZeroWaitingAreaFlash": false
  23. },
  24. "gdbCfg": {
  25. "executable": "d:/MounRiver/MounRiver_Studio2/resources/app/resources/win32/components/WCH/Toolchain/RISC-V Embedded GCC/bin/riscv-none-embed-gdb.exe",
  26. "commands": [
  27. "set mem inaccessible-by-default off",
  28. "set architecture riscv:rv32",
  29. "set remotetimeout unlimited",
  30. "set disassembler-options xw"
  31. ],
  32. "options": []
  33. },
  34. "startup": {
  35. "initCommands": {
  36. "initReset": true,
  37. "initResetType": "init",
  38. "armSemihosting": false,
  39. "additionalCommands": []
  40. },
  41. "loadedFiles": {
  42. "executableFile": "d:\\git_workspace\\bozz\\loto\\bozz_loto_software\\for_can\\ICSC_KEY_BASE_CAN\\mainboard\\obj\\mainboard.elf",
  43. "symbolFile": "d:\\git_workspace\\bozz\\loto\\bozz_loto_software\\for_can\\ICSC_KEY_BASE_CAN\\mainboard\\obj\\mainboard.elf",
  44. "executableFileOffset": 0,
  45. "symbolFileOffset": 0
  46. },
  47. "runCommands": {
  48. "runReset": true,
  49. "runResetType": "halt",
  50. "additionalCommands": [],
  51. "setBreakAt": "handle_reset",
  52. "continue": true,
  53. "setProgramCounterAt": 0
  54. },
  55. "debugInRAM": false
  56. },
  57. "svdpath": "",
  58. "output": {
  59. "showDebugGDBTrace": true,
  60. "saveDebugOutputToFile": false,
  61. "showDebugOutputTimestamps": true
  62. },
  63. "isDualCoreDebug": false,
  64. "dualCoreDebugRole": null,
  65. "architecture": "RISC-V"
  66. }
  67. ]
  68. }