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 ```javascript
{ {
"version": "2.0.0", "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": [ "tasks": [
{ {
"label": "build-elf", "label": "all",
"command": "docker", "type":"shell",
"args": ["run","--rm","-v","${workspaceRoot}/Tickless demo:/work","--user","1000:1001","arm-none-eabi.buildenv","make","-C","gcc","-j8"], "command": "${BUILD_CMD} make all -j8",
"type": "process", "problemMatcher": {
"base": "$gcc",
"owner": "gcc",
"fileLocation": [
"relative",
"${workspaceFolder}"
]
},
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
},
"problemMatcher": {
"base": "$gcc",
"fileLocation": ["relative", "${workspaceRoot}/Tickless demo/gcc"],
},
"runOptions": {
"reveal":"always",
"focus":false,
} }
}, },
{ {
"label": "build-elf-clean", "label": "clean",
"command": "docker", "type":"shell",
"args": ["run","--rm","-v","${workspaceRoot}/Tickless demo:/work","--user","1000:1001","arm-none-eabi.buildenv","make","-C","gcc","-j8","clean"], "command": "${BUILD_CMD} make clean -j8",
"type": "process", "problemMatcher": {
"base": "$gcc",
"owner": "gcc",
"fileLocation": [
"relative",
"${workspaceFolder}"
]
},
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
}
}, },
{
"label": "distclean",
"type":"shell",
"command": "${BUILD_CMD} make distclean",
"problemMatcher": { "problemMatcher": {
"base": "$gcc", "base": "$gcc",
"fileLocation": ["relative", "${workspaceRoot}/Tickless demo/gcc"], "owner": "gcc",
}, "fileLocation": [
"relative",
"${workspaceFolder}"
]
}, },
"group": {
"kind": "build",
"isDefault": true
}
}
] ]
} }
``` ```