48 lines
798 B
JSON
48 lines
798 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "rust: cargo build",
|
|
"type": "cargo",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/acid-firmware",
|
|
"env": {
|
|
"ESP_LOG": "info"
|
|
}
|
|
},
|
|
"command": "build",
|
|
"args": [
|
|
"--no-default-features", "--features=probe"
|
|
],
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
},
|
|
{
|
|
"label": "rust: cargo build --release",
|
|
"type": "cargo",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/acid-firmware",
|
|
"env": {
|
|
"ESP_LOG": "info"
|
|
}
|
|
},
|
|
"command": "build",
|
|
"args": [
|
|
"--release", "--no-default-features", "--features=probe"
|
|
],
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
}
|
|
]
|
|
}
|