2020-11-11 17:36:15 -08:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
2024-03-20 11:20:31 -07:00
|
|
|
{
|
|
|
|
"label": "Clean Firmware",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "make clean",
|
|
|
|
"windows": {
|
|
|
|
"command": "wsl bash -lc 'make clean'"
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}/firmware"
|
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2020-11-11 17:36:15 -08:00
|
|
|
{
|
2021-06-03 22:34:49 -07:00
|
|
|
"label": "Build Firmware (Proteus F4)",
|
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_proteus_f4.sh",
|
2021-06-03 22:34:49 -07:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_proteus_f4.sh'"
|
2021-05-09 06:17:44 -07:00
|
|
|
},
|
2021-06-03 22:34:49 -07:00
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/proteus"
|
2021-06-03 22:34:49 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2021-02-24 12:02:17 -08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:34:49 -07:00
|
|
|
"label": "Build Firmware (Proteus F7)",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "make -j16 PROJECT_BOARD=proteus PROJECT_CPU=ARCH_STM32F7",
|
2021-05-09 06:17:44 -07:00
|
|
|
"windows": {
|
|
|
|
"command": "wsl bash -lc 'make -j12 PROJECT_BOARD=proteus PROJECT_CPU=ARCH_STM32F7'"
|
|
|
|
},
|
2021-06-03 22:34:49 -07:00
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/proteus"
|
2021-06-03 22:34:49 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2021-02-24 12:02:17 -08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:34:49 -07:00
|
|
|
"label": "Build Firmware (Proteus H7) EXPERIMENTAL",
|
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_proteus_h7.sh",
|
2021-05-09 06:17:44 -07:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_proteus_h7.sh'"
|
2021-05-09 06:17:44 -07:00
|
|
|
},
|
2021-06-03 22:34:49 -07:00
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/proteus"
|
2021-06-03 22:34:49 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2021-02-24 12:02:17 -08:00
|
|
|
},
|
2022-10-19 21:59:39 -07:00
|
|
|
{
|
|
|
|
"label": "Build Firmware (Nucleo F429)",
|
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_stm32f429_nucleo.sh",
|
2022-10-19 21:59:39 -07:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_stm32f429_nucleo.sh'"
|
2022-10-19 21:59:39 -07:00
|
|
|
},
|
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/nucleo_f429"
|
2022-10-19 21:59:39 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build Firmware (Nucleo H743)",
|
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_stm32h743_nucleo.sh",
|
2022-10-19 21:59:39 -07:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_stm32h743_nucleo.sh'"
|
2022-10-19 21:59:39 -07:00
|
|
|
},
|
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/nucleo_h743"
|
2022-10-19 21:59:39 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-10-16 09:31:53 -07:00
|
|
|
{
|
|
|
|
"label": "Build Firmware (Atlas H7)",
|
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_atlas.sh",
|
2021-10-16 09:31:53 -07:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_atlas.sh'"
|
2021-10-16 09:31:53 -07:00
|
|
|
},
|
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/atlas"
|
2021-10-16 09:31:53 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-02-24 12:02:17 -08:00
|
|
|
{
|
2021-06-03 22:34:49 -07:00
|
|
|
"label": "Build Firmware (hellen72)",
|
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_hellen72.sh",
|
2021-05-09 06:17:44 -07:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_hellen72.sh'"
|
2021-05-09 06:17:44 -07:00
|
|
|
},
|
2021-06-03 22:34:49 -07:00
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/hellen/hellen72"
|
2021-06-03 22:34:49 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2020-11-11 17:36:15 -08:00
|
|
|
},
|
2022-10-19 21:59:39 -07:00
|
|
|
{
|
2023-03-16 17:00:52 -07:00
|
|
|
"label": "Build Firmware (Hellen NB1)",
|
2022-10-19 21:59:39 -07:00
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_hellen-nb1.sh",
|
2022-10-19 21:59:39 -07:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_hellen-nb1.sh'"
|
2022-10-19 21:59:39 -07:00
|
|
|
},
|
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/hellen/hellen-nb1"
|
2022-10-19 21:59:39 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2020-11-11 17:36:15 -08:00
|
|
|
{
|
2021-06-03 22:34:49 -07:00
|
|
|
"label": "Build Firmware (microRusEfi F4)",
|
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_mre_f4.sh",
|
2021-05-09 06:17:44 -07:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_mre_f4.sh'"
|
2021-05-09 06:17:44 -07:00
|
|
|
},
|
2021-06-03 22:34:49 -07:00
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/microrusefi"
|
2021-06-03 22:34:49 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2021-02-24 12:02:17 -08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:34:49 -07:00
|
|
|
"label": "Build Firmware (microRusEfi F7)",
|
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_mre_f7.sh",
|
2022-05-17 20:49:18 -07:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_mre_f7.sh'"
|
2022-05-17 20:49:18 -07:00
|
|
|
},
|
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/microrusefi"
|
2022-05-17 20:49:18 -07:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2024-01-30 02:38:27 -08:00
|
|
|
{
|
|
|
|
"label": "Build Firmware (F407 \"basic\")",
|
|
|
|
"type": "shell",
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "bash ./compile_f407-discovery.sh",
|
2024-01-30 02:38:27 -08:00
|
|
|
"windows": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"command": "wsl bash -lc 'bash ./compile_f407-discovery.sh'"
|
2024-01-30 02:38:27 -08:00
|
|
|
},
|
|
|
|
"options": {
|
2024-03-20 02:05:16 -07:00
|
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/f407-discovery"
|
2024-01-30 02:38:27 -08:00
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-06-03 22:34:49 -07:00
|
|
|
{
|
|
|
|
"label": "Build Unit Tests",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "make -j12",
|
|
|
|
"windows": {
|
|
|
|
"command": "wsl make -j12"
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}/unit_tests"
|
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2020-11-11 17:36:15 -08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:34:49 -07:00
|
|
|
"label": "Build Simulator",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "make -j12",
|
2021-05-09 06:17:44 -07:00
|
|
|
"windows": {
|
|
|
|
"command": "wsl make -j12"
|
|
|
|
},
|
2021-06-03 22:34:49 -07:00
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}/simulator"
|
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
}
|
2020-11-11 17:36:15 -08:00
|
|
|
]
|
|
|
|
}
|