Skip to content

Commit 6527072

Browse files
Update VSCode tasks.json.
1 parent 66b51bb commit 6527072

File tree

2 files changed

+21
-32
lines changed

2 files changed

+21
-32
lines changed

.vscode/tasks.json

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,26 @@
11
{
22
// See https://go.microsoft.com/fwlink/?LinkId=733558
33
// for the documentation about the tasks.json format
4-
"version": "0.1.0",
5-
"name": "make",
6-
"isShellCommand": true,
7-
"showOutput": "always",
8-
"problemMatcher": {
9-
"owner": "cpp",
10-
"fileLocation": ["relative", "${workspaceRoot}/mbed-os"],
11-
"pattern": {
12-
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
13-
"file": 1,
14-
"line": 2,
15-
"column": 3,
16-
"severity": 4,
17-
"message": 5
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "build",
8+
"command": "mbed",
9+
"args": [
10+
"compile"
11+
],
12+
"problemMatcher": {
13+
"owner": "cpp",
14+
"fileLocation": ["relative", "${workspaceRoot}/mbed-os"],
15+
"pattern": {
16+
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
17+
"file": 1,
18+
"line": 2,
19+
"column": 3,
20+
"severity": 4,
21+
"message": 5
22+
}
23+
}
1824
}
19-
},
20-
"args": ["-j"],
21-
"linux": {
22-
"command": "make"
23-
},
24-
"osx": {
25-
"command": "make"
26-
},
27-
"windows": {
28-
"command": "make.exe"
29-
}
25+
]
3026
}

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,6 @@ mbed_app.json:
142142
```
143143

144144

145-
## Visual Studio Code
146-
147-
At the moment we have the default config files from the Mbed online compiler
148-
project exporter. These are using removed `make` and have to be updated to use
149-
`mbed-cli`.
150-
151-
152145
## Using NFC
153146

154147
The Mbed board target created for the micro:bit configures the NFC pins as GPIO

0 commit comments

Comments
 (0)