Skip to content

Releases: golemparts/rppal

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).

v0.15.0

18 Oct 14:13
0.15.0
1a443c4
Compare
Choose a tag to compare
  • Add support for Raspberry Pi 5 (thanks @ukscone for all the testing!).
  • Gpio: (Breaking change) Rename PullUpDown enum to Bias, and set_pullupdown to set_bias.
  • Gpio: Add support for new modes Alt6, Alt7 and Alt8.
  • I2c: Implement I2C transactions for embedded-hal (contributed by @CBJamo).

v0.14.1

25 Nov 06:22
0.14.1
452e287
Compare
Choose a tag to compare
  • Gpio: Fix subtract underflow panic in software-based PWM.

v0.14.0

09 Nov 15:41
0.14.0
b5fda32
Compare
Choose a tag to compare
  • (Breaking change) Transition to Rust 2021, requiring rustc v1.56.0 or newer to compile the library.
  • Gpio: Implement unproven embedded-hal trait digital::v2::IoPin<IoPin, IoPin> for IoPin (contributed by @rumatoest).
  • Gpio: Implement From<bool> trait for Level (contributed by @makerio90).
  • Gpio: Fix error when configuring an InputPin for GPIOs > 31 on BCM2711 (contributed by @benkard).
  • Gpio: Fix access to GPIO54 - GPIO57 on BCM2711.
  • Gpio: (Breaking change) Add Error::PinUsed, returned by Gpio::get() to indicate a pin is already in use.
  • Gpio: (Breaking change) Change Error::PinNotAvailable, returned by Gpio::get() to indicate a pin isn't available on the current Raspberry Pi model.
  • Update embedded-hal to v1.0.0-alpha.9 (contributed by @mbuesch).

v0.13.1

28 Oct 09:14
0.13.1
83c5d9c
Compare
Choose a tag to compare
  • DeviceInfo: Add device identification support for Raspberry Pi Compute Module 4 models with 4GB and 8GB RAM.
  • DeviceInfo: Add device identification support for Raspberry Pi Zero 2 W.