|
4 | 4 | { |
5 | 5 | "label": "Build - Build project", |
6 | 6 | "type": "shell", |
7 | | - "command": "${env:idf.pythonBinPath} ${env:idf.espIdfPath}/tools/idf.py build", |
| 7 | + "command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py build", |
8 | 8 | "windows": { |
9 | | - "command": "${env:idf.pythonBinPathWin} ${env:idf.espIdfPathWin}\\tools\\idf.py build", |
| 9 | + "command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py build", |
10 | 10 | "options": { |
11 | 11 | "env": { |
12 | | - "PATH": "${env:PATH};${env:idf.customExtraPaths}" |
| 12 | + "PATH": "${env:PATH};${config:idf.customExtraPaths}" |
13 | 13 | } |
14 | 14 | } |
15 | 15 | }, |
16 | 16 | "options": { |
17 | 17 | "env": { |
18 | | - "PATH": "${env:PATH}:${env:idf.customExtraPaths}" |
| 18 | + "PATH": "${env:PATH}:${config:idf.customExtraPaths}" |
19 | 19 | } |
20 | 20 | }, |
21 | 21 | "problemMatcher": [ |
|
72 | 72 | { |
73 | 73 | "label": "Clean - Clean the project", |
74 | 74 | "type": "shell", |
75 | | - "command": "${env:idf.pythonBinPath} ${env:idf.espIdfPath}/tools/idf.py fullclean", |
| 75 | + "command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py fullclean", |
76 | 76 | "windows": { |
77 | | - "command": "${env:idf.pythonBinPathWin} ${env:idf.espIdfPathWin}\\tools\\idf.py fullclean", |
| 77 | + "command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py fullclean", |
78 | 78 | "options": { |
79 | 79 | "env": { |
80 | | - "PATH": "${env:PATH};${env:idf.customExtraPaths}" |
| 80 | + "PATH": "${env:PATH};${config:idf.customExtraPaths}" |
81 | 81 | } |
82 | 82 | } |
83 | 83 | }, |
84 | 84 | "options": { |
85 | 85 | "env": { |
86 | | - "PATH": "${env:PATH}:${env:idf.customExtraPaths}" |
| 86 | + "PATH": "${env:PATH}:${config:idf.customExtraPaths}" |
87 | 87 | } |
88 | 88 | }, |
89 | 89 | "problemMatcher": [ |
|
119 | 119 | { |
120 | 120 | "label": "Flash - Flash the device", |
121 | 121 | "type": "shell", |
122 | | - "command": "${env:idf.pythonBinPath} ${env:idf.espIdfPath}/tools/idf.py -p ${env:idf.port} -b ${env:idf.flashBaudRate} flash", |
| 122 | + "command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py -p ${config:idf.port} -b ${config:idf.flashBaudRate} flash", |
123 | 123 | "windows": { |
124 | | - "command": "${env:idf.pythonBinPathWin} ${env:idf.espIdfPathWin}\\tools\\idf.py flash -p ${env:idf.portWin} -b ${env:idf.flashBaudRate}", |
| 124 | + "command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py flash -p ${config:idf.portWin} -b ${config:idf.flashBaudRate}", |
125 | 125 | "options": { |
126 | 126 | "env": { |
127 | | - "PATH": "${env:PATH};${env:idf.customExtraPaths}" |
| 127 | + "PATH": "${env:PATH};${config:idf.customExtraPaths}" |
128 | 128 | } |
129 | 129 | } |
130 | 130 | }, |
131 | 131 | "options": { |
132 | 132 | "env": { |
133 | | - "PATH": "${env:PATH}:${env:idf.customExtraPaths}" |
| 133 | + "PATH": "${env:PATH}:${config:idf.customExtraPaths}" |
134 | 134 | } |
135 | 135 | }, |
136 | 136 | "problemMatcher": [ |
|
166 | 166 | { |
167 | 167 | "label": "Monitor: Start the monitor", |
168 | 168 | "type": "shell", |
169 | | - "command": "${env:idf.pythonBinPath} ${env:idf.espIdfPath}/tools/idf.py -p ${env:idf.port} monitor", |
| 169 | + "command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py -p ${config:idf.port} monitor", |
170 | 170 | "windows": { |
171 | | - "command": "${env:idf.pythonBinPathWin} ${env:idf.espIdfPathWin}\\tools\\idf.py -p ${env:idf.portWin} monitor", |
| 171 | + "command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py -p ${config:idf.portWin} monitor", |
172 | 172 | "options": { |
173 | 173 | "env": { |
174 | | - "PATH": "${env:PATH};${env:idf.customExtraPaths}" |
| 174 | + "PATH": "${env:PATH};${config:idf.customExtraPaths}" |
175 | 175 | } |
176 | 176 | } |
177 | 177 | }, |
178 | 178 | "options": { |
179 | 179 | "env": { |
180 | | - "PATH": "${env:PATH}:${env:idf.customExtraPaths}" |
| 180 | + "PATH": "${env:PATH}:${config:idf.customExtraPaths}" |
181 | 181 | } |
182 | 182 | }, |
183 | 183 | "problemMatcher": [ |
|
225 | 225 | "command": "openocd.exe -s ${command:espIdf.getOpenOcdScriptValue} ${command:espIdf.getOpenOcdConfigs}", |
226 | 226 | "options": { |
227 | 227 | "env": { |
228 | | - "PATH": "${env:PATH};${env:idf.customExtraPaths}" |
| 228 | + "PATH": "${env:PATH};${config:idf.customExtraPaths}" |
229 | 229 | } |
230 | 230 | } |
231 | 231 | }, |
232 | 232 | "options": { |
233 | 233 | "env": { |
234 | | - "PATH": "${env:PATH}:${env:idf.customExtraPaths}" |
| 234 | + "PATH": "${env:PATH}:${config:idf.customExtraPaths}" |
235 | 235 | } |
236 | 236 | }, |
237 | 237 | "problemMatcher": { |
|
250 | 250 | { |
251 | 251 | "label": "adapter", |
252 | 252 | "type": "shell", |
253 | | - "command": "${env:idf.pythonBinPath}", |
| 253 | + "command": "${config:idf.pythonBinPath}", |
254 | 254 | "isBackground": true, |
255 | 255 | "options": { |
256 | 256 | "env": { |
257 | | - "PATH": "${env:PATH}:${env:idf.customExtraPaths}", |
| 257 | + "PATH": "${env:PATH}:${config:idf.customExtraPaths}", |
258 | 258 | "PYTHONPATH": "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter" |
259 | 259 | } |
260 | 260 | }, |
|
282 | 282 | "-ip", |
283 | 283 | "localhost", |
284 | 284 | "-dn", |
285 | | - "${env:idf.adapterTargetName}", |
| 285 | + "${config:idf.adapterTargetName}", |
286 | 286 | "-om", |
287 | 287 | "connect_to_instance" |
288 | 288 | ], |
289 | 289 | "windows": { |
290 | | - "command": "${env:idf.pythonBinPathWin}", |
| 290 | + "command": "${config:idf.pythonBinPathWin}", |
291 | 291 | "options": { |
292 | 292 | "env": { |
293 | | - "PATH": "${env:PATH};${env:idf.customExtraPaths}", |
| 293 | + "PATH": "${env:PATH};${config:idf.customExtraPaths}", |
294 | 294 | "PYTHONPATH": "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter" |
295 | 295 | } |
296 | 296 | } |
|
0 commit comments