Skip to content

Release 0.4.0

Latest
Compare
Choose a tag to compare
@eldruin eldruin released this 12 Jan 09:32
· 5 commits to master since this release
e50b26d

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.