-
Notifications
You must be signed in to change notification settings - Fork 14
/
launch.json
45 lines (45 loc) · 1.28 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"version": "2.0.0",
// See available parameters under:
// https://github.com/Marus/cortex-debug/blob/master/src/common.ts#LL249C25-L249C25
"configurations": [
{
"name": "Flash & Debug AppUnderDev",
"cwd": "${workspaceFolder:AppUnderDev}",
"executable": "${config:app.build_dir}/zephyr/zephyr.elf",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"interface": "swd",
"device": "${config:bsp.soc}",
"targetId": "${config:bsp.board}",
"boardId": "1",
"toolchainPrefix": "arm-zephyr-eabi",
"armToolchainPath": "${env:GNUARMEMB_TOOLCHAIN_PATH}/bin",
"svdFile": "${config:bsp.svd}",
"showDevDebugOutput": "raw",
"configFiles": [
"${config:bsp.debug_config}"
]
},
{
"name": "Flash & Debug BootloaderUnderDev",
"cwd": "${workspaceFolder:BootloaderUnderDev}",
"executable": "${config:app_boot.build_dir}/zephyr/zephyr.elf",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"interface": "swd",
"device": "${config:bsp.soc}",
"targetId": "${config:bsp.board}",
"boardId": "1",
"toolchainPrefix": "arm-zephyr-eabi",
"armToolchainPath": "${env:GNUARMEMB_TOOLCHAIN_PATH}/bin",
"svdFile": "${config:bsp.svd}",
"showDevDebugOutput": "raw",
"configFiles": [
"${config:bsp.debug_config}"
]
}
]
}