added .gitignore, .vscode files

update submodules
This commit is contained in:
Robin Müller 2021-12-07 00:54:20 +01:00
parent b520f58362
commit a3819aa997
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
5 changed files with 55 additions and 2 deletions

12
.gitignore vendored Normal file
View File

@ -0,0 +1,12 @@
# Generated by Cargo
# will have compiled files and executables
/target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk
/.vscode/.cortex-debug.*

22
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,22 @@
{
// 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",
"servertype": "jlink",
"gdbPath": "/usr/bin/gdb-multiarch",
"cwd": "${workspaceRoot}",
"device": "VA41620",
"svdFile": "./va108xx-rs/svd/va416xx-base.svd",
"preLaunchTask": "rust: cargo build led blinky",
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-leds",
"interface": "swd",
"runToMain": true,
},
]
}

19
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,19 @@
{
// 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",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"build", "-p", "va416xx-hal", "--example", "blinky"
],
"group": {
"kind": "build",
"isDefault": true
}
},
]
}

@ -1 +1 @@
Subproject commit 2d02813c7fe381fa1fd749c6430d1029995965f5
Subproject commit a545b4028ef25923f3477441194c556dea8ae57e

@ -1 +1 @@
Subproject commit f94aa2b48fa995f1baec0aca861421bf18df20c6
Subproject commit 7aa367e9eaaa774f86ef55539b245484e6c7c4fc