Skip to content

Releases: rust-embedded/embedded-hal

embedded-hal-async release 0.1.0-alpha.2

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

Added

  • spi: added a transaction helper macro as a workaround for the raw pointer workaround.

Changed

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

embedded-can release 0.4.1

28 Sep 21:00
a55595c
Compare
Choose a tag to compare

Removed

  • Unnecessary embedded-hal dependency.

embedded-can release 0.4.0

28 Sep 11:16
bdfb6bc
Compare
Choose a tag to compare

Release of version of the traits extracted from embedded-hal.

embedded-hal-nb release 1.0.0-alpha.0

27 Sep 20:18
d9bcf29
Compare
Choose a tag to compare

First release to crates.io

Embedded-hal-bus release 0.1.0-alpha.0

17 Aug 16:47
d8ddd73
Compare
Choose a tag to compare

First release to crates.io

Embedded-hal-async Release 0.1.0-alpha.1

26 May 07:41
ebf1c12
Compare
Choose a tag to compare

Changed

  • spi: device helper methods (read, write, transfer...) are now default methods in SpiDevice instead of an SpiDeviceExt extension trait.
  • spi: the SpiDevice::transaction closure now gets a raw pointer to the SpiBus to work around Rust borrow checker limitations.

Embedded-hal-async release 0.1.0-alpha.0

19 Apr 18:42
dd7bd7f
Compare
Choose a tag to compare

Initial release to crates.io

Release 1.0.0-alpha.8

15 Apr 07:08
bab0045
Compare
Choose a tag to compare

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

Changed

  • The Minimum Supported Rust Version (MSRV) is now 1.54.0
  • spi: unify all traits into SpiReadBus, SpiWriteBus and SpiBus (read-write).
  • spi: Add SpiDevice trait to represent a single device in a (possibly shared) bus, with managed chip-select (CS) pin.
  • spi: Clarify that implementations are allowed to return before operations are finished, add flush to wait until finished.

Removed

  • ADC traits: adc::nb::OneShot and adc::nb::Channel.

Release 1.0.0-alpha.7

10 Feb 07:20
173750c
Compare
Choose a tag to compare

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

Added

  • Error traits for CAN, SPI, I2C and Serial are implemented for Infallible.

Fixed

  • Fixed blanket impl of DelayUs not covering the delay_ms method.

Changed

  • spi: traits now enforce all impls on the same struct (eg Transfer and Write) have the same Error type.
  • digital: traits now enforce all impls on the same struct have the same Error type.
  • serial: traits now enforce all impls on the same struct have the same Error type.
  • i2c: traits now enforce all impls on the same struct have the same Error type.
  • i2c: unify all traits into a single I2c trait.

Removed

  • Traits with unconstrained associated types and their modules (See: #324, #354):
    • capture::Capture
    • pwm::Pwm
    • pwm::PwmPin
    • qei::Qei
    • timer::Cancel
    • timer::CountDown
    • timer::Periodic
    • watchdog::Disable
    • watchdog::Enable
    • watchdog::Watchdog

Release 0.2.7

09 Feb 20:30
2e91b43
Compare
Choose a tag to compare

Added

  • Backport CAN interface from the upcoming 1.0 release.