Compare commits

...

No commits in common. "d12b7aa9b0cdf4fa251341af10f35e0079c2e0cc" and "902c3c1715c82ee64a14d8a43dcc5ba50cca1428" have entirely different histories.

View File

@ -44,39 +44,74 @@ For Microsoft's open source visual studio code, the integration of how to invoke
```javascript
{
"version": "2.0.0",
"options": {
"env": {
"PLATFORM": "nrf52",
// "PLATFORM": "posix",
"APPLICATION": "blinky",
// "APPLICATION": "spi",
// "APPLICATION": "st7789_lcd",
"${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",
},
},
"presentation": {
"focus": true,
"reveal": "always",
"panel": "shared",
"clear": true,
},
"tasks": [
{
"label": "build-elf",
"command": "docker",
"args": ["run","--rm","-v","${workspaceRoot}/Tickless demo:/work","--user","1000:1001","arm-none-eabi.buildenv","make","-C","gcc","-j8"],
"type": "process",
{
"label": "all",
"type":"shell",
"command": "${BUILD_CMD} make all -j8",
"problemMatcher": {
"base": "$gcc",
"owner": "gcc",
"fileLocation": [
"relative",
"${workspaceFolder}"
]
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": {
"base": "$gcc",
"fileLocation": ["relative", "${workspaceRoot}/Tickless demo/gcc"],
},
"runOptions": {
"reveal":"always",
"focus":false,
}
},
{
"label": "build-elf-clean",
"command": "docker",
"args": ["run","--rm","-v","${workspaceRoot}/Tickless demo:/work","--user","1000:1001","arm-none-eabi.buildenv","make","-C","gcc","-j8","clean"],
"type": "process",
"label": "clean",
"type":"shell",
"command": "${BUILD_CMD} make clean -j8",
"problemMatcher": {
"base": "$gcc",
"owner": "gcc",
"fileLocation": [
"relative",
"${workspaceFolder}"
]
},
"group": {
"kind": "build",
"isDefault": true
},
}
},
{
"label": "distclean",
"type":"shell",
"command": "${BUILD_CMD} make distclean",
"problemMatcher": {
"base": "$gcc",
"fileLocation": ["relative", "${workspaceRoot}/Tickless demo/gcc"],
"owner": "gcc",
"fileLocation": [
"relative",
"${workspaceFolder}"
]
},
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
```