-
Notifications
You must be signed in to change notification settings - Fork 15
/
Zephyr.code-workspace
142 lines (130 loc) · 3.94 KB
/
Zephyr.code-workspace
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"folders": [
{
"path": "."
},
{
"name": "zephyrproject",
"path": "../"
},
{
"name": "AppUnderDev",
"path": "../zephyr/samples/hello_world"
},
{
"name": "ZephyrTests",
"path": "../zephyr/tests/net/socket/websocket"
},
{
"name": "BootloaderUnderDev",
"path": "../bootloader/mcuboot/boot/zephyr"
}
],
"settings": {
"west": "${env:HOME}/.local/bin/west",
"twister": {
"host_test_arch": "qemu_x86",
},
// Board support package settings:
"bsp": {
"cpu": "", // must be used if multi core system (put /m4 or /m7 here for example)
"soc": "stm32f446xx",
"board": "nucleo_f446ze",
"board_manufacturer": "st",
"board_root": "${workspaceFolder:zephyrproject}/zephyr",
"board_path": "${config:bsp.board_root}/boards/${config:bsp.board_manufacturer}/${config:bsp.board}",
"svd": "${workspaceFolder}/stm32_svd/STM32F446x.svd",
"debug_config": "${config:bsp.board_path}/support/openocd.cfg"
},
// App settings:
"app": {
"name": "${workspaceFolder:AppUnderDev}",
"build_dir": "${workspaceFolder:AppUnderDev}/build",
"zephyr_config": "", // -DOVERLAY_CONFIG=<path_relative_to_sample> use ; for multiple files
"zephyr_dtc_overlay": "", // "-DDTC_OVERLAY_FILE=boards/nucleo_f303re.overlay" // -DDTC_OVERLAY_FILE=<path_relative_to_sample> use ; for multiple files
"compile_args": ""
},
// Bootloader app settings:
"app_boot": {
"name": "${workspaceFolder:BootloaderUnderDev}",
"build_dir": "${workspaceFolder:BootloaderUnderDev}/build",
"zephyr_config": "", // -DOVERLAY_CONFIG=<path_relative_to_sample> use ; for multiple files
"zephyr_dtc_overlay": "", // "-DDTC_OVERLAY_FILE=boards/nucleo_f303re.overlay" // -DDTC_OVERLAY_FILE=<path_relative_to_sample> use ; for multiple files
"compile_args": ""
},
"cmake.configureOnOpen": false,
"files.associations": {
},
// The number of spaces a tab is equal to. This setting is overridden
// based on the file contents when `editor.detectIndentation` is true.
"editor.tabSize": 4,
// Insert spaces when pressing Tab. This setting is overriden
// based on the file contents when `editor.detectIndentation` is true.
"editor.insertSpaces": false,
// When opening a file, `editor.tabSize` and `editor.insertSpaces`
// will be detected based on the file contents. Set to false to keep
// the values you've explicitly set, above.
"editor.detectIndentation": false,
"editor.rulers": [80],
"editor.cursorBlinking": "smooth",
"files.trimFinalNewlines": true,
"editor.formatOnSave": false,
"editor.codeActionsOnSave": [],
"editor.renderWhitespace": "all",
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/tmp/**": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/node_modules": true,
"**/bower_components": true,
"**/dist/**": true,
"**/log/**": true,
"**/logs/**": true,
"**/.fdk/**": true,
"**/.west/**": true,
"**/.vscode/**": true,
"${workspaceRoot}/../zephyr/**": true
},
"files.exclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/tmp/**": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/node_modules": true,
"**/bower_components": true,
"**/dist/**": true,
"**/log/**": true,
"**/.fdk/**": true,
"**/.west/**": true
},
"search.exclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/tmp/**": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/node_modules": true,
"**/bower_components": true,
"**/dist/**": true,
"**/log/**": true,
"**/.west/**": true
},
"editor.renderControlCharacters": false,
"cortex-debug.variableUseNaturalFormat": false
}
}