-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Along with get_pins_for_platform, most platform handling code should probably be dropped. It causes more problems than it solves, requiring downstream libraries to maintain a list of supported platforms and pin labels.
If manufacturers want their 40-pin GPIO header to be compatible with gpiod based libraries out of the box, they will need to copy the Raspberry Pi line labelling convention normalised here: raspberrypi/linux@bd9542b
Otherwise, users can just supply their own labels or (LineRequest, offset) tuples to describe the pins they want the library to use. Support for handling the latter case gracefully at the gpiodevice level is in progress here: #4
Metadata
Metadata
Assignees
Labels
No labels