Select Git revision
launch.json
Forked from
Per Lindgren / stm32f4-hal
Source project has a limited visibility.
launch.json 5.03 KiB
{
// 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": [
// {
// "type": "gdb",
// "request": "attach",
// "name": "hello_debug",
// "gdbpath": "/usr/bin/arm-none-eabi-gdb",
// "executable": "./target/thumbv7em-none-eabihf/debug/examples/hello_debug",
// "target": ":3333",
// "remote": true,
// "autorun": [
// "load",
// ],
// "cwd": "${workspaceRoot}"
// },
// {
// "type": "gdb",
// "request": "attach",
// "name": "serial-echo",
// "gdbpath": "/usr/bin/arm-none-eabi-gdb",
// "executable": "./target/thumbv7em-none-eabihf/debug/examples/serial-echo",
// "target": ":3333",
// "remote": true,
// "autorun": [
// "load"
// ],
// "cwd": "${workspaceRoot}"
// },
// {
// "type": "gdb",
// "request": "attach",
// "name": "rtfm-blinky-systic",
// "gdbpath": "/usr/bin/arm-none-eabi-gdb",
// "executable": "./target/thumbv7em-none-eabihf/debug/examples/rtfm-blinky-systic",
// "target": ":3333",
// "remote": true,
// "autorun": [
// "load"
// ],
// "cwd": "${workspaceRoot}"
// },
// {
// "type": "gdb",
// "request": "attach",
// "name": "rtfm-blinky-tim2",
// "gdbpath": "/usr/bin/arm-none-eabi-gdb",
// "executable": "./target/thumbv7em-none-eabihf/debug/examples/rtfm-blinky-tim2",
// "target": ":3333",
// "remote": true,
// "autorun": [
// "load"
// ],
// "cwd": "${workspaceRoot}"
// },
// {
// "type": "gdb",
// "request": "attach",
// "name": "rtfm-serial-echo",
// "gdbpath": "/usr/bin/arm-none-eabi-gdb",
// "executable": "./target/thumbv7em-none-eabihf/debug/examples/rtfm-serial-echo",
// "target": ":3333",
// "remote": true,
// "autorun": [
// "load"
// ],
// "cwd": "${workspaceRoot}"
// },
// {
// "type": "gdb",
// "request": "attach",
// "name": "serial-dma-tx",
// "gdbpath": "/usr/bin/arm-none-eabi-gdb",
// "executable": "./target/thumbv7em-none-eabihf/debug/examples/serial-dma-tx",
// "target": ":3333",
// "remote": true,
// "autorun": [
// "load"
// ],
// "cwd": "${workspaceRoot}"
// },
{
"type": "cortex-debug",
"request": "launch",
"servertype": "openocd",
"name": "c serial-dma-tx",
"executable": "./target/thumbv7em-none-eabihf/debug/examples/serial-dma-tx",
"configFiles": [
"interface/stlink.cfg",
"target/stm32f4x.cfg"
],
// "swoConfig": [
// "enabled": "true",
// "swoFrequency": "0",
// "cpuFrequency": "0",
// "ports": [
// [
// "number": "0",
// "label": "0",
// "format": "console",
// ]
// ]
// ],
"cwd": "${workspaceRoot}"
},
{
"type": "cortex-debug",
"request": "launch",
"servertype": "openocd",
"name": "c rtfm-serial-dma-tx",
"executable": "./target/thumbv7em-none-eabihf/debug/examples/rtfm-serial-dma-tx",
"configFiles": [
"interface/stlink.cfg",
"target/stm32f4x.cfg"
],
"cwd": "${workspaceRoot}"
},
{
"type": "cortex-debug",
"request": "launch",
"servertype": "openocd",
"name": "c serial-dma-rx",
"executable": "./target/thumbv7em-none-eabihf/debug/examples/serial-dma-rx",
//"debugger_args": "so .gdbint",
"configFiles": [
"interface/stlink.cfg",
"target/stm32f4x.cfg"
],
"cwd": "${workspaceRoot}"
},
{
"type": "cortex-debug",
"request": "launch",
"servertype": "openocd",
"name": "c rtfm-serial-dma-rx",
"executable": "./target/thumbv7em-none-eabihf/debug/examples/rtfm-serial-dma-rx",
//"debugger_args": "so .gdbint",
"configFiles": [
"interface/stlink.cfg",
"target/stm32f4x.cfg"
],
"cwd": "${workspaceRoot}"
}
]
}