settings.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. // These settings tweaks to the cmake plugin will ensure
  3. // that you debug using cortex-debug instead of trying to launch
  4. // a Pico binary on the host
  5. "cmake.statusbar.advanced": {
  6. "debug": {
  7. "visibility": "hidden"
  8. },
  9. "launch": {
  10. "visibility": "hidden"
  11. },
  12. "build": {
  13. "visibility": "default"
  14. },
  15. "buildTarget": {
  16. "visibility": "hidden"
  17. }
  18. },
  19. "cmake.buildBeforeRun": true,
  20. "cmake.configureOnOpen": true,
  21. "cmake.statusbar.visibility": "icon",
  22. "cmake.generator": "Unix Makefiles",
  23. "cmake.environment": {
  24. "PICO_SDK_PATH": "${workspaceFolder}/../pico-sdk"
  25. },
  26. "cmake.configureArgs": [
  27. "-DPICO_DEOPTIMIZED_DEBUG=1"
  28. ],
  29. "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
  30. "C_Cpp.default.cppStandard": "gnu++17",
  31. "C_Cpp.default.cStandard": "gnu11",
  32. "cortex-debug.openocdPath": "${workspaceFolder}/../openocd/src/openocd",
  33. "files.associations": {
  34. "*.c": "c",
  35. "blink.h": "c"
  36. }
  37. }