Skip to content

Commit

Permalink
added program DFU task, and updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhensley committed Jun 27, 2023
1 parent dc437f3 commit e0caed5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@
"problemMatcher": [],
"type": "shell"
},
{
"label": "Program-DFU",
"command": "make program-dfu",
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [],
"type": "shell"
},
// BasicExample Tasks
{
"label": "BasicExample - Build",
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Includes:
* SimpleSwitchReading - Example demonstrating reading the position of a toggle.

When you have the Makefile, or a source file within an examples folder open, you can run the "Build task" with "ctrl-shift-B" on windows, or "cmd-shift-B" on Mac OS, and that will compile the selected example.
A similar, generic set of tasks for "Clean" and "Program DFU" are also available for the selected example.

For each of these examples, there are the following VS code tasks:

Expand Down

0 comments on commit e0caed5

Please sign in to comment.