summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorKieran Cawthray <kieranc@gmail.com>2021-08-15 15:50:56 (GMT)
committerKieran Cawthray <kieranc@gmail.com>2021-08-15 15:50:56 (GMT)
commit30b32e4c8a750e6434f09a2eaa7cebb5d11a524a (patch)
tree8b010fe81ce8c11d8eab5efcf20822fdac418f61 /.vscode
parent9851ed33d84aa242dfb98c2c3714a20ddbc53f45 (diff)
parentee44b6ff4998d6f4d0672c05c1f65c0a9692dc0d (diff)
Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpicker
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json20
1 files changed, 19 insertions, 1 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 7cf3acd..3d9aa78 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
+}