2021-12-07 00:54:20 +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",
|
2021-12-18 14:54:34 +01:00
|
|
|
"name": "Debug LED Blinky PAC",
|
2021-12-09 10:48:50 +01:00
|
|
|
// The user should start the J-Link server themselves for now. This is because the
|
2021-12-09 21:00:22 +01:00
|
|
|
// Cortex-Debug will issue a reset command, which is problematic even with
|
|
|
|
// a valid JLinkScript file
|
2021-12-09 10:48:50 +01:00
|
|
|
"servertype": "external",
|
|
|
|
"gdbTarget": "localhost:2331",
|
2021-12-18 14:54:34 +01:00
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"device": "Cortex-M4",
|
|
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx-base.svd",
|
|
|
|
"preLaunchTask": "rust: cargo build led blinky pac",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/blinky-pac",
|
|
|
|
"interface": "swd",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug LED Blinky",
|
|
|
|
"servertype": "external",
|
|
|
|
"gdbTarget": "localhost:2331",
|
2021-12-07 00:54:20 +01:00
|
|
|
"cwd": "${workspaceRoot}",
|
2021-12-08 11:40:34 +01:00
|
|
|
"device": "Cortex-M4",
|
2021-12-09 10:48:50 +01:00
|
|
|
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx-base.svd",
|
2021-12-07 00:54:20 +01:00
|
|
|
"preLaunchTask": "rust: cargo build led blinky",
|
2021-12-09 10:48:50 +01:00
|
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/blinky",
|
2021-12-07 00:54:20 +01:00
|
|
|
"interface": "swd",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-12-31 16:49:15 +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-base.svd",
|
|
|
|
"preLaunchTask": "rust: cargo build rtt",
|
|
|
|
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/rtt-log",
|
|
|
|
"interface": "swd",
|
|
|
|
"runToMain": true,
|
|
|
|
},
|
2021-12-07 00:54:20 +01:00
|
|
|
]
|
|
|
|
}
|