12345678910111213141516171819202122232425262728293031323334 |
- {
- // These settings tweaks to the cmake plugin will ensure
- // that you debug using cortex-debug instead of trying to launch
- // a Pico binary on the host
- "cmake.statusbar.advanced": {
- "debug": {
- "visibility": "hidden"
- },
- "launch": {
- "visibility": "hidden"
- },
- "build": {
- "visibility": "default"
- },
- "buildTarget": {
- "visibility": "hidden"
- }
- },
- "cmake.buildBeforeRun": true,
- "cmake.configureOnOpen": true,
- "cmake.statusbar.visibility": "icon",
- "cmake.generator": "Unix Makefiles",
- "cmake.environment": {
- "PICO_SDK_PATH": "${workspaceFolder}/../pico-sdk"
- },
- "cmake.configureArgs": [
- "-DPICO_DEOPTIMIZED_DEBUG=1"
- ],
- "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
- "C_Cpp.default.cppStandard": "gnu++17",
- "C_Cpp.default.cStandard": "gnu11",
- "cortex-debug.openocdPath": "${workspaceFolder}/../openocd/src/openocd",
- }
|