launch.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. // 使用 IntelliSense 了解相关属性�
  3. // 悬�以查看现有属性的�述�
  4. // 欲了解更多信�,请访�: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "cwd": "${workspaceRoot}",
  9. "executable": "Project/Project.elf",
  10. "name": "pyocd",
  11. "request": "launch",
  12. "type": "cortex-debug",
  13. "targetId": "PY32F030x8",
  14. "runToEntryPoint": "main",
  15. "showDevDebugOutput": "none",
  16. "servertype": "pyocd",
  17. "cmsisPack": "${env:PYSDEPATH}\\packs\\PY32F0xx_DFP.pack",
  18. "svdFile": "${env:PYSDEPATH}\\svd\\PY32F030xx.svd"
  19. },
  20. {
  21. "cwd": "${workspaceRoot}",
  22. "type": "cortex-debug",
  23. "request": "launch",
  24. "name": "openocd",
  25. "servertype": "openocd",
  26. "executable": "Project/Project.elf",
  27. "runToEntryPoint": "main",
  28. "configFiles": [
  29. "interface/cmsis-dap.cfg",
  30. "target/py32f030.cfg"
  31. ],
  32. "toolchainPrefix": "arm-none-eabi",
  33. "svdFile": "${env:PYSDEPATH}\\svd\\PY32F030xx.svd"
  34. },
  35. {
  36. "cwd": "${workspaceRoot}",
  37. "type": "cortex-debug",
  38. "request": "launch",
  39. "name": "jlink",
  40. "servertype": "jlink",
  41. "interface": "swd",
  42. "executable": "Project/Project.elf",
  43. "runToEntryPoint": "main",
  44. "device": "PY32F030x8",
  45. "toolchainPrefix": "arm-none-eabi",
  46. "svdFile": "${env:PYSDEPATH}\\svd\\PY32F030xx.svd"
  47. }
  48. ]
  49. }