Releases: golemparts/rppal
Releases · golemparts/rppal
v0.22.1
v0.22.0
- Pwm: (Breaking change) Add support for
Pwm2
andPwm3
. - Pwm: On Raspberry Pi 5 and later models, the PWM channel mapping has changed to be consistent with sysfs numbering.
Pwm0
= GPIO12,Pwm1
= GPIO13,Pwm2
= GPIO18,Pwm3
= GPIO19. - Pwm: Add
with_pwmchip
to address PWM channels outside of the default configuration.
v0.21.0
- Add support for Raspberry Pi Compute Module 5 Lite.
- Add support for Raspberry Pi 500.
- Pwm: (Breaking change) Add
InvalidChannel
error. - Pwm: Add
TryFrom<u8>
implementation forChannel
.
v0.20.0
- Add support for Raspberry Pi Compute Module 5.
- Gpio: Add
set_bias
toInputPin
(contributed by @KronsyC). - Gpio: Add shared state button example (contributed by @CosminPerRam).
- Spi: Fix embedded HAL
SimpleHalSpiDevice
transactions to keep CS low between operations (contributed by @whatisbyandby). - Spi: (Breaking change) Change
SimpleHalSpiDevice::new()
to require anSpi
instance, instead of a generic HAL bus (contributed by @whatisbyandby). - Uart: Check if
/dev/ttyAMA0
exists and fall back to/dev/serial0
when callingnew()
on Raspberry Pi 5 or Compute Module 5.
v0.19.0
- Gpio: Add
Event
struct, containing interrupt event details. - Gpio: (Breaking change) Add optional
debounce
argument toset_interrupt
andset_async_interrupt
. - Gpio: (Breaking change) Return an
Event
struct when an interrupt is triggered, instead ofLevel
.
v0.18.0
- Gpio: (Breaking change) Add support for mode
Null
for uninitialized (FUNCSEL 31 (NULL)) pins on Raspberry Pi 5 (contributed by @lukeburong). - Gpio: Fix
InputPin
mode not getting set correctly for uninitialized pins on Raspberry Pi 5 (contributed by @lukeburong). - Pwm: (Breaking change) Add
Error::UnknownModel
. - Pwm: Fix support for hardware PWM on Raspberry Pi 5, caused by incorrect PWM chip/channel.
v0.17.1
v0.17.0
- (Breaking change) Update
embedded-hal
to v1.0.0 (contributed by @reitermarkus).
v0.16.1
- Minor documentation changes.
v0.16.0
- (Breaking change) Update
embedded-hal
to v1.0.0-rc.2 (contributed by @reitermarkus). - (Breaking change) Update
embedded-hal
to v1.0.0-rc.1 (contributed by @mbuesch). - (Breaking change) Change Minimum Supported Rust Version (MSRV) to v1.60.0.
- Remove
Hardware
field check in/proc/cpuinfo
. - Fix device recognition for Raspberry PI Zero 2 W (2021) on Arch Linux (contributed by @denisandroid).