44 lines
1001 B
JSON
44 lines
1001 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Check MCU memory usage",
|
|
"type": "shell",
|
|
"command": "echo",
|
|
"args": ["Hello, world!"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"reveal": "silent",
|
|
"panel": "shared"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
// {
|
|
// "version": "2.0.0",
|
|
// "tasks": [
|
|
// {
|
|
// "label": "Check MCU memory usage",
|
|
// "type": "shell",
|
|
// "command": "bash",
|
|
// "args": [
|
|
// "-c",
|
|
// "echo 'Running size command'; size build/your_project.elf | tail -n 1 | awk '{text=$1; data=$2; total=262144; used=text+data; printf \"Flash used: %.2f%%\\n\", (used/total)*100}'"
|
|
// ],
|
|
// "group": {
|
|
// "kind": "build",
|
|
// "isDefault": false
|
|
// },
|
|
// "problemMatcher": [],
|
|
// "presentation": {
|
|
// "reveal": "silent",
|
|
// "panel": "shared"
|
|
// }
|
|
// }
|
|
// ]
|
|
// }
|