-
Notifications
You must be signed in to change notification settings - Fork 0
/
launch.json
37 lines (37 loc) · 1.29 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
{
// 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": [
{
// https://wiki.segger.com/J-Link_Visual_Studio_Code
"type": "cortex-debug",
"request": "launch",
"name": "Debug J-Link IP",
"cwd": "${workspaceRoot}",
"showDevDebugOutput": "raw",
"executable": "${workspaceRoot}/build/build.elf",
"serverpath": "/opt/JLink_Linux_V786g_x86_64/JLinkGDBServerCLExe",
// "servertype": "external",
// "gdbTarget": "192.168.1.192:9999",
"servertype": "jlink",
"ipAddress": "192.168.1.192:9999",
"device": "STM32L011D4",
"interface": "swd",
"runToEntryPoint": "main",
"svdFile": "${workspaceRoot}/STM32L0x1.svd",
"rttConfig": {
"enabled": true,
"address": "auto",
"decoders": [
{
"label": "",
"port": 0,
"type": "console"
}
]
}
}
]
}