tasks.json 603 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "label": "Flash",
  6. "type": "shell",
  7. "command": "openocd",
  8. "args": [
  9. "-f",
  10. "interface/cmsis-dap.cfg",
  11. "-f",
  12. "target/rp2040.cfg",
  13. "-c",
  14. "adapter speed 1000; program {${command:cmake.launchTargetPath}} verify reset exit"
  15. ],
  16. "problemMatcher": []
  17. },
  18. {
  19. "label": "Build",
  20. "type": "cmake",
  21. "command": "build",
  22. "problemMatcher": "$gcc",
  23. "group": {
  24. "kind": "build",
  25. "isDefault": true
  26. }
  27. }
  28. ]
  29. }