This pull request adds "transparent" support for the Beaglebone Black; board detection is done by trying to import the relevant RPi modules and trying to fall back to the BBone ones if available.
The extremely minor GPIO/SPI object differences are already taken care of, and a sensible pinout default is provided.
I also wrote some documentation about the recommended pinout, how to specify a custom one and how to enable the spidev device on the Beaglebone Black.
This pull request adds "transparent" support for the Beaglebone Black; board detection is done by trying to import the relevant RPi modules and trying to fall back to the BBone ones if available.
The extremely minor GPIO/SPI object differences are already taken care of, and a sensible pinout default is provided.
I also wrote some documentation about the recommended pinout, how to specify a custom one and how to enable the spidev device on the Beaglebone Black.