diff --git a/.vscode/launch.json b/.vscode/launch.json index b12207461576a50233c7a6495b85f3931a4e8bc6..d78df7ad333dbd853e08541c68836227eaaf0831 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -78,28 +78,6 @@ }, "executable": "./target/thumbv7em-none-eabihf/release/examples/${fileBasenameNoExtension}", "cpu": "cortex-m4", - }, - { - "type": "cortex-debug", - "request": "launch", - "name": "Cortex Nightly", - "servertype": "openocd", - "cwd": "${workspaceRoot}", - "preLaunchTask": "cargo build --example --release --nightly", - "runToMain": true, - "svdFile": "${workspaceRoot}/.vscode/STM32F401.svd", - "configFiles": [ - "interface/stlink-v2-1.cfg", - "target/stm32f4x.cfg" - ], - "preRestartCommands": [ - "load", - ], - "postLaunchCommands": [ - "monitor arm semihosting enable" - ], - "executable": "./target/thumbv7em-none-eabihf/release/examples/${fileBasenameNoExtension}", - "cpu": "cortex-m4", - }, + } ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 774d4cffe8eda625e07755b0b09f5c0d1a8d12fb..00cee24c826646cc16cc3e8b7afc448c2c6132c2 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,31 +4,31 @@ "version": "2.0.0", "tasks": [ { - "type": "cargo", - "command": "build --example ${fileBasenameNoExtension}", - "problemMatcher": [ - "$rustc" + "label": "cargo build --example", + "command": "cargo", + "args": [ + "build", + "--example", + "${fileBasenameNoExtension}" ], - "group": "build", - "label": "cargo build --example" - }, - { - "type": "cargo", - "command": "build --example ${fileBasenameNoExtension} --release", "problemMatcher": [ "$rustc" ], "group": "build", - "label": "cargo build --example --release" }, { - "type": "cargo", - "command": "build --example ${fileBasenameNoExtension} --release --features nightly", + "label": "cargo build --example --release", + "command": "cargo", + "args": [ + "build", + "--example", + "${fileBasenameNoExtension}", + "--release" + ], "problemMatcher": [ "$rustc" ], "group": "build", - "label": "cargo build --example --release --nightly" - } + }, ] } \ No newline at end of file