adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
439 stars 327 forks source link

Added Pi 5 Support + Fixed libgpiod pulls #728

Closed makermelissa closed 8 months ago

makermelissa commented 8 months ago

This adds support for the Raspberry Pi 5 as well as the Compute Module 4S (untested). RPi.GPIO is not currently working on the Pi 5 and since we already had a pin for libgpiod, I went with that. In order to maintain compatibility, I updated the code to fix the pullups and pulldowns, which should be helpful for other boards that use libgpiod.

makermelissa commented 8 months ago

Fair enough. I'll do further testing and submit a followup PR if necessary.