Robin Mueller
f16ddc3114
Some checks failed
Rust/va416xx-rs/pipeline/pr-main There was a failure building this commit
505 lines
18 KiB
JSON
505 lines
18 KiB
JSON
{
|
|
// 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": [
|
|
{
|
|
"preLaunchTask": "blinky-example",
|
|
"type": "probe-rs-debug",
|
|
"request": "launch",
|
|
"name": "probe-rs Debug Blinky",
|
|
"flashingConfig": {
|
|
"flashingEnabled": true,
|
|
"haltAfterReset": true
|
|
},
|
|
"chip": "VA416xx",
|
|
"coreConfigs": [
|
|
{
|
|
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/blinky",
|
|
"rttEnabled": true,
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"preLaunchTask": "rtt-log-example",
|
|
"type": "probe-rs-debug",
|
|
"request": "launch",
|
|
"name": "probe-rs Debug RTT",
|
|
"flashingConfig": {
|
|
"flashingEnabled": true,
|
|
"haltAfterReset": false
|
|
},
|
|
"chip": "VA416xx",
|
|
"coreConfigs": [
|
|
{
|
|
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/rtt-log",
|
|
"rttEnabled": true,
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"preLaunchTask": "rtt-log-example",
|
|
"type": "probe-rs-debug",
|
|
"request": "attach",
|
|
"name": "probe-rs Attach RTT",
|
|
"chip": "VA416xx",
|
|
"coreConfigs": [
|
|
{
|
|
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/rtt-log",
|
|
"rttEnabled": true,
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug LED Blinky",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "blinky-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/blinky",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug RTT Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "rtt-log-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/rtt-log",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug UART Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "uart-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/uart",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug WDT Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "wdt-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/wdt",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug SPI Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "spi-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/spi",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug Timer/Ticks Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "timer-ticks-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/timer-ticks",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug DAC/ADC Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "dac-adc-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/dac-adc",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug ADC Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "adc-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/adc",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug PWM Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "pwm-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/pwm",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Debug DMA Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "dma-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/dma",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "UART Echo with IRQ",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "uart-echo-with-irq",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/uart-echo-with-irq",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Bootloader",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "bootloader",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/bootloader",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Flashloader",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "flashloader",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/flashloader",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "Embassy Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "embassy-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/embassy-example",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"name": "RTIC Example",
|
|
"servertype": "jlink",
|
|
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
|
|
"cwd": "${workspaceRoot}",
|
|
"device": "Cortex-M4",
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
"preLaunchTask": "embassy-example",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"monitor reset",
|
|
"load",
|
|
],
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/rtic-example",
|
|
"interface": "swd",
|
|
"runToEntryPoint": "main",
|
|
"rttConfig": {
|
|
"enabled": true,
|
|
"address": "auto",
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"timestamp": true,
|
|
"type": "console"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
]
|
|
}
|