forked from ImperialSpaceSociety/LoRaMac-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ideal_launch.json
41 lines (40 loc) · 1.88 KB
/
ideal_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
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug-LoRaMac-periodic-uplink-lpp",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/build/src/apps/LoRaMac/LoRaMac-periodic-uplink-lpp",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": false,
"serverLaunchTimeout": 20000,
"debugServerArgs": "-f interface/stlink-v2.cfg -f target/stm32l0_dual_bank.cfg",
"filterStderr": true,
"filterStdout": false,
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
"setupCommands": [
{ "text": "cd ${workspaceRoot}/build" },
{ "text": "file src/apps/LoRaMac/LoRaMac-periodic-uplink-lpp", "description": "load file", "ignoreFailures": false},
{ "text": "target extended-remote localhost:3333", "description": "connect to target", "ignoreFailures": false },
{ "text": "monitor reset halt", "description": "perform a reset and halt the target", "ignoreFailures": false },
{ "text": "load", "description": "flash target", "ignoreFailures": false },
{ "text": "monitor reset init", "description": "perform a reset and init the target", "ignoreFailures": false },
{ "text": "set output-radix 16", "description": "set the default numeric base to 16", "ignoreFailures": false }
],
"logging": {
"moduleLoad": true,
"trace": true,
"engineLogging": true,
"programOutput": true,
"exceptions": true
},
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb-multiarch",
"debugServerPath": "/usr/bin/openocd"
}
]
}