summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-08-14 23:02:23 +0300
committerRiku Isokoski <riksu9000@gmail.com>2021-08-14 23:02:23 +0300
commit044036e884039237ade739d46b682e586a36e8df (patch)
treeaf50c3194a86096147459bc9b4d5821b8bd509d2 /.vscode/launch.json
parent23bde0d18e99a344b95b5f1507350e186659eec2 (diff)
parentdf8d396472fe47016623a111a5f025048fb82964 (diff)
Merge branch 'develop' into timer_battery_reading
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json20
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
+}