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 PAC",
|
|
|
|
// The user should start the J-Link server themselves for now. This is because the
|
|
|
|
// Cortex-Debug will issue a reset command, which is problematic even with
|
|
|
|
// a valid JLinkScript file
|
|
|
|
"servertype": "external",
|
|
|
|
"gdbTarget": "localhost:2331",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M4",
|
|
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
|
|
"preLaunchTask": "blinky-pac-example",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/blinky-pac",
|
|
|
|
"interface": "swd",
|
2024-06-12 11:51:22 +02:00
|
|
|
"runToEntryPoint": "main"
|
2021-12-07 00:31:51 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug LED Blinky",
|
|
|
|
"servertype": "external",
|
|
|
|
"gdbTarget": "localhost:2331",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M4",
|
|
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
|
|
"preLaunchTask": "blinky-example",
|
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-12 11:51:22 +02:00
|
|
|
"runToEntryPoint": "main"
|
2021-12-07 00:31:51 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug RTT Log",
|
|
|
|
"servertype": "external",
|
|
|
|
"gdbTarget": "localhost:2331",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M4",
|
|
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
|
|
"preLaunchTask": "rtt-log-example",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/rtt-log",
|
|
|
|
"interface": "swd",
|
2024-06-12 11:51:22 +02:00
|
|
|
"runToEntryPoint": "main"
|
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",
|
|
|
|
"servertype": "external",
|
|
|
|
"gdbTarget": "localhost:2331",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M4",
|
|
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
|
|
"preLaunchTask": "uart-example",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/uart",
|
|
|
|
"interface": "swd",
|
|
|
|
"runToEntryPoint": "main"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug WDT Example",
|
|
|
|
"servertype": "external",
|
|
|
|
"gdbTarget": "localhost:2331",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M4",
|
|
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
|
|
"preLaunchTask": "wdt-example",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/wdt",
|
|
|
|
"interface": "swd",
|
|
|
|
"runToEntryPoint": "main"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug SPI Example",
|
|
|
|
"servertype": "external",
|
|
|
|
"gdbTarget": "localhost:2331",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M4",
|
|
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
|
|
|
|
"preLaunchTask": "spi-example",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/spi",
|
|
|
|
"interface": "swd",
|
|
|
|
"runToEntryPoint": "main"
|
|
|
|
},
|
2021-12-07 00:31:51 +01:00
|
|
|
]
|
|
|
|
}
|