Skip to content

Conversation

@sebiciobanu
Copy link

This commit replaces the deprecated wiringpi library with gpiod for GPIO control, ensuring compatibility with modern Debian-based systems like Bookworm.

The following changes were made:

  • Replaced wiringpi function calls with their gpiod C++ equivalents in microphone_array.cpp and uart_control.cpp.
  • Updated CMakeLists.txt files to find and link against gpiodcxx using pkg-config.
  • Updated debian/control and .drone.yml to use libgpiod-dev and libgpiod2 instead of wiringpi.
  • Removed unused <wiringPi.h> includes from demo applications.
  • Set the C++ standard to C++17, as required by the gpiod C++ bindings.

This commit replaces the deprecated `wiringpi` library with `gpiod` for GPIO control, ensuring compatibility with modern Debian-based systems like Bookworm.

The following changes were made:
- Replaced `wiringpi` function calls with their `gpiod` C++ equivalents in `microphone_array.cpp` and `uart_control.cpp`.
- Updated `CMakeLists.txt` files to find and link against `gpiodcxx` using `pkg-config`.
- Updated `debian/control` and `.drone.yml` to use `libgpiod-dev` and `libgpiod2` instead of `wiringpi`.
- Removed unused `<wiringPi.h>` includes from demo applications.
- Set the C++ standard to C++17, as required by the `gpiod` C++ bindings.
@sebiciobanu
Copy link
Author

Done

@sebiciobanu sebiciobanu reopened this Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant