adafruit / Adafruit_Blinka

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

Minimal support for generic linux pc #647

Closed bablokb closed 1 year ago

bablokb commented 1 year ago

This pull requests adds minimal support for boards with id 'GENERIC_LINUX_PC'. With this patch, an import board no longer fails and board.board_id is something to work with.

I am using this together with @FoamyGuy s https://github.com/FoamyGuy/Blinka_Displayio_PyGameDisplay package to run CircuitPython-code on a normal linux-box (mainly to create screenshots). With this patch, import board does not fail anymore.