Skip to content

Latest commit

 

History

History
171 lines (116 loc) · 6.28 KB

CHANGELOG.md

File metadata and controls

171 lines (116 loc) · 6.28 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Added

  • Added async DelayNs implementation for tokio.

v0.4.0 - 2024-01-10

Changed

v0.4.0-alpha.4 - 2024-01-03

Changed

  • [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)
  • Updated to embedded-hal 1.0.0-rc.3 release (API changes)
  • Updated to embedded-hal-nb 1.0.0-rc.3 release (API changes)
  • 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)
  • Updated to nix 0.27.1
  • MSRV is now 1.65.0.

Fixed

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

v0.4.0-alpha.3 - 2022-08-04

Added

  • Added feature flag for spi and i2c

Changed

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

v0.4.0-alpha.2 - 2022-02-15

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

v0.4.0-alpha.1 - 2021-10-07

Added

  • Implement embedded_hal::digital::blocking::IoPin for CdevPin and SysfsPin
  • CountDown implementation for SysTimer.
  • Default implementation for SysTimer.

Changed

  • 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.
  • Adapted to embedded-hal 1.0.0-alpha.5 release.
  • Increased the Minimum Supported Rust Version to 1.46.0 due to an update of bitflags.
  • Updated spidev to version 0.5.
  • Updated i2cdev to version 0.5.
  • Updated gpio-cdev to version 0.5.
  • Updated sysfs_gpio to version 0.6.
  • Updated nb to version 1.

v0.3.2 - 2021-10-25

Fixed

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

v0.3.1 - 2021-09-27

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.

v0.3.0 - 2019-11-25

Added

  • Added serial::Read/Write implementation.
  • Added feature flag for Chardev GPIO

Fixed

  • Do write and read in one transaction in WriteRead implementation.
  • Removed #[deny(warnings)]

Changed

  • Use embedded-hal::digital::v2 traits.
  • Updated to i2cdev 0.4.3 (necessary for trasactional write-read).
  • Updated to spidev 0.4
  • Added feature flag for Sysfs GPIO

v0.2.2 - 2018-12-21

Changed

  • updated to i2cdev 0.4.1 (removes superflous dependencies)

v0.2.1 - 2018-10-25

Added

  • implementation of the unproven embedded_hal::::digital::InputPin trait.

v0.2.0 - 2018-05-14

Changed

  • [breaking-change] moved to v0.2.x of embedded-hal.

v0.1.1 - 2018-02-13

Added

  • implementation of embedded_hal::blocking::Delay* traits in the form of the Delay zero sized type.

  • implementation of the embedded_hal::blocking::i2c traits in the form of the I2cdev newtype.

v0.1.0 - 2018-01-17

Initial release