forked from nanoframework/nf-interpreter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
launch.json
115 lines (115 loc) · 4.42 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"version": "0.2.0",
"configurations": [
{
"name": "ST_STM32F429I_DISCOVERY nanoBooter",
"type": "cppdbg",
"request": "launch",
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
"targetArchitecture": "ARM",
"program": "${workspaceRoot}/build/nanoBooter.elf",
"setupCommands": [
{
"text": "target extended-remote localhost:3333"
},
{
"text": "monitor reset_config none separate"
},
{
"text": "monitor reset halt"
},
{
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
},
{
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
},
{
"text": "monitor reset halt"
},
{
"text": "set output-radix 16",
"description": "set the default numeric base to 16",
"ignoreFailures": false
}
],
"customLaunchSetupCommands": [
{
"text": "monitor reset_config none separate"
},
{
"text": "monitor reset halt"
}
],
"logging": {
"moduleLoad": false,
"trace": false,
"engineLogging": false,
"programOutput": true,
"exceptions": true
},
"launchCompleteCommand": "exec-continue",
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32429i_eval_stlink.cfg",
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
"filterStderr": true,
"externalConsole": true,
"cwd": "${cwd}"
},
{
"name": "ST_STM32F429I_DISCOVERY nanoCLR",
"type": "cppdbg",
"request": "launch",
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
"targetArchitecture": "ARM",
"program": "${workspaceRoot}/build/nanoCLR.elf",
"setupCommands": [
{
"text": "target extended-remote localhost:3333"
},
{
"text": "monitor reset_config none separate"
},
{
"text": "monitor reset halt"
},
{
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
},
{
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
},
{
"text": "monitor reset halt"
},
{
"text": "set output-radix 16",
"description": "set the default numeric base to 16",
"ignoreFailures": false
}
],
"customLaunchSetupCommands": [
{
"text": "monitor reset_config none separate"
},
{
"text": "monitor reset halt"
}
],
"logging": {
"moduleLoad": false,
"trace": false,
"engineLogging": false,
"programOutput": true,
"exceptions": true
},
"launchCompleteCommand": "exec-continue",
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32429i_eval_stlink.cfg",
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
"filterStderr": true,
"externalConsole": true,
"cwd": "${cwd}"
}
]
}