Skip to content

Commit

Permalink
Include launch and task config
Browse files Browse the repository at this point in the history
  • Loading branch information
thegecko committed Jan 4, 2020
1 parent 9d1813b commit 73e070c
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.DS_Store
.vscode
.rpt2_cache
node_modules
dist
Expand Down
30 changes: 30 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Flash",
"program": "${workspaceFolder}/examples/daplink-flash/usb.js",
"args": [
"binaries/microbit-green.hex"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch Serial",
"program": "${workspaceFolder}/examples/daplink-serial/usb.js"
},
{
"type": "node",
"request": "launch",
"name": "Launch Registers",
"program": "${workspaceFolder}/examples/read-registers/hid.js",
"sourceMaps": true
}
]
}
15 changes: 15 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

0 comments on commit 73e070c

Please sign in to comment.