added RTT example code
This commit is contained in:
14
.vscode/launch.json
vendored
14
.vscode/launch.json
vendored
@@ -35,5 +35,19 @@
|
||||
"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,
|
||||
},
|
||||
]
|
||||
}
|
||||
12
.vscode/tasks.json
vendored
12
.vscode/tasks.json
vendored
@@ -15,6 +15,18 @@
|
||||
"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",
|
||||
|
||||
Submodule va416xx-hal updated: 6eda28c354...f9b5f99604
Reference in New Issue
Block a user