-
- Downloads
new example
No related branches found
No related tags found
Showing
- CHANGELOG.md 7 additions, 0 deletionsCHANGELOG.md
- Cargo.toml 9 additions, 19 deletionsCargo.toml
- cargo 0 additions, 0 deletionscargo
- examples/.vscode/STM32F401.svd 27389 additions, 0 deletionsexamples/.vscode/STM32F401.svd
- examples/.vscode/STM32F411.svd 27110 additions, 0 deletionsexamples/.vscode/STM32F411.svd
- examples/.vscode/tasks copy.json 34 additions, 0 deletionsexamples/.vscode/tasks copy.json
- examples/usb-mouse.rs 110 additions, 0 deletionsexamples/usb-mouse.rs
... | ... | @@ -10,6 +10,7 @@ cortex-m = { version = "0.7.1", features = ["linker-plugin-lto"] } |
cortex-m-rt = "0.6.13" | ||
cortex-m-semihosting = "0.3.7" | ||
cortex-m-rtic = "0.5.5" | ||
# embedded-hal = { version = "0.2.4", features = ["unproven"] } | ||
embedded-hal = "0.2.4" | ||
usb-device = "0.2.7" | ||
... | ... | @@ -17,7 +18,7 @@ usb-device = "0.2.7" |
panic-halt = "0.2.0" | ||
# Uncomment for the itm panic examples. | ||
#panic-itm = "0.4.2" | ||
panic-itm = "0.4.2" | ||
# Uncomment for the rtt-timing examples. | ||
panic-rtt-target = { version = "0.1.1", features = ["cortex-m"] } | ||
... | ... | @@ -27,14 +28,13 @@ panic-semihosting = "0.5.6" |
# Tracing | ||
rtt-target = { version = "0.3.0", features = ["cortex-m"] } | ||
nb = "1.0.0" | ||
usbd-hid = "0.5.0" | ||
[dependencies.stm32f4] | ||
version = "0.13.0" | ||
features = ["stm32f411", "rt"] | ||
# Uncomment for the allocator example. | ||
# alloc-cortex-m = "0.4.0" | ||
[dependencies.stm32f4xx-hal] | ||
version = "0.8.3" | ||
... | ... | @@ -45,28 +45,18 @@ features = ["rt", "stm32f411", "usb_fs"] |
# path = "../stm32f4xx-hal" | ||
# this lets you use `cargo fix`! | ||
[[bin]] | ||
name = "app" | ||
test = false | ||
bench = false | ||
# [[bin]] | ||
# name = "app" | ||
# # test = false | ||
# bench = false | ||
[profile.dev] | ||
incremental = false | ||
codegen-units = 1 | ||
overflow-checks = 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 | ||
# [features] | ||
# nightly = ["cortex-m/inline-asm"] | ||
# # this lets you use `cargo fix`! | ||
# [[bin]] | ||
# name = "app" | ||
# test = false | ||
# bench = false | ||
cargo
0 → 100644
examples/.vscode/STM32F401.svd
0 → 100644
This diff is collapsed.
examples/.vscode/STM32F411.svd
0 → 100644
This diff is collapsed.
examples/.vscode/tasks copy.json
0 → 100644
examples/usb-mouse.rs
0 → 100644
Please register or sign in to comment