Browse Source

update settings.json to adjust cmake update changes

Tobias Müller 1 month ago
parent
commit
2596ff69e4
3 changed files with 13 additions and 13 deletions
  1. 12 12
      .vscode/settings.json
  2. 1 1
      README.md
  3. BIN
      README.pdf

+ 12 - 12
.vscode/settings.json

@@ -2,24 +2,24 @@
     // These settings tweaks to the cmake plugin will ensure
     // These settings tweaks to the cmake plugin will ensure
     // that you debug using cortex-debug instead of trying to launch
     // that you debug using cortex-debug instead of trying to launch
     // a Pico binary on the host
     // a Pico binary on the host
-    "cmake.statusbar.advanced": {
-
-        "debug": {
-            "visibility": "hidden"
+    "cmake.options.statusBarVisibility": "compact",
+    "cmake.options.advanced": {
+        "buildPreset": {},
+        "build": {
+            "statusBarVisibility": "inherit",
+            "inheritDefault": "visible"
         },
         },
         "launch": {
         "launch": {
-            "visibility": "hidden"
+            "statusBarVisibility": "hidden",
+            "inheritDefault": "hidden"
         },
         },
-        "build": {
-            "visibility": "default"
-        },
-        "buildTarget": {
-            "visibility": "hidden"
+        "debug": {
+            "statusBarVisibility": "hidden",
+            "inheritDefault": "hidden"
         }
         }
     },
     },
     "cmake.buildBeforeRun": true,
     "cmake.buildBeforeRun": true,
     "cmake.configureOnOpen": true,
     "cmake.configureOnOpen": true,
-    "cmake.statusbar.visibility": "icon",
     "cmake.generator": "Unix Makefiles",
     "cmake.generator": "Unix Makefiles",
     "cmake.environment": {
     "cmake.environment": {
       "PICO_SDK_PATH": "${workspaceFolder}/../pico-sdk"
       "PICO_SDK_PATH": "${workspaceFolder}/../pico-sdk"
@@ -30,5 +30,5 @@
     "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
     "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
     "C_Cpp.default.cppStandard": "gnu++17",
     "C_Cpp.default.cppStandard": "gnu++17",
     "C_Cpp.default.cStandard": "gnu11",
     "C_Cpp.default.cStandard": "gnu11",
-    "cortex-debug.openocdPath": "${workspaceFolder}/../openocd/src/openocd",
+    "cortex-debug.openocdPath": "${workspaceFolder}/../openocd/src/openocd"
 }
 }

+ 1 - 1
README.md

@@ -32,7 +32,7 @@ Regardless which operating system is used for compilation, the Pico-SDK is alway
 |:----:|-------------|------|
 |:----:|-------------|------|
 | ***Raspberry Pi Pico-SDK*** <br/> <img src="https://www.raspberrypi.com/app/uploads/2022/02/COLOUR-Raspberry-Pi-Symbol-Registered.png" height="50"> | The Raspberry Pi Pico SDK (henceforth the SDK) provides the headers, libraries and build system necessary to write programs for the RP2040-based devices such as the Raspberry Pi Pico in C, C++ or assembly language. | [https://github.com/raspberrypi/pico-sdk](https://github.com/raspberrypi/pico-sdk) |
 | ***Raspberry Pi Pico-SDK*** <br/> <img src="https://www.raspberrypi.com/app/uploads/2022/02/COLOUR-Raspberry-Pi-Symbol-Registered.png" height="50"> | The Raspberry Pi Pico SDK (henceforth the SDK) provides the headers, libraries and build system necessary to write programs for the RP2040-based devices such as the Raspberry Pi Pico in C, C++ or assembly language. | [https://github.com/raspberrypi/pico-sdk](https://github.com/raspberrypi/pico-sdk) |
 | ***Raspberry Pi OpenOCD*** <br/> (optional) <br/> <img src="https://www.raspberrypi.com/app/uploads/2022/02/COLOUR-Raspberry-Pi-Symbol-Registered.png" height="50"> | OpenOCD provides on-chip programming and debugging support with a layered architecture of JTAG interface and TAP support. | [https://github.com/raspberrypi/openocd](https://github.com/raspberrypi/openocd) |
 | ***Raspberry Pi OpenOCD*** <br/> (optional) <br/> <img src="https://www.raspberrypi.com/app/uploads/2022/02/COLOUR-Raspberry-Pi-Symbol-Registered.png" height="50"> | OpenOCD provides on-chip programming and debugging support with a layered architecture of JTAG interface and TAP support. | [https://github.com/raspberrypi/openocd](https://github.com/raspberrypi/openocd) |
-| ***Raspberry Pi Picoprobe*** <br/> (optional) <br/> <img src="https://www.raspberrypi.com/app/uploads/2022/02/COLOUR-Raspberry-Pi-Symbol-Registered.png" height="50"> | Picoprobe allows a Pico / RP2040 to be used as USB -> SWD and UART bridge. This means it can be used as a debugger and serial console for another Pico. | [https://github.com/raspberrypi/picoprobe](https://github.com/raspberrypi/picoprobe) |
+| ***Raspberry Pi Debugprobe*** <br/> (optional) <br/> <img src="https://www.raspberrypi.com/app/uploads/2022/02/COLOUR-Raspberry-Pi-Symbol-Registered.png" height="50"> | Debugprobe allows a Pico / RP2040 to be used as USB -> SWD and UART bridge. This means it can be used as a debugger and serial console for another Pico. | [https://github.com/raspberrypi/debugprobe](https://github.com/raspberrypi/debugprobe) |
 
 
 This repository refers to the Pico-SDK, which must be in search path. The Pico-SDK must be at the same folder level as this repository. If debugging is needed, also the OpenOCD folder must be at the same level.
 This repository refers to the Pico-SDK, which must be in search path. The Pico-SDK must be at the same folder level as this repository. If debugging is needed, also the OpenOCD folder must be at the same level.
 
 

BIN
README.pdf