launch.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. // 使用 IntelliSense 了解相关属性。
  3. // 悬停以查看现有属性的描述。
  4. // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "Cortex Debug",
  9. "cwd": "${workspaceRoot}",
  10. "executable": "./build/ctrl_board.elf",
  11. "request": "launch",
  12. "type": "cortex-debug",
  13. "servertype": "jlink",
  14. "serverpath": "D:/Program Files/SEGGER/JLink/JLinkGDBServerCL.exe",
  15. "device": "STM32G070CB",
  16. "interface": "swd",
  17. "runToEntryPoint": "main",
  18. "svdFile": "${workspaceRoot}/STM32G070.svd",
  19. "showDevDebugOutput": "none",
  20. "rttConfig": {
  21. "enabled": true,
  22. "address": "auto",
  23. "decoders": [
  24. {
  25. "label": "RTTConsole",
  26. "port": 0,
  27. "type": "console",
  28. "inputmode": "raw"
  29. }
  30. ]
  31. }
  32. }
  33. ]
  34. }