diff --git a/.vscode/tasks.json b/.vscode/tasks.json index fe3d38d..14607e8 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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", diff --git a/README.md b/README.md index c6a86de..3e5b6a7 100644 --- a/README.md +++ b/README.md @@ -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: