96 lines
1.7 KiB
JSON
96 lines
1.7 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "West Build",
|
|
"type": "shell",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"linux": {
|
|
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
|
},
|
|
"windows": {
|
|
"command": "${userHome}/zephyrproject/.venv/Scripts/west.exe"
|
|
},
|
|
"osx": {
|
|
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
|
},
|
|
"args": [
|
|
"build",
|
|
"-p",
|
|
"auto",
|
|
"-b",
|
|
"valve_node"
|
|
],
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
},
|
|
{
|
|
"label": "West Configurable Build",
|
|
"type": "shell",
|
|
"group": {
|
|
"kind": "build",
|
|
},
|
|
"linux": {
|
|
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
|
},
|
|
"windows": {
|
|
"command": "${userHome}/zephyrproject/.venv/Scripts/west.exe"
|
|
},
|
|
"osx": {
|
|
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
|
},
|
|
"args": [
|
|
"build",
|
|
"-p",
|
|
"${input:pristine}",
|
|
"-b",
|
|
"${input:board}"
|
|
],
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
},
|
|
{
|
|
"label": "West Flash",
|
|
"type": "shell",
|
|
"linux": {
|
|
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
|
},
|
|
"windows": {
|
|
"command": "${userHome}/zephyrproject/.venv/Scripts/west.exe"
|
|
},
|
|
"osx": {
|
|
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
|
},
|
|
"args": [
|
|
"flash"
|
|
],
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "board",
|
|
"type": "promptString",
|
|
"default": "valve-node",
|
|
"description": "See https://docs.zephyrproject.org/latest/boards/index.html"
|
|
},
|
|
{
|
|
"id": "pristine",
|
|
"type": "pickString",
|
|
"description": "Choose when to run a pristine build",
|
|
"default": "auto",
|
|
"options": [
|
|
"auto",
|
|
"always",
|
|
"never"
|
|
]
|
|
}
|
|
]
|
|
} |