Compare commits

..

1 Commits

Author SHA1 Message Date
Thomas Klaehn
1eee0af374 vscode: Adapt launch configuration 2022-11-16 10:02:47 +01:00
2 changed files with 3 additions and 7 deletions

2
.vscode/launch.json vendored
View File

@@ -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,

View File

@@ -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