Skip to content

Commit 73e070c

Browse files
committed
Include launch and task config
1 parent 9d1813b commit 73e070c

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.DS_Store
2-
.vscode
32
.rpt2_cache
43
node_modules
54
dist

.vscode/launch.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch Flash",
11+
"program": "${workspaceFolder}/examples/daplink-flash/usb.js",
12+
"args": [
13+
"binaries/microbit-green.hex"
14+
]
15+
},
16+
{
17+
"type": "node",
18+
"request": "launch",
19+
"name": "Launch Serial",
20+
"program": "${workspaceFolder}/examples/daplink-serial/usb.js"
21+
},
22+
{
23+
"type": "node",
24+
"request": "launch",
25+
"name": "Launch Registers",
26+
"program": "${workspaceFolder}/examples/read-registers/hid.js",
27+
"sourceMaps": true
28+
}
29+
]
30+
}

.vscode/tasks.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"group": {
10+
"kind": "build",
11+
"isDefault": true
12+
}
13+
}
14+
]
15+
}

0 commit comments

Comments
 (0)