pimoroni / inky

Combined library for V2/V3 Inky pHAT and Inky wHAT.
https://shop.pimoroni.com/?q=inky
MIT License
590 stars 122 forks source link

Make inky work with NVIDIA Jetson Nano #163

Closed andreicimpean closed 1 month ago

andreicimpean commented 1 year ago

Looks like I was able to set everything to work from a software point of view on Jetson Nano but there is a warning: --> Jetson.GPIO ignores setup()'s pull_up_down parameter Is this something that is preventing the use of inky or there could be another configuration issue that does this?

Gadgetoid commented 1 year ago

That sounds suspiciously like Jetson is using libgpio under the hood, with no support for pull up/down. When designing for the Pi we generally go by the assumption that it's possible to set board pull-ups or pull-downs, and thus don't populate resistors to handle this. You could populate an external resistor to handle this. It wouldn't be pretty, but it should work.

Gadgetoid commented 1 month ago

This may or may not be fixed with the latest release of Inky, which migrates us to libgpiod/gpiod (which now supports BIAS setting, though whether Jetson Nano has a recent enough kernel.. I know not!)

Anyway to be clear this is a "it might actually work now" rather than an "it's officially supported" since we don't have or use Jetson Nano or really any SBCs other than Pi (too many boards, too little time!)

Good luck!