Source-only snapshot of the 1.2 release. Drivers/ (the vendored ST HAL and CMSIS) is excluded at 173 MB; fetch it from STMicroelectronics/STM32CubeH5 to build.
65 lines
1.2 KiB
JSON
65 lines
1.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "CubeProg: Flash project (SWD)",
|
|
"command": "cube",
|
|
"args": [
|
|
"programmer",
|
|
"--connect",
|
|
"port=swd",
|
|
"--download",
|
|
"${command:cmake.launchTargetPath}",
|
|
"-hardRst",
|
|
"-rst",
|
|
"--start"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"showReuseMessage": false
|
|
}
|
|
},
|
|
{
|
|
"label": "Build + Flash",
|
|
"dependsOrder": "sequence",
|
|
"dependsOn": [
|
|
"CMake: clean rebuild",
|
|
"CubeProg: Flash project (SWD)"
|
|
],
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"presentation": {
|
|
"showReuseMessage": false
|
|
}
|
|
},
|
|
{
|
|
"type": "cmake",
|
|
"label": "CMake: clean rebuild",
|
|
"command": "cleanRebuild",
|
|
"targets": [
|
|
"all"
|
|
],
|
|
"preset": "Debug",
|
|
"group": "build",
|
|
"problemMatcher": [],
|
|
"detail": "CMake template clean rebuild task"
|
|
},
|
|
{
|
|
"type": "cmake",
|
|
"label": "CMake: configure",
|
|
"command": "configure",
|
|
"preset": "Debug",
|
|
"problemMatcher": [],
|
|
"detail": "CMake template configure task"
|
|
},
|
|
{
|
|
"label": "Configure and Build",
|
|
"dependsOn": ["CMake: configure", "${command:st-stm32-ide-debug-launch.build}"],
|
|
"dependsOrder": "sequence"}
|
|
]
|
|
} |