Skip to content

Commit

Permalink
eh-1.0.0: fmc
Browse files Browse the repository at this point in the history
  • Loading branch information
richardeoin committed Dec 22, 2023
1 parent c29e9f9 commit 3c67c74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

* delay: `delay_ms` and 'delay_us` methods now require importing: `use embedded_hal::delay::DelayNs;`

* fmc: Upgrade to `stm32-fmc` v0.4 to support embedded-hal v1.0

* pwm: Renamed `get_max_duty` -> `max_duty_cycle`; `set_duty` -> `set_duty_cycle`
* pwm: `enable` method now returns type `Result<(), PwmError>`
* pwm: LPTIMs can return a `NotEnabled` error from `set_duty_cycle`
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ log = { version = "0.4.14", optional = true} # see also the dev-dependencies sec
fdcan = { version = "0.2", optional = true }
embedded-storage = "0.3"

[patch.crates-io]
stm32-fmc = { git = "https://github.com/stm32-rs/stm32-fmc.git", branch = "eh-v1.0" }

[dependencies.smoltcp]
version = "0.10.0"
default-features = false
Expand Down

0 comments on commit 3c67c74

Please sign in to comment.