diff options
author | hubmartin <hub.martin@gmail.com> | 2021-08-22 22:11:57 +0200 |
---|---|---|
committer | hubmartin <hub.martin@gmail.com> | 2021-08-22 22:11:57 +0200 |
commit | 2a299fe2759e934c69b360995745d43c741115f8 (patch) | |
tree | 83813367684eba510da5d5295aca476151b545f3 /.vscode/launch.json | |
parent | 0d083a2beac118234f07dacee42f0925420abb42 (diff) | |
parent | df8ea7fe523bb9ec0ac3e24f0b1bebe5743d90cc (diff) |
Merge branch 'develop' into pinmap
Diffstat (limited to '.vscode/launch.json')
-rw-r--r-- | .vscode/launch.json | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 7cf3acd1..3d9aa789 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -40,7 +40,25 @@ "break main", "continue" ] + }, + { + "cwd": "${workspaceRoot}", + // TODO: find better way to get latest build filename + "executable": "./build/src/pinetime-app-1.3.0.out", + "name": "Debug OpenOCD ST-LINK pinetime-app-1.3.0.out", + "request": "launch", + "type": "cortex-debug", + "showDevDebugOutput": false, + "servertype": "openocd", + "runToMain": true, + // Only use armToolchainPath if your arm-none-eabi-gdb is not in your path (some GCC packages does not contain arm-none-eabi-gdb) + "armToolchainPath": "${workspaceRoot}/../gcc-arm-none-eabi-9-2020-q2-update/bin", + "svdFile": "${workspaceRoot}/nrf52.svd", + "configFiles": [ + "interface/stlink.cfg", + "target/nrf52.cfg" + ], } ] -}
\ No newline at end of file +} |