Add VSCode configuration files for build and debugging tasks

This commit is contained in:
Léo Le Sommer 2026-01-30 12:27:35 +01:00
parent ccfa5566d1
commit daf410ec7e
2 changed files with 97 additions and 0 deletions

36
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,36 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build: Release",
"type": "shell",
"command": "arduino-cli compile --fqbn esp32:esp32:esp32s3box --build-property \"build.partitions=default_16MB\" --output-dir ./build/release .",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": []
},
{
"label": "Build: Debug",
"type": "shell",
"command": "arduino-cli compile --fqbn esp32:esp32:esp32s3box --build-property \"build.partitions=default_16MB\" --build-property \"build.code_debug=5\" --output-dir ./build/debug .",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": []
},
{
"label": "Clean Build Folders",
"type": "shell",
"command": "rm -rf ./build",
"problemMatcher": []
}
]
}