Skip to content

Releases: golemparts/rppal

v0.22.1

11 Dec 00:15
0.22.1
aae4747
Compare
Choose a tag to compare
  • Update example documentation to be compatible with both older and newer Pi models.

v0.22.0

10 Dec 23:55
0.22.0
faa5824
Compare
Choose a tag to compare
  • Pwm: (Breaking change) Add support for Pwm2 and Pwm3.
  • 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

10 Dec 16:18
0.21.0
160254f
Compare
Choose a tag to compare
  • 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 for Channel.

v0.20.0

30 Nov 20:52
0.20.0
3855b6c
Compare
Choose a tag to compare
  • Add support for Raspberry Pi Compute Module 5.
  • Gpio: Add set_bias to InputPin (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 an Spi instance, instead of a generic HAL bus (contributed by @whatisbyandby).
  • Uart: Check if /dev/ttyAMA0 exists and fall back to /dev/serial0 when calling new() on Raspberry Pi 5 or Compute Module 5.

v0.19.0

14 Aug 11:54
0.19.0
57e5a35
Compare
Choose a tag to compare
  • Gpio: Add Event struct, containing interrupt event details.
  • Gpio: (Breaking change) Add optional debounce argument to set_interrupt and set_async_interrupt.
  • Gpio: (Breaking change) Return an Event struct when an interrupt is triggered, instead of Level.

v0.18.0

18 May 13:08
0.18.0
68cf8bd
Compare
Choose a tag to compare
  • 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

21 Jan 15:27
0.17.1
77ec109
Compare
Choose a tag to compare
  • Fix is_low implementation for embedded_hal::digital::InputPin (contributed by @TeyKey1).

v0.17.0

15 Jan 15:41
0.17.0
cc9dc58
Compare
Choose a tag to compare
  • (Breaking change) Update embedded-hal to v1.0.0 (contributed by @reitermarkus).

v0.16.1

20 Dec 19:07
0.16.1
7625e09
Compare
Choose a tag to compare
  • Minor documentation changes.

v0.16.0

10 Dec 16:27
0.16.0
d169f58
Compare
Choose a tag to compare
  • (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).