build task

This commit is contained in:
2025-08-20 12:03:39 +02:00
parent 141a748d65
commit 29fda7b937
4 changed files with 39 additions and 3 deletions

21
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build and Show Memory Info",
"type": "shell",
"command": "cmake --build build && avr-size --format=avr --mcu=attiny202 build/main.elf",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": ["$gcc"],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
}
}
]
}