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 async
DelayNs
implementation fortokio
.
v0.4.0 - 2024-01-10
- Updated to
embedded-hal
1.0.0
release (API changes) - Updated to
embedded-hal-nb
1.0.0
release (API changes)
v0.4.0-alpha.4 - 2024-01-03
- [breaking-change] Replace serial-rs with the serialport-rs crate.
Serial::open
now needs a baud-rate argument as well. - [breaking-change] Split
Spidev
intoSpidevDevice
andSpidevBus
, implementing the respectiveSpiDevice
andSpiBus
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.
- Fix using SPI transfer with unequal buffer sizes (#97, #98).
v0.4.0-alpha.3 - 2022-08-04
- Added feature flag for
spi
andi2c
- Updated to
embedded-hal
1.0.0-alpha.8
release (API changes)
v0.4.0-alpha.2 - 2022-02-15
- Mappings for
embedded-hal
error kinds
- Updated to
embedded-hal
1.0.0-alpha.7
release (significant API changes) - Updated dependencies to force use of newer nix version
spidev
to version0.5.1
i2cdev
to version0.5.1
gpio-cdev
to version0.5.1
sysfs_gpio
to version0.6.1
v0.4.0-alpha.1 - 2021-10-07
- Implement
embedded_hal::digital::blocking::IoPin
forCdevPin
andSysfsPin
CountDown
implementation forSysTimer
.Default
implementation forSysTimer
.
- Modified
OutputPin
behavior for active-low pins to matchInputPin
behavior. - Set default features to build both sysfs and cdev pin types.
- Removed
Pin
export, useCdevPin
orSysfsPin
. - Adapted to
embedded-hal
1.0.0-alpha.5
release. - Increased the Minimum Supported Rust Version to
1.46.0
due to an update ofbitflags
. - Updated
spidev
to version0.5
. - Updated
i2cdev
to version0.5
. - Updated
gpio-cdev
to version0.5
. - Updated
sysfs_gpio
to version0.6
. - Updated
nb
to version1
.
v0.3.2 - 2021-10-25
- Readd
Pin
type export as an alias toSysfsPin
for compatibility with the0.3.0
version.
v0.3.1 - 2021-09-27
- Added implementation of transactional SPI and I2C traits.
CountDown
implementation forSysTimer
.Default
implementation forSysTimer
.
- Set default features to build both sysfs and cdev pin types.
- Removed
Pin
export, useCdevPin
orSysfsPin
. - Updated
embedded-hal
to version0.2.6
. - Updated
nb
to version0.1.3
. - Updated
gpio-cdev
to version0.5
. - Updated
i2cdev
to version0.5
. - Updated
spidev
to version0.5
. - Updated
sysfs-gpio
to version0.6
. - Updated
cast
to version0.3
.
- Modified
OutputPin
behavior for active-low pins to matchInputPin
behavior.
v0.3.0 - 2019-11-25
- Added serial::Read/Write implementation.
- Added feature flag for Chardev GPIO
- Do write and read in one transaction in WriteRead implementation.
- Removed #[deny(warnings)]
- 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
- updated to i2cdev 0.4.1 (removes superflous dependencies)
v0.2.1 - 2018-10-25
- implementation of the unproven
embedded_hal::::digital::InputPin
trait.
v0.2.0 - 2018-05-14
- [breaking-change] moved to v0.2.x of
embedded-hal
.
v0.1.1 - 2018-02-13
-
implementation of
embedded_hal::blocking::Delay*
traits in the form of theDelay
zero sized type. -
implementation of the
embedded_hal::blocking::i2c
traits in the form of theI2cdev
newtype.
Initial release