2020-03-08 06:38:24 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"options": {
|
|
|
|
"env": {
|
2020-04-09 07:36:47 +00:00
|
|
|
// "APPLICATION": "blinky",
|
2020-03-26 05:45:43 +00:00
|
|
|
// "APPLICATION": "spi",
|
2020-03-30 09:45:29 +00:00
|
|
|
// "APPLICATION": "st7789_lcd",
|
2020-04-09 07:36:47 +00:00
|
|
|
"APPLICATION": "sys_tick",
|
|
|
|
"${BUILD_CMD}": "eval docker run --env PLATFORM=${PLATFORM} --env APPLICATION=${APPLICATION} -t --rm -v '${workspaceFolder}':/work --user $(id -u):$(id -g) arm-none-eabi.buildenv",
|
2020-03-08 06:38:24 +00:00
|
|
|
},
|
|
|
|
},
|
2020-04-09 07:36:47 +00:00
|
|
|
"presentation": {
|
|
|
|
"focus": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "shared",
|
|
|
|
"clear": true,
|
|
|
|
},
|
2020-03-08 06:38:24 +00:00
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "all",
|
|
|
|
"type":"shell",
|
2020-04-09 07:36:47 +00:00
|
|
|
"command": "${BUILD_CMD} make all -j8",
|
2020-03-08 06:38:24 +00:00
|
|
|
"problemMatcher": {
|
|
|
|
"base": "$gcc",
|
|
|
|
"owner": "gcc",
|
|
|
|
"fileLocation": [
|
|
|
|
"relative",
|
|
|
|
"${workspaceFolder}"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "flash",
|
|
|
|
"type":"shell",
|
|
|
|
"command": "make flash",
|
|
|
|
"problemMatcher": {
|
|
|
|
"base": "$gcc",
|
|
|
|
"owner": "gcc",
|
|
|
|
"fileLocation": [
|
|
|
|
"relative",
|
|
|
|
"${workspaceFolder}"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "clean",
|
|
|
|
"type":"shell",
|
2020-04-09 07:36:47 +00:00
|
|
|
"command": "${BUILD_CMD} make clean -j8",
|
2020-03-08 06:38:24 +00:00
|
|
|
"problemMatcher": {
|
|
|
|
"base": "$gcc",
|
|
|
|
"owner": "gcc",
|
|
|
|
"fileLocation": [
|
|
|
|
"relative",
|
|
|
|
"${workspaceFolder}"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "distclean",
|
|
|
|
"type":"shell",
|
2020-04-09 07:36:47 +00:00
|
|
|
"command": "${BUILD_CMD} make distclean",
|
2020-03-08 06:38:24 +00:00
|
|
|
"problemMatcher": {
|
|
|
|
"base": "$gcc",
|
|
|
|
"owner": "gcc",
|
|
|
|
"fileLocation": [
|
|
|
|
"relative",
|
|
|
|
"${workspaceFolder}"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2020-03-30 09:45:29 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "check",
|
|
|
|
"type":"shell",
|
|
|
|
"command": "make check",
|
|
|
|
"problemMatcher": {
|
|
|
|
"base": "$gcc",
|
|
|
|
"owner": "gcc",
|
|
|
|
"fileLocation": [
|
|
|
|
"relative",
|
|
|
|
"${workspaceFolder}"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2020-03-08 06:38:24 +00:00
|
|
|
}
|
2020-04-09 07:36:47 +00:00
|
|
|
]
|
2020-03-10 12:31:33 +00:00
|
|
|
}
|