Compare changes
Some changes are not shown.
For a faster browsing experience, only 37 of 48 files are shown. Download one of the files below to see all changes.
+3
−0
+58
−10
+15
−15
CHANGELOG.md
0 → 100644
+56
−0
+25
−33
Original line number | Original line | Diff line number | Diff line |
---|---|---|---|
@@ -6,68 +6,60 @@ name = "app" | |||
version = "0.1.0"
|
version = "0.1.0"
|
||
[dependencies]
|
[dependencies]
|
||
cortex-m = "0.6.4"
|
cortex-m = { version = "0.7.1", features = ["linker-plugin-lto"] }
|
||
# cortex-m = { version = "0.7.1" }
|
|||
cortex-m-rt = "0.6.13"
|
cortex-m-rt = "0.6.13"
|
||
cortex-m-semihosting = "0.3.7"
|
cortex-m-semihosting = "0.3.7"
|
||
cortex-m-rtic = "0.5.5"
|
cortex-m-rtic = "0.5.5"
|
||
# embedded-hal = { version = "0.2.4", features = ["unproven"] }
|
|||
embedded-hal = "0.2.4"
|
embedded-hal = "0.2.4"
|
||
usb-device = "0.2.7"
|
usb-device = "0.2.7"
|
||
# Panic handlers, comment all but one to generate doc!
|
# Panic handlers, comment all but one to generate doc!
|
||
panic-halt = "0.2.0"
|
panic-halt = "0.2.0"
|
||
# Uncomment for the panic example.
|
# Uncomment for the itm panic examples.
|
||
#panic-itm = "0.4.2"
|
panic-itm = "0.4.2"
|
||
# Uncomment for the rtt-timing example.
|
# Uncomment for the rtt-timing examples.
|
||
#panic-rtt-target = { version = "0.1.1", features = ["cortex-m"] }
|
panic-rtt-target = { version = "0.1.1", features = ["cortex-m"] }
|
||
# Uncomment for the panic example.
|
# Uncomment for the semihosting examples.
|
||
#panic-semihosting = "0.5.6"
|
panic-semihosting = "0.5.6"
|
||
# Tracing
|
# 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]
|
[dependencies.stm32f4]
|
||
version = "0.12.1"
|
version = "0.13.0"
|
||
features = ["stm32f411", "rt"]
|
features = ["stm32f411", "rt"]
|
||
# Uncomment for the allocator example.
|
|||
# alloc-cortex-m = "0.4.0"
|
|||
[dependencies.stm32f4xx-hal]
|
[dependencies.stm32f4xx-hal]
|
||
version = "0.8.3"
|
version = "0.9.0"
|
||
features = ["rt", "stm32f411", "usb_fs"]
|
features = ["rt", "stm32f411", "usb_fs"]
|
||
git = "https://github.com/stm32-rs/stm32f4xx-hal"
|
# Enable to use the latest git version
|
||
# gitgit = "https://github.com/stm32-rs/stm32f4xx-hal"
|
|||
# Enable to use your forked/cloned local repo
|
|||
# path = "../stm32f4xx-hal"
|
|||
# this lets you use `cargo fix`!
|
# this lets you use `cargo fix`!
|
||
[[bin]]
|
# [[bin]]
|
||
name = "app"
|
# name = "app"
|
||
test = false
|
# # test = false
|
||
bench = false
|
# bench = false
|
||
[profile.dev]
|
[profile.dev]
|
||
incremental = false
|
incremental = false
|
||
codegen-units = 1
|
codegen-units = 1
|
||
overflow-checks = false
|
|||
[profile.release]
|
[profile.release]
|
||
incremental = false
|
|||
codegen-units = 1 # better optimizations
|
codegen-units = 1 # better optimizations
|
||
debug = true # symbols are nice and they don't increase the size on Flash
|
debug = true # symbols are nice and they don't increase the size on Flash
|
||
lto = true # better optimizations
|
lto = true # better optimizations
|
||
# [features]
|
|||
# nightly = ["cortex-m/inline-asm"]
|
|||
# # this lets you use `cargo fix`!
|
|||
# [[bin]]
|
|||
# name = "app"
|
|||
# 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 |
+178
−14
+26
−3
examples/allocator.rs
deleted100644 → 0
+0
−56
examples/crash.rs
deleted100644 → 0
+0
−96
examples/device.rs
deleted100644 → 0
+0
−62
examples/exception.rs
deleted100644 → 0
+0
−37
examples/hello.rs
deleted100644 → 0
+0
−16
examples/itm.rs
deleted100644 → 0
+0
−34
examples/itm_rtic_hello.rs
0 → 100644
+22
−0
examples/itm_rtic_hello_48Mhz.rs
0 → 100644
+27
−0
+84
−802
File changed.
Preview size limit exceeded, changes collapsed.
examples/rtic_bare1.rs
0 → 100644
+391
−0
examples/rtic_bare2.rs
0 → 100644
+134
−0
examples/rtic_bare3.rs
0 → 100644
+129
−0
examples/rtic_bare4.rs
0 → 100644
+133
−0
examples/rtic_bare5.rs
0 → 100644
+246
−0
examples/rtic_bare6.rs
0 → 100644
+383
−0
examples/rtic_bare7.rs
0 → 100644
+241
−0
examples/rtic_bare8.rs
0 → 100644
+185
−0
examples/rtic_bare9.rs
0 → 100644
+222
−0
+10
−1
examples/rtic_crash.rs
0 → 100644
+33
−0
examples/rtic_hello.rs
0 → 100644
+16
−0
examples/rtt-pmw3389-sine.rs
0 → 100644
+315
−0
examples/rtt-pwm-dma.rs
0 → 100644
+202
−0
examples/rtt-pwm-saw.rs
0 → 100644
+149
−0
examples/rtt-pwm-sine-task.rs
0 → 100644
+187
−0
examples/rtt-pwm-sine-timer-task.rs
0 → 100644
+185
−0
File added.
Preview size limit exceeded, changes collapsed.
examples/rtt-pwm-sine.rs
0 → 100644
+173
−0
File added.
Preview size limit exceeded, changes collapsed.
+6
−12
+0
−1
examples/rtt_rtic_blinky.rs
0 → 100644
+78
−0
File added.
Preview size limit exceeded, changes collapsed.
examples/rtt_rtic_hello.rs
0 → 100644
+27
−0
examples/rtt_rtic_i2c.rs
0 → 100644
+368
−0
File added.
Preview size limit exceeded, changes collapsed.
examples/rtt_rtic_usb_mouse.rs
0 → 100644
+331
−0
File added.
Preview size limit exceeded, changes collapsed.
+82
−284
File changed.
Preview size limit exceeded, changes collapsed.
+1
−1
+1
−1
src/lib.rs
0 → 100644
+38
−0
File added.
Preview size limit exceeded, changes collapsed.
src/main.rs
deleted100644 → 0
+0
−20
File deleted.
Preview size limit exceeded, changes collapsed.
src/pmw3389.rs
0 → 100644
+611
−0
File added.
Preview size limit exceeded, changes collapsed.
src/pmw3389e.rs
0 → 100644
+672
−0
File added.
Preview size limit exceeded, changes collapsed.