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
|
2021-12-10 10:13:42 +01:00
|
|
|
|
|
|
|
// You can set the "gdbPath" setting in a custom settings.json to use a non-default
|
|
|
|
// GDB application
|
2021-11-03 01:34:52 +01:00
|
|
|
"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",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/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",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-11-06 19:02:52 +01:00
|
|
|
"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",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-11-06 21:07:51 +01:00
|
|
|
"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",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-11-07 14:25:15 +01:00
|
|
|
"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",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-11-07 14:25:15 +01:00
|
|
|
"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",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/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",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-11-15 10:55:22 +01:00
|
|
|
"preLaunchTask": "rust: cargo build spi",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/spi",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-12-02 11:46:47 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug I2C / Temperature Sensor",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-12-02 11:46:47 +01:00
|
|
|
"preLaunchTask": "rust: cargo build temp sensor",
|
2021-12-10 10:13:42 +01:00
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/adt75-temp-sensor",
|
2021-12-02 11:46:47 +01:00
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-12-04 21:37:09 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Button Blinky RTIC",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-12-04 21:37:09 +01:00
|
|
|
"preLaunchTask": "rust: cargo build button blinky rtic",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-button-rtic",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-12-05 17:55:02 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug PWM",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-12-05 17:55:02 +01:00
|
|
|
"preLaunchTask": "rust: cargo build pwm",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/pwm",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-12-06 12:54:43 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Cascade",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-12-06 12:54:43 +01:00
|
|
|
"preLaunchTask": "rust: cargo build cascade",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/cascade",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-12-10 00:07:20 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Accelerometer",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
2021-12-10 00:07:20 +01:00
|
|
|
"preLaunchTask": "rust: cargo build accelerometer",
|
2021-12-10 10:13:42 +01:00
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/adxl343-accelerometer",
|
2021-12-10 00:07:20 +01:00
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-12-12 01:25:50 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug ADC",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx-base.svd.patched",
|
|
|
|
"preLaunchTask": "rust: cargo build adc",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/max11619-adc",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-11-03 01:34:52 +01:00
|
|
|
]
|
|
|
|
}
|