2021-11-03 01:34:52 +01:00
|
|
|
{
|
|
|
|
// 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": "cortex-debug",
|
|
|
|
"request": "launch",
|
2021-11-07 15:52:42 +01:00
|
|
|
"name": "Debug LED Blinky",
|
2021-11-03 01:34:52 +01:00
|
|
|
"servertype": "jlink",
|
|
|
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "VA10820",
|
2021-11-06 12:25:13 +01:00
|
|
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
2021-11-07 15:52:42 +01:00
|
|
|
"preLaunchTask": "rust: cargo build led blinky",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-leds",
|
2021-11-03 01:34:52 +01:00
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-11-06 19:02:52 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Tests HAL",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "VA10820",
|
|
|
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
|
|
|
"preLaunchTask": "rust: cargo build hal tests",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/tests",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-11-06 21:07:51 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug RTT",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "VA10820",
|
|
|
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
|
|
|
"preLaunchTask": "rust: cargo build rtt",
|
2021-11-07 14:25:15 +01:00
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/rtt-log",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Blinky Button IRQ",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "VA10820",
|
|
|
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
|
|
|
"preLaunchTask": "rust: cargo build button blinky",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-button-irq",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Timer MS Ticks",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "VA10820",
|
|
|
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
|
|
|
"preLaunchTask": "rust: cargo build systick",
|
2021-11-08 00:59:22 +01:00
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/timer-ticks",
|
2021-11-06 21:07:51 +01:00
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-11-09 13:21:15 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug UART",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "VA10820",
|
|
|
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
2021-11-15 10:55:22 +01:00
|
|
|
"preLaunchTask": "rust: cargo build uart",
|
2021-11-09 13:21:15 +01:00
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/uart",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-11-15 10:55:22 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug SPI",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "VA10820",
|
|
|
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
|
|
|
"preLaunchTask": "rust: cargo build spi",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/spi",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-11-03 01:34:52 +01:00
|
|
|
]
|
|
|
|
}
|