|
1 | 1 | { |
2 | 2 | "folders": [ |
3 | 3 | { |
4 | | - "path": "." |
| 4 | + "path": ".", |
5 | 5 | }, |
6 | 6 |
|
7 | 7 | { |
8 | 8 | "name": "pxt", |
9 | | - "path": "pxt/" |
| 9 | + "path": "pxt/", |
10 | 10 | }, |
11 | 11 | { |
12 | 12 | "name": "pxt-common-packages", |
13 | | - "path": "pxt-common-packages/" |
| 13 | + "path": "pxt-common-packages/", |
14 | 14 | }, |
15 | 15 | { |
16 | 16 | "name": "pxt-steami", |
17 | | - "path": "pxt-steami/" |
| 17 | + "path": "pxt-steami/", |
18 | 18 | }, |
19 | 19 | { |
20 | 20 | "name": "pxt-steami-backend", |
21 | | - "path": "pxt-steami-backend/" |
22 | | - } |
| 21 | + "path": "pxt-steami-backend/", |
| 22 | + }, |
23 | 23 | ], |
24 | 24 |
|
25 | 25 | "settings": { |
26 | 26 | "C_Cpp.default.browse.path": [ |
27 | 27 | "${workspaceFolder}/**", |
28 | | - "/arm_toolchain/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/**" |
| 28 | + "/arm_toolchain/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/**", |
29 | 29 | ], |
30 | 30 |
|
31 | 31 | "cmake.generator": "Unix Makefiles", |
|
67 | 67 | "${workspaceFolder:codal-stm32}/system/Middlewares/ST/STM32_USB_Device_Library/Class/WebUSB/Src/*", |
68 | 68 | "${workspaceFolder:codal-stm32-STEAM32_WB55RG}/inc/*", |
69 | 69 | "${workspaceFolder:codal-stm32-STEAM32_WB55RG}/model/*", |
70 | | - "${workspaceFolder:codal-stm32-STEAM32_WB55RG}/samples/*" |
| 70 | + "${workspaceFolder:codal-stm32-STEAM32_WB55RG}/samples/*", |
71 | 71 | ], |
| 72 | + "explorer.fileNesting.enabled": true, |
| 73 | + "explorer.fileNesting.expand": false, |
| 74 | + "explorer.fileNesting.patterns": { |
| 75 | + "*.ts": "${capture}.js", |
| 76 | + "*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts", |
| 77 | + "*.jsx": "${capture}.js", |
| 78 | + "*.tsx": "${capture}.ts", |
| 79 | + "*.cpp": "$(capture).hpp, $(capture).h, $(capture).hxx, $(capture).hh", |
| 80 | + "Makefile": "*.mk", |
| 81 | + "package.json": "package-lock.json, .gitignore, .gitattributes, *.code-workspace", |
| 82 | + "README.md": "LICENSE.md, TODO.md, CONTRIBUTING.md", |
| 83 | + ".eslintrc.js": ".clang-format, .prettierrc.json, .releaserc.json, .validate-branch-namerc.js, commitlint.config.js, git-precommit-checks.config.js", |
| 84 | + }, |
| 85 | + |
| 86 | + "files.exclude": { |
| 87 | + "**/.git": true, |
| 88 | + "**/.DS_Store": true, |
| 89 | + "**/Thumbs.db": true, |
| 90 | + "**/node_modules": true, |
| 91 | + "**/pxt*": true, |
| 92 | + }, |
72 | 93 |
|
73 | 94 | "files.associations": { |
74 | 95 | "digital_io.h": "c", |
|
85 | 106 | "usbd_conf.h": "c", |
86 | 107 | "stm32_def.h": "c", |
87 | 108 | "core_cm4.h": "c", |
88 | | - "variant.h": "c" |
89 | | - } |
| 109 | + "variant.h": "c", |
| 110 | + }, |
90 | 111 | }, |
91 | 112 | "extensions": { |
92 | 113 | "recommendations": [ |
|
105 | 126 | "trond-snekvik.gnu-mapfiles", |
106 | 127 | "vivaxy.vscode-conventional-commits", |
107 | 128 | "xaver.clang-format", |
108 | | - "ZixuanWang.linkerscript" |
109 | | - ] |
| 129 | + "ZixuanWang.linkerscript", |
| 130 | + ], |
110 | 131 | }, |
111 | 132 | "tasks": { |
112 | 133 | "version": "2.0.0", |
|
116 | 137 | "script": "build", |
117 | 138 | "group": { |
118 | 139 | "kind": "build", |
119 | | - "isDefault": true |
| 140 | + "isDefault": true, |
120 | 141 | }, |
121 | 142 | "problemMatcher": [], |
122 | | - "label": "build pxt-steami target" |
| 143 | + "label": "build pxt-steami target", |
123 | 144 | }, |
124 | 145 | { |
125 | 146 | "type": "npm", |
126 | 147 | "script": "clean", |
127 | 148 | "group": "build", |
128 | 149 | "problemMatcher": [], |
129 | | - "label": "clean pxt-steami target" |
| 150 | + "label": "clean pxt-steami target", |
130 | 151 | }, |
131 | 152 | { |
132 | 153 | "type": "npm", |
133 | 154 | "script": "package", |
134 | 155 | "group": "build", |
135 | 156 | "problemMatcher": [], |
136 | | - "label": "build static package of pxt-steami" |
| 157 | + "label": "build static package of pxt-steami", |
137 | 158 | }, |
138 | 159 | { |
139 | 160 | "type": "npm", |
140 | 161 | "script": "staticserve", |
141 | 162 | "group": "test", |
142 | 163 | "problemMatcher": [], |
143 | | - "label": "serve static pxt-steami editor" |
| 164 | + "label": "serve static pxt-steami editor", |
144 | 165 | }, |
145 | 166 | { |
146 | 167 | "type": "npm", |
147 | 168 | "script": "serve", |
148 | 169 | "group": "test", |
149 | 170 | "problemMatcher": [], |
150 | | - "label": "serve pxt-steami editor" |
| 171 | + "label": "serve pxt-steami editor", |
151 | 172 | }, |
152 | 173 | { |
153 | 174 | "label": "flash_openocd", |
154 | 175 | "args": [], |
155 | 176 | "type": "shell", |
156 | 177 | "command": "openocd -s /usr/share/openocd/scripts/ -s ./libraries/codal-stm32-STEAM32_WB55RG/scripts -f openocd.cfg -c 'program build/STM32 verify reset exit'", |
157 | 178 | "options": { |
158 | | - "cwd": "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/" |
| 179 | + "cwd": "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/", |
159 | 180 | }, |
160 | 181 | "presentation": { |
161 | | - "reveal": "silent" |
| 182 | + "reveal": "silent", |
162 | 183 | }, |
163 | 184 | "group": { |
164 | 185 | "kind": "test", |
165 | | - "isDefault": true |
166 | | - } |
| 186 | + "isDefault": true, |
| 187 | + }, |
167 | 188 | }, |
168 | 189 | { |
169 | 190 | "label": "flash_pyocd", |
|
172 | 193 |
|
173 | 194 | "command": "pyocd flash build/STM32 --format elf", |
174 | 195 | "options": { |
175 | | - "cwd": "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal" |
| 196 | + "cwd": "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal", |
176 | 197 | }, |
177 | 198 | "presentation": { |
178 | | - "reveal": "silent" |
| 199 | + "reveal": "silent", |
179 | 200 | }, |
180 | 201 | "group": { |
181 | | - "kind": "test" |
182 | | - } |
183 | | - } |
184 | | - ] |
| 202 | + "kind": "test", |
| 203 | + }, |
| 204 | + }, |
| 205 | + ], |
185 | 206 | }, |
186 | 207 | "launch": { |
187 | 208 | "version": "0.2.0", |
|
196 | 217 | "svdFile": "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/scripts/STM32.svd", |
197 | 218 | "searchDir": [ |
198 | 219 | "/usr/share/openocd/scripts/", |
199 | | - "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/scripts/" |
| 220 | + "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/scripts/", |
200 | 221 | ], |
201 | 222 | "configFiles": ["openocd.cfg"], |
202 | 223 | "liveWatch": { |
203 | 224 | "enabled": true, |
204 | | - "samplesPerSecond": 4 |
| 225 | + "samplesPerSecond": 4, |
205 | 226 | }, |
206 | 227 | "preLaunchTask": "flash_openocd", |
207 | 228 | "runToEntryPoint": "main", |
208 | 229 | "showDevDebugOutput": "parsed", |
209 | 230 | "preLaunchCommands": [ |
210 | 231 | "set mem inaccessible-by-default off", |
211 | 232 | "enable breakpoint", |
212 | | - "monitor reset" |
213 | | - ] |
| 233 | + "monitor reset", |
| 234 | + ], |
214 | 235 | }, |
215 | 236 | { |
216 | 237 | "type": "cortex-debug", |
|
222 | 243 | "svdFile": "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/scripts/STM32.svd", |
223 | 244 | "preLaunchTask": "flash_pyocd", |
224 | 245 | "runToEntryPoint": "main", |
225 | | - "showDevDebugOutput": "parsed" |
| 246 | + "showDevDebugOutput": "parsed", |
226 | 247 | }, |
227 | 248 | { |
228 | 249 | "type": "cortex-debug", |
|
234 | 255 | "svdFile": "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/scripts/STM32.svd", |
235 | 256 | "searchDir": [ |
236 | 257 | "/usr/share/openocd/scripts/", |
237 | | - "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/scripts/" |
| 258 | + "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/scripts/", |
238 | 259 | ], |
239 | 260 | "configFiles": ["openocd.cfg"], |
240 | 261 | "liveWatch": { |
241 | 262 | "enabled": true, |
242 | | - "samplesPerSecond": 4 |
| 263 | + "samplesPerSecond": 4, |
243 | 264 | }, |
244 | 265 | "preLaunchTask": "flash_openocd", |
245 | 266 | "runToEntryPoint": "main", |
246 | | - "showDevDebugOutput": "parsed" |
| 267 | + "showDevDebugOutput": "parsed", |
247 | 268 | }, |
248 | 269 | { |
249 | 270 | "type": "cortex-debug", |
|
255 | 276 | "svdFile": "${workspaceFolder:pxt-steami}/libs/blocksprj/built/codal/scripts/STM32.svd", |
256 | 277 | "preLaunchTask": "build current target", |
257 | 278 | "runToEntryPoint": "main", |
258 | | - "showDevDebugOutput": "parsed" |
259 | | - } |
| 279 | + "showDevDebugOutput": "parsed", |
| 280 | + }, |
260 | 281 | ], |
261 | | - "compounds": [] |
262 | | - } |
| 282 | + "compounds": [], |
| 283 | + }, |
263 | 284 | } |
0 commit comments