-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow GPIO example built with Linux v6.10+
Since the commit dbcedec ("gpiolib: legacy: Remove unused gpio_request_array() and gpio_free_array()"), these functions had no users in kernel and were subsequently removed to simplify the library. These functions have been removed from GPIO examples for Linux v6.10+ to ensure compatibility across all kernel versions. Testing detail: - Tested on Raspberry Pi 5B with Raspberry Pi OS (Debian 12, Linux version 6.12.1-v8-16k+) - Verified the GPIO examples compile and load successfully - Verified GPIO17 interrupt turns on the LED (GPIO4) - Verified GPIO18 interrupt turns off the LED (GPIO4) Resolves: #285
- Loading branch information
1 parent
0b455a2
commit 26fb2ad
Showing
3 changed files
with
203 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.