-
v2.4.1 - 04/21/2023
- GPIO
- Fix realtime timestamp reporting for line events in gpio-cdev v2 implementation.
- GPIO
-
v2.4.0 - 04/17/2023
- GPIO
- Avoid writing
directionandinvertedon open to retain existing state with sysfs GPIOs - Add support for gpio-cdev v2 ABI.
- Avoid writing
- Add type stubs.
- Contributors
- Juho Kim, @AussieSeaweed - ea1ecc2
- GPIO
-
v2.3.0 - 02/14/2021
- GPIO
- Add kernel version check for line bias support.
- Fix docstring for
close().
- SPI
- Add kernel version check for 32-bit mode support.
- MMIO
- Fix duplicate transactions in integral read and write methods.
- Fix memory offset of
pointerproperty.
- Contributors
- Michael Murton, @CrazyIvan359 - 9c1a4f3
- @paul-demo - b318a6a
- GPIO
-
v2.2.0 - 12/16/2020
- MMIO
- Add
pathkeyword argument to constructor for use with alternate memory character devices (e.g./dev/gpiomem).
- Add
- SPI
- Add support for 32-bit flags to
extra_flagsproperty and constructor.
- Add support for 32-bit flags to
- MMIO
-
v2.1.1 - 11/19/2020
- GPIO
- Add direction checks for improved error reporting to
write(),read_event(), andpoll()for character device GPIOs.
- Add direction checks for improved error reporting to
- Contributors
- Michael Murton, @CrazyIvan359 - 69bd36e
- GPIO
-
v2.1.0 - 05/29/2020
- GPIO
- Add
poll_multiple()static method. - Add line consumer
labelproperty. - Add line
bias, linedrive, andinvertedproperties. - Add additional properties as keyword arguments to constructor for character device GPIOs.
- Only unexport GPIO in
close()if exported in open for sysfs GPIOs. - Improve wording and fix typos in docstrings.
- Add
- Serial
- Fix performance of blocking read in
read(). - Raise exception on unexpected empty read in
read(), which may be caused by a serial port disconnect. - Add
vminandvtimeproperties for the corresponding termios settings. - Add support for termios timeout with
read(). - Improve wording in docstrings.
- Fix performance of blocking read in
- Contributors
- @xrombik - 444f778
- Alexander Steffen, @webmeister - f0403da
- GPIO
-
v2.0.1 - 01/08/2020
- PWM
- Add retry loop for opening PWM period file after export to accommodate delayed udev permission rule application.
- Contributors
- Jonas Larsson, @jonasl - 28653d4
- PWM
-
v2.0.0 - 10/28/2019
- GPIO
- Add support for character device GPIOs.
- Remove support for preserve direction from GPIO constructor.
- Add retry loop to direction write after export to accommodate delayed udev permission rule application for sysfs GPIOs.
- Unexport GPIO line on close for sysfs GPIOs.
- Fix handling of
timeout=Nonewith sysfs GPIOpoll(). - Add
devpathproperty.
- PWM
- Fix chip and channel argument names in PWM constructor and documentation.
- Add retry loop to PWM open after export to accommodate delayed creation of sysfs files by kernel driver.
- Unexport PWM channel on close.
- Add nanosecond
period_nsandduty_cycle_nsproperties. - Add
devpathproperty.
- LED
- Raise
LookupErrorinstead ofValueErrorif LED name is not found during open. - Add
devpathproperty.
- Raise
- Fix exception handling for Python 2 with
ioctl()operations in Serial, SPI, and I2C modules. - Fix
withstatement context manager support for all modules. - Update tests with running hints for Raspberry Pi 3.
- Contributors
- Uwe Kleine-König, @ukleinek - 0005260
- Heath Robinson, @ubiquitousthey - ac457d6
- GPIO
-
v1.1.2 - 06/25/2019
- Add LICENSE file to packaging.
-
v1.1.1 - 04/03/2018
- Fix handling of delayed pin directory export when opening a GPIO.
-
v1.1.0 - 10/24/2016
- Add support for preserving pin direction when opening GPIO.
- Improve GPIO poll() implementation to work with more platforms.
- Improve atomicity of MMIO fixed width writes.
- Add PWM module.
- Add LED module.
- Add support for universal wheel packaging.
- Contributors
- Sanket Dasgupta - 8ac7b40
- Joseph Kogut - 022ef29, d2e9132
- Hector Martin - 1e3343a
- Francesco Valla - 34b3877
-
v1.0.0 - 06/25/2015
- Initial release.