diff --git a/ide/vscode/launch-raspberrypi-swd.json b/ide/vscode/launch-raspberrypi-swd.json index 870ddae..461bbc6 100644 --- a/ide/vscode/launch-raspberrypi-swd.json +++ b/ide/vscode/launch-raspberrypi-swd.json @@ -9,13 +9,13 @@ "type": "cortex-debug", "servertype": "openocd", // This may need to be arm-none-eabi-gdb depending on your system - "gdbpath" : "gdb-multiarch", + "gdbPath" : "gdb-multiarch", "device": "RP2040", "configFiles": [ "interface/raspberrypi-swd.cfg", "target/rp2040.cfg" ], - "svdFile": "/home/pi/pico/pico-sdk/src/rp2040/hardware_regs/rp2040.svd", + "svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd", "runToMain": true, // Work around for stopping at main on restart "postRestartCommands": [ diff --git a/ide/vscode/launch-remote-openocd.json b/ide/vscode/launch-remote-openocd.json index 3b5eed8..848983d 100644 --- a/ide/vscode/launch-remote-openocd.json +++ b/ide/vscode/launch-remote-openocd.json @@ -9,10 +9,10 @@ "request": "launch", "servertype": "external", // This may need to be arm-none-eabi-gdb depending on your system - "gdbpath" : "gdb-multiarch", + "gdbPath" : "gdb-multiarch", // Connect to an already running OpenOCD instance "gdbTarget": "your-openocd:3333", - "svdFile": "/home/liam/pico/pico-sdk/src/rp2040/hardware_regs/rp2040.svd", + "svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd", "runToMain": true, // Work around for stopping at main on restart "postRestartCommands": [ @@ -21,4 +21,4 @@ ] } ] -} \ No newline at end of file +}