Commits on Source (6)
-
Per Lindgren authored
-
Per Lindgren authored
-
Per Lindgren authored
-
Per Lindgren authored
-
Per Lindgren authored
-
Per Lindgren authored
Showing
- .vscode/launch.json 73 additions, 3 deletions.vscode/launch.json
- CHANGELOG.md 25 additions, 15 deletionsCHANGELOG.md
- Cargo.toml 14 additions, 21 deletionsCargo.toml
- README.md 4 additions, 4 deletionsREADME.md
- examples/itm_rtic_hello.rs 4 additions, 0 deletionsexamples/itm_rtic_hello.rs
- examples/itm_rtic_hello_48Mhz.rs 27 additions, 0 deletionsexamples/itm_rtic_hello_48Mhz.rs
- examples/pmw3389.rs 7 additions, 7 deletionsexamples/pmw3389.rs
- examples/rtic_bare1.rs 2 additions, 0 deletionsexamples/rtic_bare1.rs
- examples/rtic_bare7.rs 7 additions, 7 deletionsexamples/rtic_bare7.rs
- examples/rtt-pmw3389-sine.rs 315 additions, 0 deletionsexamples/rtt-pmw3389-sine.rs
- examples/rtt-pwm-sine-task.rs 11 additions, 4 deletionsexamples/rtt-pwm-sine-task.rs
- examples/rtt-pwm-sine.rs 1 addition, 1 deletionexamples/rtt-pwm-sine.rs
- examples/rtt-timing.rs 0 additions, 1 deletionexamples/rtt-timing.rs
- examples/rtt_rtic_i2c.rs 85 additions, 53 deletionsexamples/rtt_rtic_i2c.rs
- examples/rtt_rtic_usb_mouse.rs 1 addition, 0 deletionsexamples/rtt_rtic_usb_mouse.rs
- examples/usb-mouse.rs 119 additions, 0 deletionsexamples/usb-mouse.rs
- openocd.gdb 1 addition, 1 deletionopenocd.gdb
- src/main.rs 0 additions, 20 deletionssrc/main.rs
- src/pmw3389.rs 3 additions, 20 deletionssrc/pmw3389.rs
- src/pmw3389e.rs 8 additions, 8 deletionssrc/pmw3389e.rs
... | ... | @@ -7,9 +7,11 @@ version = "0.1.0" |
[dependencies] | ||
cortex-m = { version = "0.7.1", features = ["linker-plugin-lto"] } | ||
# cortex-m = { version = "0.7.1" } | ||
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 +19,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"] } | ||
... | ... | @@ -26,18 +28,18 @@ panic-rtt-target = { version = "0.1.1", features = ["cortex-m"] } |
panic-semihosting = "0.5.6" | ||
# Tracing | ||
rtt-target = { version = "0.3.0", features = ["cortex-m"] } | ||
rtt-target = { version = "0.3.1", features = ["cortex-m"] } | ||
nb = "1.0.0" | ||
usbd-hid = "0.5.0" | ||
micromath = "1.1.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" | ||
version = "0.9.0" | ||
features = ["rt", "stm32f411", "usb_fs"] | ||
# Enable to use the latest git version | ||
# gitgit = "https://github.com/stm32-rs/stm32f4xx-hal" | ||
... | ... | @@ -45,28 +47,19 @@ 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] | ||
incremental = false | ||
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 | ||
examples/itm_rtic_hello_48Mhz.rs
0 → 100644
examples/rtt-pmw3389-sine.rs
0 → 100644
examples/usb-mouse.rs
0 → 100644
src/main.rs
deleted
100644 → 0