settings.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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.options.statusBarVisibility": "compact",
  6. "cmake.options.advanced": {
  7. "buildPreset": {},
  8. "build": {
  9. "statusBarVisibility": "inherit",
  10. "inheritDefault": "visible"
  11. },
  12. "launch": {
  13. "statusBarVisibility": "hidden",
  14. "inheritDefault": "hidden"
  15. },
  16. "debug": {
  17. "statusBarVisibility": "hidden",
  18. "inheritDefault": "hidden"
  19. }
  20. },
  21. "cmake.buildBeforeRun": true,
  22. "cmake.configureOnOpen": true,
  23. "cmake.generator": "Unix Makefiles",
  24. "cmake.environment": {
  25. "PICO_SDK_PATH": "${workspaceFolder}/../pico-sdk"
  26. },
  27. "cmake.configureArgs": [
  28. "-DPICO_DEOPTIMIZED_DEBUG=1"
  29. ],
  30. "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
  31. "C_Cpp.default.cppStandard": "gnu++17",
  32. "C_Cpp.default.cStandard": "gnu11",
  33. "cortex-debug.openocdPath": "${workspaceFolder}/../openocd/src/openocd"
  34. }