Skip to content

Releases: rust-embedded/embedded-hal

embedded-hal-async release 0.2.0-alpha.2

05 Jul 16:17
7e119bd
Compare
Choose a tag to compare

Added

  • spi: added Operation::DelayUs(u32).

Changed

  • Updated embedded-hal to version 1.0.0-alpha.11.
  • spi: removed redundant lifetime annotations. Note that recent nightlies care about them and require impls to match, so you might have to adjust them.

Removed

  • spi: removed read-only and write-only traits.

Release 1.0.0-alpha.10

05 Apr 07:08
3a7c3ca
Compare
Choose a tag to compare

*** This is (also) an alpha release with breaking changes (sorry) ***

Added

  • Added pwm::SetDutyCycle trait.

Changed

  • gpio: add ErrorKind enum for consistency with other traits and for future extensibility. No kinds are defined for now.
  • delay: make infallible.
  • i2c: remove _iter() methods.
  • i2c: add default implementations for all methods based on transaction().
  • i2c: document guidelines for shared bus usage.
  • spi: SpiDevice transaction now takes an operation slice instead of a closure.

embedded-hal-nb release 1.0.0-alpha.2

05 Apr 07:05
3a7c3ca
Compare
Choose a tag to compare
Pre-release

Changed

  • Updated embedded-hal to version 1.0.0-alpha.10.

embedded-hal-bus release 0.1.0-alpha.2

05 Apr 07:06
3a7c3ca
Compare
Choose a tag to compare
Pre-release

Changed

  • Updated embedded-hal to version 1.0.0-alpha.10.

Added

  • i2c: add bus sharing implementations.
  • spi: add bus sharing implementations.

embedded-hal-async release 0.2.0-alpha.1

05 Apr 07:06
3a7c3ca
Compare
Choose a tag to compare

Added

  • Added a serial::Write trait.

Changed

  • Updated embedded-hal to version 1.0.0-alpha.10.
  • delay: make infallible.
  • i2c: remove _iter() methods.
  • i2c: add default implementations for all methods based on transaction().
  • spi: SpiDevice transaction now takes an operation slice instead of a closure

embedded-hal-async release 0.2.0-alpha.0

23 Nov 17:05
812471b
Compare
Choose a tag to compare
  • Switch all traits to use async_fn_in_trait (AFIT). Requires nightly-2022-11-22 or newer.

embedded-hal-async release 0.1.0-alpha.3

26 Oct 14:34
9eb6dab
Compare
Choose a tag to compare
  • Fix build on newer Rust nightlies.

Release 1.0.0-alpha.9

28 Sep 19:00
bfb276e
Compare
Choose a tag to compare

*** This is (also) an alpha release with breaking changes (sorry) ***

Changed

  • The embedded-hal crate now contains blocking traits only. Import paths no longer contain ::blocking.

Added

  • Implement PartialOrd, Ord, Hash for can::StandardId, can::ExtendedId and can::Id according to CAN bus arbitration rules
  • Implement Eq for i2c::Operaiton
  • Implement PartialOrd, Ord, Hash for can::StandardId, can::ExtendedId and can::Id according to CAN bus arbitration rules.

Fixed

  • Fixed documentation for wait_for_rising_edge.

Removed

  • digital::blocking::IoPin traits. See: #340, #397.
  • nb traits are now available in a separate embedded-hal-nb crate.
  • spi::blocking::ExclusiveDevice and spi::blocking::ExclusiveDeviceError. These have been moved to a separate embedded-hal-bus crate.
  • Moved CAN traits to a separate embedded-can crate.

embedded-hal-nb release 1.0.0-alpha.1

28 Sep 20:58
a55595c
Compare
Choose a tag to compare

Changed

  • Updated embedded-hal to version 1.0.0-alpha.9.

embedded-hal-bus release 0.1.0-alpha.1

28 Sep 20:59
a55595c
Compare
Choose a tag to compare

Changed

  • Updated embedded-hal to version 1.0.0-alpha.9.