-
- Downloads
example/device and SVD
Showing
- .vscode/launch.json 32 additions, 0 deletions.vscode/launch.json
- .vscode/tasks.json 12 additions, 0 deletions.vscode/tasks.json
- Cargo.toml 14 additions, 10 deletionsCargo.toml
- README.md 71 additions, 0 deletionsREADME.md
- STM32F413.svd 49411 additions, 0 deletionsSTM32F413.svd
- examples/device.rs 66 additions, 0 deletionsexamples/device.rs
... | ... | @@ -7,12 +7,11 @@ version = "0.1.0" |
[dependencies] | ||
cortex-m = "0.5.8" | ||
cortex-m-rt = "0.6.5" | ||
cortex-m-rt = "0.6.7" | ||
cortex-m-semihosting = "0.3.2" | ||
panic-halt = "0.2.0" | ||
# panic-abort = "0.3.1" | ||
# panic-abort = "0.3.1" # requires nightly toolchain | ||
# Uncomment for the panic example. | ||
panic-semihosting = "0.5.1" | ||
panic-itm = "0.4.0" | ||
bare-metal = "0.2.4" | ||
... | ... | @@ -20,10 +19,14 @@ bare-metal = "0.2.4" |
# Uncomment for the allocator example. | ||
# alloc-cortex-m = "0.3.5" | ||
# Uncomment for the device example. | ||
# [dependencies.stm32f30x] | ||
# features = ["rt"] | ||
# version = "0.7.1" | ||
[dependencies.stm32f4] | ||
version = "0.5.0" | ||
features = ["stm32f411", "rt"] | ||
optional = true | ||
[[example]] | ||
name = "device" | ||
required-features = ["stm32f4"] | ||
# this lets you use `cargo fix`! | ||
[[bin]] | ||
... | ... | @@ -39,3 +42,4 @@ codegen-units = 1 # better optimizations |
debug = true # symbols are nice and they don't increase the size on Flash | ||
lto = true # better optimizations | ||
panic = "abort" | ||
STM32F413.svd
0 → 100644
Source diff could not be displayed: it is too large. Options to address this: view the blob.
examples/device.rs
0 → 100644
Please register or sign in to comment