-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlaunch.json
More file actions
64 lines (63 loc) · 1.92 KB
/
launch.json
File metadata and controls
64 lines (63 loc) · 1.92 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) wsl launch",
"type": "cppdbg",
"request": "launch",
"program": "build/${workspaceFolderBasename}.elf",
"args": [],
"stopAtEntry": false,
"cwd": "/mnt/c/Users/tim/Documents/workspaces/cpp-arm/${workspaceFolderBasename}",
"environment": [],
"miDebuggerPath": "/mnt/d/arm-dev/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-gdb",
"miDebuggerServerAddress": "localhost:3333",
"debugServerPath": "/mnt/d/arm-dev/OpenOCD-20190715-0.10.0/bin/openocd.exe",
"debugServerArgs": "openocd.cfg",
"MIMode": "gdb",
"externalConsole": false,
"pipeTransport": {
"debuggerPath": "/mnt/d/arm-dev/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-gdb",
"pipeProgram": "${env:windir}\\system32\\bash.exe",
"pipeArgs": ["-c"],
"pipeCwd": "C:\\Users\\tim\\Documents\\workspaces\\cpp-arm\\${workspaceFolderBasename}"
},
"sourceFileMap": {
"/mnt/c": "c:\\",
"/mnt/d": "d:\\"
},
"setupCommands": [
{
"text": "-target-select extended-remote localhost:3333",
"description": "Connect to remote target",
"ignoreFailures": false
},
{
"text": "-file-exec-and-symbols build/${workspaceFolderBasename}.elf",
"description": "load file",
"ignoreFailures": false
},
{
"text": "-interpreter-exec console \"monitor reset\"",
"ignoreFailures": false
},
{
"text": "-interpreter-exec console \"monitor halt\"",
"ignoreFailures": false
},
{
"text": "-target-download",
"description": "flash target",
"ignoreFailures": false
}
],
"logging": {
"trace": true,
"traceResponse": true
}
}
]
}