I've been recently experimenting a bit with Micropython's Unix port on the Raspberry Pi 3B+ (with Raspberry Pi OS) and found it really nice & lightweight. However, there is unfortunately no support for I2C or SPI required to communicate with most sensors and displays... Is it possible (with reasonable effort) to generate bindings to one the following C libraries (for which Python bindings already exist)?
- wiringPi: https://github.com/WiringPi/WiringPi
- Linux SMBus library (for I2C): https://github.com/ev3dev/i2c-tools/blo ... /i2c-dev.h
I saw that there is a git repo containing a bare-metal port for the Raspberry Pi 1/Zero (with Broadcom BCM2835 CPU), however that library won't work for newer models, I guess...
Thanks for your help in advance!