added lauch file for UART example
This commit is contained in:
parent
075b2f10a8
commit
9a89c0ee13
15
.vscode/launch.json
vendored
15
.vscode/launch.json
vendored
@ -74,5 +74,20 @@
|
||||
"interface": "jtag",
|
||||
"runToMain": true,
|
||||
},
|
||||
{
|
||||
"type": "cortex-debug",
|
||||
"request": "launch",
|
||||
"name": "Debug UART",
|
||||
"servertype": "jlink",
|
||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"device": "VA10820",
|
||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
||||
"preLaunchTask": "rust: cargo build button uart",
|
||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/uart",
|
||||
"interface": "jtag",
|
||||
"runToMain": true,
|
||||
},
|
||||
|
||||
]
|
||||
}
|
12
.vscode/tasks.json
vendored
12
.vscode/tasks.json
vendored
@ -52,6 +52,18 @@
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "rust: cargo build button uart",
|
||||
"type": "shell",
|
||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||
"args": [
|
||||
"build", "-p", "va108xx-hal", "--example", "uart",
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"label": "rust: cargo build led blinky",
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 11973c3d022d14c7238fc991c277e44f3d837f40
|
||||
Subproject commit d05498f7de3a83041245abaaae4c38bd7576aff4
|
Loading…
x
Reference in New Issue
Block a user