Skip to content
Snippets Groups Projects
Commit 320101f4 authored by Per's avatar Per
Browse files

launch

parent be16be5f
Branches svd2rust0.12
No related tags found
No related merge requests found
...@@ -4,50 +4,17 @@ ...@@ -4,50 +4,17 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "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", "type": "gdb",
"request": "attach", "request": "attach",
"name": "Debug hello", "name": "Debug hello",
"gdbpath": "/usr/bin/arm-none-eabi-gdb", "gdbpath": "/usr/bin/arm-none-eabi-gdb",
//"executable": "./target/thumbv7em-none-eabihf/debug/nucleo", "executable": "./target/thumbv7em-none-eabihf/debug/examples/hello",
"target": ":3333", "target": ":3333",
"remote": true, "remote": true,
"autorun": [ "autorun": [
"monitor reset init", "monitor reset init",
"monitor arm semihosting enable", "monitor arm semihosting enable",
"file ./target/thumbv7em-none-eabihf/debug/examples/hello",
"load" "load"
], ],
"cwd": "${workspaceRoot}" "cwd": "${workspaceRoot}"
...@@ -57,13 +24,12 @@ ...@@ -57,13 +24,12 @@
"request": "attach", "request": "attach",
"name": "Debug crash", "name": "Debug crash",
"gdbpath": "/usr/bin/arm-none-eabi-gdb", "gdbpath": "/usr/bin/arm-none-eabi-gdb",
//"executable": "./target/thumbv7em-none-eabihf/debug/nucleo", "executable": "./target/thumbv7em-none-eabihf/debug/examples/crash",
"target": ":3333", "target": ":3333",
"remote": true, "remote": true,
"autorun": [ "autorun": [
"monitor reset init", "monitor reset init",
"monitor arm semihosting enable", "monitor arm semihosting enable",
"file ./target/thumbv7em-none-eabihf/debug/examples/crash",
"load" "load"
], ],
"cwd": "${workspaceRoot}" "cwd": "${workspaceRoot}"
...@@ -90,13 +56,12 @@ ...@@ -90,13 +56,12 @@
"request": "attach", "request": "attach",
"name": "Debug override", "name": "Debug override",
"gdbpath": "/usr/bin/arm-none-eabi-gdb", "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", "target": ":3333",
"remote": true, "remote": true,
"autorun": [ "autorun": [
"monitor reset init", "monitor reset init",
"monitor arm semihosting enable", "monitor arm semihosting enable",
"file ./target/thumbv7em-none-eabihf/debug/examples/override-exception-handler",
"load" "load"
], ],
"cwd": "${workspaceRoot}" "cwd": "${workspaceRoot}"
...@@ -106,13 +71,12 @@ ...@@ -106,13 +71,12 @@
"request": "attach", "request": "attach",
"name": "Debug panic", "name": "Debug panic",
"gdbpath": "/usr/bin/arm-none-eabi-gdb", "gdbpath": "/usr/bin/arm-none-eabi-gdb",
//"executable": "./target/thumbv7em-none-eabihf/debug/nucleo", "executable": "./target/thumbv7em-none-eabihf/debug/examples/panic",
"target": ":3333", "target": ":3333",
"remote": true, "remote": true,
"autorun": [ "autorun": [
"monitor reset init", "monitor reset init",
"monitor arm semihosting enable", "monitor arm semihosting enable",
"file ./target/thumbv7em-none-eabihf/debug/examples/panic",
"load" "load"
], ],
"cwd": "${workspaceRoot}" "cwd": "${workspaceRoot}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment