diff --git a/rust/serial_reader/.vscode/launch.json b/.vscode/launch.json similarity index 92% rename from rust/serial_reader/.vscode/launch.json rename to .vscode/launch.json index d89ce87..f6417e5 100644 --- a/rust/serial_reader/.vscode/launch.json +++ b/.vscode/launch.json @@ -20,7 +20,7 @@ } }, "args": [], - "cwd": "${workspaceFolder}" + "cwd": "${workspaceFolder}/rust/serial_reader" } ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..1833db6 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,17 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "cargo", + "command": "run", + "problemMatcher": [ + "$rustc" + ], + "group": "build", + "label": "Pico: cargo run", + "options": { + "cwd": "rust/pico" + } + }, + ] +} \ No newline at end of file diff --git a/rust/pico/.vscode/settings.json b/rust/pico/.vscode/settings.json deleted file mode 100644 index 1637839..0000000 --- a/rust/pico/.vscode/settings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "rust-analyzer.cargo.target": "thumbv6m-none-eabi", - "rust-analyzer.checkOnSave.allTargets": false, - "workbench.colorCustomizations": { - "activityBar.background": "#43261A", - "titleBar.activeBackground": "#5E3524", - "titleBar.activeForeground": "#FCF9F8" - } -} \ No newline at end of file diff --git a/rust/pico/.vscode/tasks.json b/rust/pico/.vscode/tasks.json deleted file mode 100644 index 07196d4..0000000 --- a/rust/pico/.vscode/tasks.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "type": "cargo", - "command": "build", - "problemMatcher": [ - "$rustc" - ], - "group": "build", - "label": "rust: cargo build" - }, - { - "type": "cargo", - "command": "run", - "problemMatcher": [ - "$rustc" - ], - "group": "build", - "label": "rust: cargo run" - } - ] -} \ No newline at end of file diff --git a/rust/serial_reader/.vscode/settings.json b/rust/serial_reader/.vscode/settings.json deleted file mode 100644 index f5d81bc..0000000 --- a/rust/serial_reader/.vscode/settings.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "workbench.colorCustomizations": { - "activityBar.background": "#083144", - "titleBar.activeBackground": "#0B4560", - "titleBar.activeForeground": "#F5FBFE" - } -} \ No newline at end of file