mirror of
https://github.com/vsergeev/c-periphery.git
synced 2026-02-05 22:52:35 +08:00
8.3 KiB
8.3 KiB
-
v2.5.0 - 11/02/2025
- MMIO
- Add
read64()andwrite64()APIs.
- Add
- SPI
- Add
spi_transfer_advanced()API for transferring multiple messages, with optional deselect between messages, deselect delay, and word delay.
- Add
- GPIO
- Add open configuration, getters, and setters for event clock.
- Add open configuration, getters, and setters for debounce period.
- LED
- Add getter and setter for trigger.
- Add
led_get_triggers_entry()andled_get_triggers_count()APIs for querying triggers list.
- Build
- Add shared library target to Makefile.
- Use . for shared library SONAME under CMake.
- MMIO
-
v2.4.3 - 02/28/2025
- Fix memory safety with some older
strerror_r()implementations in error formatters for all modules. - Build
- Fix character device GPIO support tests in Makefile for alternate shells and older versions of make.
- Fix cross-compilation in Makefile from Windows.
- Fix CMake minimum required version.
- Add CMake package generation.
- Contributors
- Fix memory safety with some older
-
v2.4.2 - 07/05/2023
- GPIO
- Fix building under Linux kernel headers missing realtime event timestamp support in the gpio-cdev v2 ABI.
- GPIO
-
v2.4.1 - 04/21/2023
- GPIO
- Fix realtime timestamp reporting for line events in gpio-cdev v2 implementation.
- GPIO
-
v2.4.0 - 03/31/2023
- GPIO
- Add support for gpio-cdev v2 ABI.
- GPIO
-
v2.3.1 - 01/05/2021
-
v2.3.0 - 12/16/2020
- MMIO
- Add advanced open function with device path for use with
alternate memory character devices (e.g.
/dev/gpiomem).
- Add advanced open function with device path for use with
alternate memory character devices (e.g.
- SPI
- Add getter and setter for 32-bit extra flags.
- Add advanced open function with 32-bit extra flags.
- Build
- Enable unused parameter warning.
- Contributors
- Rémy Dziemiaszko, @remdzi -
b8adb42
- Rémy Dziemiaszko, @remdzi -
- MMIO
-
v2.2.5 - 11/19/2020
- GPIO
- Add direction checks for improved error reporting to
gpio_write(),gpio_read_event(), andgpio_poll()for character device GPIOs. - Improve string handling in
gpio_open()and in getters for sysfs and character device GPIOs.
- Add direction checks for improved error reporting to
- LED
- Improve string handling in
led_open()andled_name().
- Improve string handling in
- Build
- Add default optimization to CFLAGS in Makefile.
- Add debug and release CFLAGS to CMakeLists.txt.
- GPIO
-
v2.2.4 - 09/11/2020
- Fix future spurious close caused by uncleared handle state after an error during open in GPIO, I2C, SPI, Serial, and MMIO modules.
-
v2.2.3 - 09/03/2020
- GPIO
- Disable character device GPIO support when building with older Linux kernel headers missing line event support in the gpio-cdev ABI.
- SPI
- Fix formatted bits per word truncation in
spi_tostring().
- Fix formatted bits per word truncation in
- Build
- Add test for character device GPIO support in Linux kernel headers to Makefile.
- Contributors
- Fabrice Fontaine, @ffontaine -
5b81b89
- Fabrice Fontaine, @ffontaine -
- GPIO
-
v2.2.2 - 07/24/2020
- GPIO
- Add conditional compilation of character device GPIO support to allow build under older Linux kernel headers.
- Increase feature test macro version to fix missing definition warnings.
- Build
- Fix directory paths for pkg-config pc file generation and installation under CMake.
- Fix COMMIT_ID identification when building within a parent git repository under CMake.
- Add CMake build option for tests.
- Contributors
- GPIO
-
v2.2.1 - 05/31/2020
- GPIO
- Add feature test macro for POLLRDNORM flag to fix build with uClibc.
- Fix argument name in prototype for
gpio_set_bias().
- Contributors
- Joris Offouga, @jorisoffouga -
cfc722e
- Joris Offouga, @jorisoffouga -
- GPIO
-
v2.2.0 - 05/29/2020
- GPIO
- Add
gpio_poll_multiple()function. - Add getter for line consumer label.
- Add getters and setters for line bias, line drive, and inverted properties.
- Add advanced open functions with additional properties for character device GPIOs.
- Only unexport GPIO in
gpio_close()if exported ingpio_open_sysfs()for sysfs GPIOs. - Add retry loop to direction write after export to accommodate delayed
udev permission rule application in
gpio_open_sysfs()for sysfs GPIOs. - Improve wording and fix typos in documentation.
- Add
- Serial
- Add getters and setters for vmin and vtime termios settings.
- Add support for termios timeout with
serial_read(). - Improve wording in documentation.
- Build
- Add CMake build support.
- Add pkg-config pc file generation.
- Contributors
- GPIO
-
v2.1.0 - 01/07/2020
- Add LED module.
- Add PWM module.
- Clean up internal string handling in SPI and GPIO modules.
-
v2.0.1 - 10/08/2019
- Initialize handle state in new functions of all modules.
- Fix performance of blocking read in
serial_read(). - Return error on unexpected empty read in
serial_read(), which may be caused by a serial port disconnect. - Improve formatting of
spi_tostring(). - Fix typo in GPIO module documentation.
- Fix cross-compilation support in Makefile to allow override of CC variable.
-
v2.0.0 - 09/30/2019
- Add support for character device GPIOs (
gpio-cdev) to the GPIO module.- Remove support for preserve direction in
gpio_open(). - Remove problematic dummy read with sysfs GPIOs from
gpio_poll(). - Unexport sysfs GPIOs in
gpio_close().
- Remove support for preserve direction in
- Migrate to opaque handles with new/free functions in all modules.
- Simplify error codes for MMIO, I2C, and Serial modules.
- Fix typos in GPIO module documentation.
- Update tests with running hints for Raspberry Pi 3.
- Improve cross-compilation support in Makefile.
- Contributors
- Add support for character device GPIOs (
-
v1.1.3 - 04/28/2018
- Fix data's most significant bit getting stripped when opening a serial
port with parity enabled in
serial_open_advanced(). - Contributors
- Ryan Barnett, @rjbarnet -
537eeac
- Ryan Barnett, @rjbarnet -
- Fix data's most significant bit getting stripped when opening a serial
port with parity enabled in
-
v1.1.2 - 04/01/2018
-
v1.1.1 - 04/25/2017
- Fix blocking
gpio_poll()for some platforms. - Add library version macros and functions.
- Contributors
- Михаил Корнилов, @iTiky -
0643fe9
- Михаил Корнилов, @iTiky -
- Fix blocking
-
v1.1.0 - 09/27/2016
- Add support for preserving pin direction to
gpio_open(). - Fix enabling input parity check in
serial_set_parity(). - Fix enabling hardware flow control in
serial_set_rtscts(). - Include missing header to fix build with musl libc.
- Omit unsupported serial baudrates to fix build on SPARC.
- Contributors
- Add support for preserving pin direction to
-
v1.0.3 - 05/25/2015
- Fix portability of serial baud rate set/get with termios-provided baud rate functions.
- Fix unlikely bug in
spi_tostring()formatting. - Clean up integer argument signedness in serial API.
-
v1.0.2 - 01/31/2015
- Fix
gpio_supports_interrupts()so it does not return an error if interrupts are not supported. - Fix
errnopreservation in a few error paths, mostly in the open functions.
- Fix
-
v1.0.1 - 12/26/2014
- Improve Makefile.
- Fix _BSD_SOURCE compilation warnings.
-
v1.0.0 - 05/15/2014
- Initial release.