Releases: rust-embedded/embedded-hal
Releases · rust-embedded/embedded-hal
embedded-hal-async release 0.1.0-alpha.2
Added
- spi: added a transaction helper macro as a workaround for the raw pointer workaround.
Changed
- Updated
embedded-hal
to version1.0.0-alpha.9
.
embedded-can release 0.4.1
Removed
- Unnecessary
embedded-hal
dependency.
embedded-can release 0.4.0
Release of version of the traits extracted from embedded-hal
.
embedded-hal-nb release 1.0.0-alpha.0
First release to crates.io
Embedded-hal-bus release 0.1.0-alpha.0
First release to crates.io
Embedded-hal-async Release 0.1.0-alpha.1
Changed
- spi: device helper methods (
read
,write
,transfer
...) are now default methods inSpiDevice
instead of anSpiDeviceExt
extension trait. - spi: the
SpiDevice::transaction
closure now gets a raw pointer to theSpiBus
to work around Rust borrow checker limitations.
Embedded-hal-async release 0.1.0-alpha.0
Initial release to crates.io
Release 1.0.0-alpha.8
*** 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 intoSpiReadBus
,SpiWriteBus
andSpiBus
(read-write).spi
: AddSpiDevice
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, addflush
to wait until finished.
Removed
- ADC traits:
adc::nb::OneShot
andadc::nb::Channel
.
Release 1.0.0-alpha.7
*** This is (also) an alpha release with breaking changes (sorry) ***
Added
Error
traits for CAN, SPI, I2C and Serial are implemented forInfallible
.
Fixed
- Fixed blanket impl of
DelayUs
not covering thedelay_ms
method.
Changed
spi
: traits now enforce all impls on the same struct (egTransfer
andWrite
) have the sameError
type.digital
: traits now enforce all impls on the same struct have the sameError
type.serial
: traits now enforce all impls on the same struct have the sameError
type.i2c
: traits now enforce all impls on the same struct have the sameError
type.i2c
: unify all traits into a singleI2c
trait.
Removed
Release 0.2.7
Added
- Backport CAN interface from the upcoming 1.0 release.