-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
47 lines (47 loc) · 1.54 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
46
47
{
// 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": "Debug (OpenOCD)",
"cwd": "${workspaceRoot}",
"executable": "${command:cmake.launchTargetPath}",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"interface": "swd",
"device": "STM32F205RG",
"runToEntryPoint": "main",
"svdFile": "${workspaceRoot}/resources/STM32F20x.svd",
"configFiles": [
"interface/wch-cmsis-dap.cfg",
"target/stm32f2x.cfg"
],
"preLaunchCommands": [
"set mem inaccessible-by-default off",
"monitor reset"
],
"postLaunchCommands": [
"monitor reset init",
"monitor sleep 100"
],
"rttConfig": {
"enabled": true,
"address": "auto",
"clearSearch": false,
"polling_interval": 20,
"rtt_start_retry": 20000,
"decoders": [
{
"label": "RTT channel 0",
"port": 0,
"timestamp": true,
"type": "console"
}
]
}
}
]
}