fast blinky
This commit is contained in:
1
vscode/.cortex-debug.peripherals.state.json
Normal file
1
vscode/.cortex-debug.peripherals.state.json
Normal file
@ -0,0 +1 @@
|
||||
[]
|
1
vscode/.cortex-debug.registers.state.json
Normal file
1
vscode/.cortex-debug.registers.state.json
Normal file
@ -0,0 +1 @@
|
||||
[]
|
53
vscode/launch.json
Normal file
53
vscode/launch.json
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
// 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-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",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"device": "Cortex-M4",
|
||||
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx-base.svd",
|
||||
"preLaunchTask": "rust: cargo build led blinky",
|
||||
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/blinky",
|
||||
"interface": "swd",
|
||||
"runToMain": true,
|
||||
},
|
||||
{
|
||||
"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,
|
||||
},
|
||||
]
|
||||
}
|
3
vscode/settings.json
Normal file
3
vscode/settings.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"cortex-debug.gdbPath.linux": "gdb-multiarch"
|
||||
}
|
43
vscode/tasks.json
Normal file
43
vscode/tasks.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "rust: cargo build led blinky pac",
|
||||
"type": "shell",
|
||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||
"args": [
|
||||
"build", "-p", "va416xx-hal", "--example", "blinky-pac"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "rust: cargo build rtt",
|
||||
"type": "shell",
|
||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||
"args": [
|
||||
"build", "-p", "va416xx-hal", "--example", "rtt-log"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "rust: cargo build led blinky",
|
||||
"type": "shell",
|
||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||
"args": [
|
||||
"build", "-p", "vorago-peb1", "--example", "blinky"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user