vscode: Adapt launch configuration
This commit is contained in:
parent
103cbe1d6a
commit
1eee0af374
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -12,7 +12,7 @@
|
|||||||
"environment": [],
|
"environment": [],
|
||||||
"externalConsole": false,
|
"externalConsole": false,
|
||||||
"MIMode": "gdb",
|
"MIMode": "gdb",
|
||||||
"miDebuggerPath": "/usr/local/bin/arm-none-eabi-gdb",
|
"miDebuggerPath": "arm-none-eabi-gdb",
|
||||||
"debugServerPath": "openocd",
|
"debugServerPath": "openocd",
|
||||||
"debugServerArgs": "-f ${workspaceRoot}/openocd.cfg",
|
"debugServerArgs": "-f ${workspaceRoot}/openocd.cfg",
|
||||||
"serverLaunchTimeout": 20000,
|
"serverLaunchTimeout": 20000,
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
# openocd setup for coprocessor using jlink interface and swd
|
source [find interface/stlink.cfg]
|
||||||
|
source [find target/stm32g0x.cfg]
|
||||||
source /usr/local/share/openocd/scripts/interface/jlink.cfg
|
|
||||||
transport select swd
|
|
||||||
|
|
||||||
source /usr/local/share/openocd/scripts/target/stm32g0x.cfg
|
|
||||||
|
Loading…
Reference in New Issue
Block a user