diff --git a/.vscode/launch.json b/.vscode/launch.json index 2dd8ce1d3d5b92fb2ed46462cbfc04826147dff4..25d067d9ddfbc90b7cba4d2bdf35305f67e2f6d4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,50 +4,17 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ - { - "type": "gdb", - "request": "attach", - "name": "Release", - "gdbpath": "/usr/bin/arm-none-eabi-gdb", - //"executable": "./target/thumbv7em-none-eabihf/release/nucleo", - "target": ":3333", - "remote": true, - "autorun": [ - "monitor arm semihosting enable", - "monitor reset init", - "file ./target/thumbv7em-none-eabihf/release/nucleo", - "load" - ], - "cwd": "${workspaceRoot}" - }, - { - "type": "gdb", - "request": "attach", - "name": "Debug", - "gdbpath": "/usr/bin/arm-none-eabi-gdb", - //"executable": "./target/thumbv7em-none-eabihf/debug/nucleo", - "target": ":3333", - "remote": true, - "autorun": [ - "monitor reset init", - "monitor arm semihosting enable", - "file ./target/thumbv7em-none-eabihf/debug/nucleo", - "load" - ], - "cwd": "${workspaceRoot}" - }, { "type": "gdb", "request": "attach", "name": "Debug hello", "gdbpath": "/usr/bin/arm-none-eabi-gdb", - //"executable": "./target/thumbv7em-none-eabihf/debug/nucleo", + "executable": "./target/thumbv7em-none-eabihf/debug/examples/hello", "target": ":3333", "remote": true, "autorun": [ "monitor reset init", "monitor arm semihosting enable", - "file ./target/thumbv7em-none-eabihf/debug/examples/hello", "load" ], "cwd": "${workspaceRoot}" @@ -57,13 +24,12 @@ "request": "attach", "name": "Debug crash", "gdbpath": "/usr/bin/arm-none-eabi-gdb", - //"executable": "./target/thumbv7em-none-eabihf/debug/nucleo", + "executable": "./target/thumbv7em-none-eabihf/debug/examples/crash", "target": ":3333", "remote": true, "autorun": [ "monitor reset init", "monitor arm semihosting enable", - "file ./target/thumbv7em-none-eabihf/debug/examples/crash", "load" ], "cwd": "${workspaceRoot}" @@ -90,13 +56,12 @@ "request": "attach", "name": "Debug override", "gdbpath": "/usr/bin/arm-none-eabi-gdb", - //"executable": "./target/thumbv7em-none-eabihf/debug/nucleo", + "executable": "./target/thumbv7em-none-eabihf/debug/examples/override-exception-handler", "target": ":3333", "remote": true, "autorun": [ "monitor reset init", "monitor arm semihosting enable", - "file ./target/thumbv7em-none-eabihf/debug/examples/override-exception-handler", "load" ], "cwd": "${workspaceRoot}" @@ -106,13 +71,12 @@ "request": "attach", "name": "Debug panic", "gdbpath": "/usr/bin/arm-none-eabi-gdb", - //"executable": "./target/thumbv7em-none-eabihf/debug/nucleo", + "executable": "./target/thumbv7em-none-eabihf/debug/examples/panic", "target": ":3333", "remote": true, "autorun": [ "monitor reset init", "monitor arm semihosting enable", - "file ./target/thumbv7em-none-eabihf/debug/examples/panic", "load" ], "cwd": "${workspaceRoot}"