added spi task and launch cfg
This commit is contained in:
parent
edc02fee89
commit
7d521f2c92
17
.vscode/launch.json
vendored
17
.vscode/launch.json
vendored
@ -83,11 +83,24 @@
|
||||
"cwd": "${workspaceRoot}",
|
||||
"device": "VA10820",
|
||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
||||
"preLaunchTask": "rust: cargo build button uart",
|
||||
"preLaunchTask": "rust: cargo build uart",
|
||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/uart",
|
||||
"interface": "jtag",
|
||||
"runToMain": true,
|
||||
},
|
||||
|
||||
{
|
||||
"type": "cortex-debug",
|
||||
"request": "launch",
|
||||
"name": "Debug SPI",
|
||||
"servertype": "jlink",
|
||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"device": "VA10820",
|
||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
||||
"preLaunchTask": "rust: cargo build spi",
|
||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/spi",
|
||||
"interface": "jtag",
|
||||
"runToMain": true,
|
||||
},
|
||||
]
|
||||
}
|
14
.vscode/tasks.json
vendored
14
.vscode/tasks.json
vendored
@ -53,7 +53,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "rust: cargo build button uart",
|
||||
"label": "rust: cargo build uart",
|
||||
"type": "shell",
|
||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||
"args": [
|
||||
@ -64,6 +64,18 @@
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "rust: cargo build spi",
|
||||
"type": "shell",
|
||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||
"args": [
|
||||
"build", "-p", "va108xx-hal", "--example", "spi",
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"label": "rust: cargo build led blinky",
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 7c3a425ce0523e6e66b790a54175c8b79c50818e
|
||||
Subproject commit cc635457d0d75296fcb46d2b9884d9dae72fe429
|
Loading…
x
Reference in New Issue
Block a user