mirror of https://github.com/FOME-Tech/fome-fw.git
231 lines
5.1 KiB
JSON
231 lines
5.1 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (Proteus F4)",
|
|
"type": "shell",
|
|
"command": "bash ./compile_proteus_f4.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_proteus_f4.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/proteus"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (Proteus F7)",
|
|
"type": "shell",
|
|
"command": "make -j16 PROJECT_BOARD=proteus PROJECT_CPU=ARCH_STM32F7",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'make -j12 PROJECT_BOARD=proteus PROJECT_CPU=ARCH_STM32F7'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/proteus"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (Proteus H7) EXPERIMENTAL",
|
|
"type": "shell",
|
|
"command": "bash ./compile_proteus_h7.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_proteus_h7.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/proteus"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (Nucleo F429)",
|
|
"type": "shell",
|
|
"command": "bash ./compile_stm32f429_nucleo.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_stm32f429_nucleo.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/nucleo_f429"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (Nucleo H743)",
|
|
"type": "shell",
|
|
"command": "bash ./compile_stm32h743_nucleo.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_stm32h743_nucleo.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/nucleo_h743"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (Atlas H7)",
|
|
"type": "shell",
|
|
"command": "bash ./compile_atlas.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_atlas.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/atlas"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (hellen72)",
|
|
"type": "shell",
|
|
"command": "bash ./compile_hellen72.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_hellen72.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/hellen/hellen72"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (Hellen NB1)",
|
|
"type": "shell",
|
|
"command": "bash ./compile_hellen-nb1.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_hellen-nb1.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/hellen/hellen-nb1"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (microRusEfi F4)",
|
|
"type": "shell",
|
|
"command": "bash ./compile_mre_f4.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_mre_f4.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/microrusefi"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (microRusEfi F7)",
|
|
"type": "shell",
|
|
"command": "bash ./compile_mre_f7.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_mre_f7.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/microrusefi"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Firmware (F407 \"basic\")",
|
|
"type": "shell",
|
|
"command": "bash ./compile_f407-discovery.sh",
|
|
"windows": {
|
|
"command": "wsl bash -lc 'bash ./compile_f407-discovery.sh'"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/firmware/config/boards/f407-discovery"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Simulator",
|
|
"type": "shell",
|
|
"command": "make -j12",
|
|
"windows": {
|
|
"command": "wsl make -j12"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/simulator"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
}
|
|
]
|
|
} |