Gpio: Fix subtract underflow panic in software-based PWM.
0.14.0 (November 9, 2022)
(Breaking change) Transition to Rust 2021, requiring rustc v1.56.0 or newer to compile the library.
Gpio: Implement unprovenembedded-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).
0.13.1 (October 28, 2021)
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.
0.13.0 (September 27, 2021)
Add support for embedded-hal v1.0.0-alpha.5 (contributed by @reitermarkus).
Gpio: Add into_output_low() and into_output_high() to Pin to set the logic level before changing the pin mode.
Gpio: Implement From<u8> trait for Level, where 0 is converted into Level::Low, and any other value into Level::High.
0.12.0 (April 17, 2021)
(Breaking change) Require rustc v1.45.0 or newer to compile the library due to std API stabilizations.
DeviceInfo: (Breaking change) Replace manual non-exhaustive pattern implementations for Model and SoC with #[non_exhaustive].
DeviceInfo: Add device identification support for Raspberry Pi 4 B v1.2, Raspberry Pi 400 and Raspberry Pi Compute Module 4.
Gpio: Fix built-in pull-up/pull-down resistor support for Raspberry Pi 4 B (contributed by @Dragonrun1).
Gpio: Add BCM2711 ioctl support (contributed by @foxzool).
Hal: (Breaking change) Upgrade embedded-hal trait implementations for digital::v1::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin} to digital::v2. These can be explicitly converted back to digital::v1 through digital::v1_compat::{OldInputPin, OldOutputPin} for backwards compatibility with older drivers.
I2c: Accept slave addresses below 0x08 (contributed by @Majkl578).
I2c: Add documentation for I2C3, I2C4, I2C5 and I2C6.
Pwm: Improve error messages (contributed by @binarybana).
Pwm: Improve documentation for Ubuntu (contributed by @binarybana).
Spi: (Breaking change) Add support for SPI3, SPI4, SPI5 and SPI6.
0.11.3 (June 24, 2019)
DeviceInfo: Add device identification support for Raspberry Pi 4 B. (Support for the new peripherals will be added in 0.12.0)
0.11.2 (May 2, 2019)
Add hal-unproven feature flag (disabled by default), which enables unprovenembedded-hal trait implementations. Note that embedded-hal's unproven traits don't follow semver rules. Patch releases may introduce breaking changes.
Gpio: Implement Sync trait for IoPin and OutputPin.
Gpio: Implement unprovenembedded-hal trait digital::InputPin for Pin, InputPin, OutputPin and IoPin.
Gpio: Implement unprovenembedded-hal traits digital::{StatefulOutputPin, ToggleableOutputPin} and Pwm for OutputPin and IoPin.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on rppal to permit the latest version.
Release notes
Sourced from rppal's releases.
Changelog
Sourced from rppal's changelog.
... (truncated)
Commits
452e287
Bump version to 0.14.16d89f1f
Update documentatione5e1dd4
Fix subtract underflow in softpwma54b4b7
Transition from Travis CI to GitHub Actionsb5fda32
Update documentation9fda851
Update documentation77890e9
Update documentation5c45691
Fix error in unproven HAL traits for v0.2.7fd27e5c
Update documentation1761423
Add missing revision codesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)