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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-11-03 01:34:52 +01:00
|
|
|
},
|
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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.svd.patched",
|
2021-11-06 19:02:52 +01:00
|
|
|
"preLaunchTask": "rust: cargo build hal tests",
|
2024-07-04 17:10:01 +02:00
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/board-tests",
|
2021-11-06 19:02:52 +01:00
|
|
|
"interface": "jtag",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-11-06 19:02:52 +01:00
|
|
|
},
|
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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-11-07 14:25:15 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-11-07 14:25:15 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-11-06 21:07:51 +01:00
|
|
|
},
|
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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-11-09 13:21:15 +01:00
|
|
|
},
|
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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-11-15 10:55:22 +01:00
|
|
|
},
|
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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-12-02 11:46:47 +01:00
|
|
|
},
|
2021-12-04 21:37:09 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
2024-07-04 17:10:01 +02:00
|
|
|
"name": "Button Blinky RTIC Example",
|
2021-12-04 21:37:09 +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-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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-12-04 21:37:09 +01:00
|
|
|
},
|
2021-12-05 17:55:02 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
2024-07-04 17:10:01 +02:00
|
|
|
"name": "PWM Example",
|
2021-12-05 17:55:02 +01:00
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-12-05 17:55:02 +01:00
|
|
|
},
|
2021-12-06 12:54:43 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
2024-07-04 17:10:01 +02:00
|
|
|
"name": "Cascade Example",
|
2021-12-06 12:54:43 +01:00
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-12-06 12:54:43 +01:00
|
|
|
},
|
2021-12-10 00:07:20 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
2024-07-04 17:10:01 +02:00
|
|
|
"name": "Accelerometer Example",
|
2021-12-10 00:07:20 +01:00
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-10 10:13:42 +01:00
|
|
|
"device": "Cortex-M0",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2024-06-16 16:16:45 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Blinky HAL",
|
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M0",
|
|
|
|
"svdFile": "./va108xx/svd/va108xx.svd.patched",
|
|
|
|
"preLaunchTask": "blinky-hal",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/adxl343-accelerometer",
|
|
|
|
"interface": "jtag",
|
|
|
|
"runToEntryPoint": "main",
|
2021-12-10 00:07:20 +01:00
|
|
|
},
|
2021-12-12 01:25:50 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
2024-07-04 17:10:01 +02:00
|
|
|
"name": "ADC Example",
|
2021-12-12 01:25:50 +01:00
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M0",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.svd.patched",
|
2021-12-12 01:25:50 +01:00
|
|
|
"preLaunchTask": "rust: cargo build adc",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/max11619-adc",
|
|
|
|
"interface": "jtag",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-12-12 01:25:50 +01:00
|
|
|
},
|
2021-12-21 00:02:33 +01:00
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
2024-07-04 17:10:01 +02:00
|
|
|
"name": "UART IRQ Example",
|
2021-12-21 00:02:33 +01:00
|
|
|
"servertype": "jlink",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M0",
|
2024-06-16 16:16:45 +02:00
|
|
|
"svdFile": "./va108xx/svd/va108xx.svd.patched",
|
2021-12-21 00:02:33 +01:00
|
|
|
"preLaunchTask": "rust: cargo build uart irq",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/uart-irq-rtic",
|
|
|
|
"interface": "jtag",
|
2024-06-16 16:16:45 +02:00
|
|
|
"runToEntryPoint": "main",
|
2024-07-04 17:10:01 +02:00
|
|
|
"rttConfig": {
|
|
|
|
"enabled": true,
|
|
|
|
"address": "0x10000000",
|
|
|
|
"decoders": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
|
|
|
"timestamp": true,
|
|
|
|
"type": "console"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-12-21 00:02:33 +01:00
|
|
|
},
|
2021-11-03 01:34:52 +01:00
|
|
|
]
|
|
|
|
}
|