diff --git a/examples/.vscode/launch.json b/examples/.vscode/launch.json new file mode 100644 index 0000000000000000000000000000000000000000..5af8528b6d7129513e0382c35f6a08cf6528a860 --- /dev/null +++ b/examples/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + // 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": [ + + { + "cwd": "${workspaceRoot}", + "executable": "./bin/executable.elf", + "name": "Debug Microcontroller", + "request": "launch", + "type": "cortex-debug", + "servertype": "openocd" + }, + { + "cwd": "${workspaceRoot}", + "executable": "./bin/executable.elf", + "name": "Debug Microcontroller", + "request": "launch", + "type": "cortex-debug", + "servertype": "jlink" + } + ] +} \ No newline at end of file diff --git a/examples/.vscode/tasks.json b/examples/.vscode/tasks.json new file mode 100644 index 0000000000000000000000000000000000000000..f1a2d8f2804d0fe470054256980056b2ba81db24 --- /dev/null +++ b/examples/.vscode/tasks.json @@ -0,0 +1,17 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "cargo", + "command": "build", + "problemMatcher": [ + "$rustc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "label": "rust: cargo build" + } + ] +} \ No newline at end of file