|
1 | 1 | { |
2 | | - "version": "2.0.0", |
3 | | - "tasks": [ |
4 | | - { |
5 | | - "label": "Start Debug Server for Simulator on emulated arch", |
6 | | - "type": "shell", |
7 | | - "command": "ROSETTA_DEBUGSERVER_PORT=1234 ./out/build/latest.elf", |
8 | | - "problemMatcher": [], |
9 | | - "isBackground": true |
10 | | - }, |
11 | | - // { |
12 | | - // "label": "Pre-flash check", |
13 | | - // "type": "shell", |
14 | | - // "command": "${workspaceFolder}/virtual/bin/python", |
15 | | - // "windows": { |
16 | | - // "command": "${workspaceFolder}/virtual/Scripts/python" |
17 | | - // }, |
18 | | - // "args": [ |
19 | | - // "${workspaceFolder}/tools/preflash_check.py" |
20 | | - // ], |
21 | | - // "problemMatcher": [], |
22 | | - // "presentation": { |
23 | | - // "reveal": "always", |
24 | | - // "panel": "shared" |
25 | | - // } |
26 | | - // }, |
27 | | - { |
28 | | - "label": "CMake: build then pre-flash check", |
29 | | - "dependsOn": ["CMake: build", "Pre-flash check"], |
30 | | - "dependsOrder": "sequence", |
31 | | - "problemMatcher": [] |
32 | | - } |
33 | | - ] |
34 | | - } |
| 2 | + "version": "2.0.0", |
| 3 | + "tasks": [ |
| 4 | + { |
| 5 | + "label": "Start Debug Server for Simulator on emulated arch", |
| 6 | + "type": "shell", |
| 7 | + "command": "ROSETTA_DEBUGSERVER_PORT=1234 ./out/build/latest.elf", |
| 8 | + "problemMatcher": [], |
| 9 | + "isBackground": true |
| 10 | + }, |
| 11 | + { |
| 12 | + "label": "Tests: Configure simulator", |
| 13 | + "type": "shell", |
| 14 | + "command": "cmake --preset simulator", |
| 15 | + "problemMatcher": [] |
| 16 | + }, |
| 17 | + { |
| 18 | + "label": "Tests: Build simulator", |
| 19 | + "type": "shell", |
| 20 | + "command": "cmake --build --preset simulator -j8", |
| 21 | + "dependsOn": [ |
| 22 | + "Tests: Configure simulator" |
| 23 | + ], |
| 24 | + "problemMatcher": [] |
| 25 | + }, |
| 26 | + { |
| 27 | + "label": "Tests: Run all (simulator)", |
| 28 | + "type": "shell", |
| 29 | + "command": "ctest --test-dir out/build/simulator/deps/ST-LIB --output-on-failure", |
| 30 | + "dependsOn": [ |
| 31 | + "Tests: Build simulator" |
| 32 | + ], |
| 33 | + "problemMatcher": [] |
| 34 | + }, |
| 35 | + { |
| 36 | + "label": "Tests: Run ADC (simulator)", |
| 37 | + "type": "shell", |
| 38 | + "command": "ctest --test-dir out/build/simulator/deps/ST-LIB -R ADCTest --output-on-failure", |
| 39 | + "dependsOn": [ |
| 40 | + "Tests: Build simulator" |
| 41 | + ], |
| 42 | + "problemMatcher": [] |
| 43 | + } |
| 44 | + ] |
| 45 | +} |
0 commit comments