va416xx-rs/vscode/launch.json

189 lines
7.0 KiB
JSON
Raw Normal View History

2021-12-07 00:31:51 +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",
"name": "Debug LED Blinky",
2024-06-22 18:47:46 +02:00
"servertype": "jlink",
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
2021-12-07 00:31:51 +01:00
"cwd": "${workspaceRoot}",
"device": "Cortex-M4",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
"preLaunchTask": "blinky-example",
2024-06-22 18:47:46 +02:00
"overrideLaunchCommands": [
"monitor halt",
"monitor reset",
"load",
],
2024-06-22 14:28:22 +02:00
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/blinky-hal",
2021-12-07 00:31:51 +01:00
"interface": "swd",
2024-06-22 18:47:46 +02:00
"runToEntryPoint": "main",
"rttConfig": {
"enabled": true,
2024-06-23 21:38:55 +02:00
// Have to use exact address unfortunately. "auto" does not work for some reason..
2024-06-22 18:47:46 +02:00
"address": "0x1fff8000",
"decoders": [
{
"port": 0,
"type": "console"
}
]
}
2021-12-07 00:31:51 +01:00
},
{
"type": "cortex-debug",
"request": "launch",
2024-06-22 18:47:46 +02:00
"name": "Debug RTT Example",
"servertype": "jlink",
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
2021-12-07 00:31:51 +01:00
"cwd": "${workspaceRoot}",
"device": "Cortex-M4",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
"preLaunchTask": "rtt-log-example",
2024-06-22 18:47:46 +02:00
"overrideLaunchCommands": [
"monitor halt",
"monitor reset",
"load",
],
2021-12-07 00:31:51 +01:00
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/rtt-log",
"interface": "swd",
2024-06-22 18:47:46 +02:00
"runToEntryPoint": "main",
"rttConfig": {
"enabled": true,
2024-06-23 21:38:55 +02:00
// Have to use exact address unfortunately. "auto" does not work for some reason..
2024-06-22 18:47:46 +02:00
"address": "0x1fff8000",
"decoders": [
{
"port": 0,
"type": "console"
}
]
}
2021-12-07 00:31:51 +01:00
},
2024-06-22 14:28:22 +02:00
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug UART Example",
2024-06-22 18:47:46 +02:00
"servertype": "jlink",
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
2024-06-22 14:28:22 +02:00
"cwd": "${workspaceRoot}",
"device": "Cortex-M4",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
"preLaunchTask": "uart-example",
2024-06-22 18:47:46 +02:00
"overrideLaunchCommands": [
"monitor halt",
"monitor reset",
"load",
],
2024-06-22 14:28:22 +02:00
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/uart",
"interface": "swd",
2024-06-22 18:47:46 +02:00
"runToEntryPoint": "main",
"rttConfig": {
"enabled": true,
2024-06-23 21:38:55 +02:00
// Have to use exact address unfortunately. "auto" does not work for some reason..
2024-06-22 18:47:46 +02:00
"address": "0x1fff8000",
"decoders": [
{
"port": 0,
"type": "console"
}
]
}
2024-06-22 14:28:22 +02:00
},
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug WDT Example",
2024-06-22 18:47:46 +02:00
"servertype": "jlink",
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
2024-06-22 14:28:22 +02:00
"cwd": "${workspaceRoot}",
"device": "Cortex-M4",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
"preLaunchTask": "wdt-example",
2024-06-22 18:47:46 +02:00
"overrideLaunchCommands": [
"monitor halt",
"monitor reset",
"load",
],
2024-06-22 14:28:22 +02:00
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/wdt",
"interface": "swd",
2024-06-22 18:47:46 +02:00
"runToEntryPoint": "main",
"rttConfig": {
"enabled": true,
2024-06-23 21:38:55 +02:00
// Have to use exact address unfortunately. "auto" does not work for some reason..
2024-06-22 18:47:46 +02:00
"address": "0x1fff8000",
"decoders": [
{
"port": 0,
"type": "console"
}
]
}
2024-06-22 14:28:22 +02:00
},
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug SPI Example",
2024-06-22 18:47:46 +02:00
"servertype": "jlink",
"jlinkscript": "${workspaceFolder}/jlink/JLinkSettings.JLinkScript",
2024-06-22 14:28:22 +02:00
"cwd": "${workspaceRoot}",
"device": "Cortex-M4",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
"preLaunchTask": "spi-example",
2024-06-22 18:47:46 +02:00
"overrideLaunchCommands": [
"monitor halt",
"monitor reset",
"load",
],
2024-06-22 14:28:22 +02:00
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/spi",
"interface": "swd",
2024-06-22 18:47:46 +02:00
"runToEntryPoint": "main",
"rttConfig": {
"enabled": true,
2024-06-23 21:38:55 +02:00
// Have to use exact address unfortunately. "auto" does not work for some reason..
2024-06-22 18:47:46 +02:00
"address": "0x1fff8000",
"decoders": [
{
"port": 0,
"type": "console"
}
]
}
2024-06-22 14:28:22 +02:00
},
2024-06-23 21:38:55 +02:00
{
"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,
// Have to use exact address unfortunately. "auto" does not work for some reason..
"address": "0x1fff8000",
"decoders": [
{
"port": 0,
"timestamp": true,
"type": "console"
}
]
}
},
2021-12-07 00:31:51 +01:00
]
}