|
4 | 4 | { |
5 | 5 | "name": "Debug - Openocd docker Remote", |
6 | 6 | "type":"cortex-debug", |
7 | | - "cortex-debug.armToolchainPath":"${env:COMPILER_DIR}/bin", |
| 7 | + "cortex-debug.armToolchainPath":"${env:ARM_NONE_EABI_TOOLCHAIN_PATH}/bin", |
8 | 8 | "cwd": "${workspaceRoot}", |
9 | 9 | "executable": "${command:cmake.launchTargetPath}", |
10 | 10 | "request": "launch", |
11 | 11 | "servertype": "external", |
12 | 12 | // This may need to be arm-none-eabi-gdb depending on your system |
13 | | - "gdbPath" : "${env:COMPILER_DIR}/bin/arm-none-eabi-gdb", |
| 13 | + "gdbPath" : "${env:ARM_NONE_EABI_TOOLCHAIN_PATH}/bin/arm-none-eabi-gdb", |
14 | 14 | // Connect to an already running OpenOCD instance |
15 | 15 | "gdbTarget": "host.docker.internal:3333", |
16 | 16 | "svdFile": "${workspaceRoot}/nrf52.svd", |
|
24 | 24 | { |
25 | 25 | "name": "Debug - Openocd Local", |
26 | 26 | "type":"cortex-debug", |
27 | | - "cortex-debug.armToolchainPath":"${env:COMPILER_DIR}/bin", |
| 27 | + "cortex-debug.armToolchainPath":"${env:ARM_NONE_EABI_TOOLCHAIN_PATH}/bin", |
28 | 28 | "cwd": "${workspaceRoot}", |
29 | 29 | "executable": "${command:cmake.launchTargetPath}", |
30 | 30 | "request": "launch", |
31 | 31 | "servertype": "openocd", |
32 | 32 | // This may need to be arm-none-eabi-gdb depending on your system |
33 | | - "gdbPath" : "${env:COMPILER_DIR}/bin/arm-none-eabi-gdb", |
| 33 | + "gdbPath" : "${env:ARM_NONE_EABI_TOOLCHAIN_PATH}/bin/arm-none-eabi-gdb", |
34 | 34 | // Connect to an already running OpenOCD instance |
35 | 35 | "gdbTarget": "localhost:3333", |
36 | 36 | "svdFile": "${workspaceRoot}/nrf52.svd", |
|
0 commit comments