-
- Downloads
initial commit
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- .vscode/extensions.json 14 additions, 0 deletions.vscode/extensions.json
- .vscode/launch.json 27 additions, 0 deletions.vscode/launch.json
- .vscode/tasks.json 43 additions, 0 deletions.vscode/tasks.json
- Cargo.lock 394 additions, 0 deletionsCargo.lock
- Cargo.toml 35 additions, 0 deletionsCargo.toml
- build.rs 43 additions, 0 deletionsbuild.rs
- memory.x 34 additions, 0 deletionsmemory.x
- src/main.rs 79 additions, 0 deletionssrc/main.rs
.gitignore
0 → 100644
.vscode/extensions.json
0 → 100644
.vscode/launch.json
0 → 100644
.vscode/tasks.json
0 → 100644
Cargo.lock
0 → 100644
Cargo.toml
0 → 100644
[package] | |||
authors = ["michael.divia <michael.divia@etu.hesge.ch>"] | |||
edition = "2018" | |||
readme = "README.md" | |||
name = "projet-rust" | |||
version = "0.1.0" | |||
[dependencies] | |||
cortex-m = "0.7.7" | |||
cortex-m-rt = "0.7.3" | |||
cortex-m-semihosting = "0.5.0" | |||
panic-halt = "0.2.0" | |||
[dependencies.stm32l4xx-hal] | |||
version = "0.7.1" | |||
features = ["rt", "stm32l476"] # rt is for runtime, provides interrupts | |||
[dev-dependencies] | |||
usb-device = "0.2.3" | |||
usbd-serial = "0.1.0" | |||
heapless = "0.5" | |||
# Change this import as required for your MCU. | |||
# stm32-hal2 = { version = "^1.5.5", features = ["l4x6", "l4rt"]} | |||
# this lets you use `cargo fix`! | |||
[[bin]] | |||
name = "projet-rust" | |||
test = false | |||
bench = false | |||
[profile.release] | |||
codegen-units = 1 # better optimizations | |||
debug = true # symbols are nice and they don't increase the size on Flash | |||
lto = true # better optimizations |
build.rs
0 → 100644
memory.x
0 → 100644
src/main.rs
0 → 100644
Please register or sign in to comment