Skip to content

Releases: rust-embedded/linux-embedded-hal

Release 0.4.0

12 Jan 09:32
e50b26d
Compare
Choose a tag to compare

Changes since 0.4.0-alpha.4

Changed

Changes since 0.3.2

Changed

  • Updated to embedded-hal 1.0.0 release (API changes)
  • Updated to embedded-hal-nb 1.0.0 release (API changes)
  • [breaking-change] Replace serial-rs with the serialport-rs crate. Serial::open now needs a baud-rate argument as well.
  • [breaking-change] Split Spidev into SpidevDevice and SpidevBus, implementing the respective SpiDevice and SpiBus traits (#100)
  • Modified OutputPin behavior for active-low pins to match InputPin behavior.
  • Set default features to build both sysfs and cdev pin types.
  • Removed Pin export, use CdevPin or SysfsPin.
  • Updated to spidev 0.6.0 release(API changes)
  • Updated to i2cdev 0.6.0 release(API changes)
  • Updated to gpio_cdev 0.6.0 release(API changes)
  • sysfs_gpio to version 0.6.1
  • Updated to nix 0.27.1
  • Updated nb to version 1.
  • MSRV is now 1.65.0.

Fixed

  • Fix using SPI transfer with unequal buffer sizes (#97, #98).

Added

  • Added feature flag for spi and i2c
  • Mappings for embedded-hal error kinds
  • Implement embedded_hal::digital::blocking::IoPin for CdevPin and SysfsPin
  • CountDown implementation for SysTimer.
  • Default implementation for SysTimer.

Release 0.4.0-alpha.3

05 Aug 05:58
1ac9d6f
Compare
Choose a tag to compare

Added

  • Added feature flag for spi and i2c

Changed

  • Updated to embedded-hal 1.0.0-alpha.8 release (API changes)

Release 0.4.0-alpha.2

14 Feb 20:44
245b250
Compare
Choose a tag to compare

Added

  • Mappings for embedded-hal error kinds

Changed

  • Updated to embedded-hal 1.0.0-alpha.7 release (significant API changes)
  • Updated dependencies to force use of newer nix version
    • spidev to version 0.5.1
    • i2cdev to version 0.5.1
    • gpio-cdev to version 0.5.1
    • sysfs_gpio to version 0.6.1

Release 0.3.2

25 Oct 19:30
a7b3989
Compare
Choose a tag to compare

Fixed

  • Readd Pin type export as an alias to SysfsPin for compatibility with the 0.3.0 version.

Release 0.3.1

27 Sep 22:12
72af109
Compare
Choose a tag to compare

Added

  • Added implementation of transactional SPI and I2C traits.
  • CountDown implementation for SysTimer.
  • Default implementation for SysTimer.

Changed

  • Set default features to build both sysfs and cdev pin types.
  • Removed Pin export, use CdevPin or SysfsPin.
  • Updated embedded-hal to version 0.2.6.
  • Updated nb to version 0.1.3.
  • Updated gpio-cdev to version 0.5.
  • Updated i2cdev to version 0.5.
  • Updated spidev to version 0.5.
  • Updated sysfs-gpio to version 0.6.
  • Updated cast to version 0.3.

Fixed

  • Modified OutputPin behavior for active-low pins to match InputPin behavior.