This repository was archived by the owner on Jul 1, 2025. It is now read-only.
Releases: golemparts/rppal
Releases · golemparts/rppal
v0.22.1
v0.22.0
- Pwm: (Breaking change) Add support for
Pwm2andPwm3. - 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_pwmchipto 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
InvalidChannelerror. - Pwm: Add
TryFrom<u8>implementation forChannel.
v0.20.0
- Add support for Raspberry Pi Compute Module 5.
- Gpio: Add
set_biastoInputPin(contributed by @KronsyC). - Gpio: Add shared state button example (contributed by @CosminPerRam).
- Spi: Fix embedded HAL
SimpleHalSpiDevicetransactions to keep CS low between operations (contributed by @whatisbyandby). - Spi: (Breaking change) Change
SimpleHalSpiDevice::new()to require anSpiinstance, instead of a generic HAL bus (contributed by @whatisbyandby). - Uart: Check if
/dev/ttyAMA0exists and fall back to/dev/serial0when callingnew()on Raspberry Pi 5 or Compute Module 5.
v0.19.0
- Gpio: Add
Eventstruct, containing interrupt event details. - Gpio: (Breaking change) Add optional
debounceargument toset_interruptandset_async_interrupt. - Gpio: (Breaking change) Return an
Eventstruct when an interrupt is triggered, instead ofLevel.
v0.18.0
- Gpio: (Breaking change) Add support for mode
Nullfor uninitialized (FUNCSEL 31 (NULL)) pins on Raspberry Pi 5 (contributed by @lukeburong). - Gpio: Fix
InputPinmode 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-halto v1.0.0 (contributed by @reitermarkus).
v0.16.1
- Minor documentation changes.
v0.16.0
- (Breaking change) Update
embedded-halto v1.0.0-rc.2 (contributed by @reitermarkus). - (Breaking change) Update
embedded-halto v1.0.0-rc.1 (contributed by @mbuesch). - (Breaking change) Change Minimum Supported Rust Version (MSRV) to v1.60.0.
- Remove
Hardwarefield check in/proc/cpuinfo. - Fix device recognition for Raspberry PI Zero 2 W (2021) on Arch Linux (contributed by @denisandroid).