lanefu Posted March 14, 2019 Posted March 14, 2019 You may have seen discussions around the forum regarding work being done by @adafruit using circuit python with Armbian, but I wanted to make sure this nice write-up had proper visibility.https://learn.adafruit.com/circuitpython-on-orangepi-linux/initial-setup
adafruit Posted March 14, 2019 Posted March 14, 2019 hiya @lanefu - thank you! more armbian boards are welcome (i had an orangepi on hand) if anyone would like to add support for their boards - we have libgpiod for easy-gpio control and use spidev/smbus for i2c/spi so adding other chips and boards is less than a day of effort we can help and mentor if you're not sure how - please open an issue or create a PR here https://github.com/adafruit/Adafruit_Blinka your devboard will get access to nearly 150 drivers and libraries - from OLEDs to sensors to LoRa radios - and more always on the way https://github.com/adafruit/Adafruit_CircuitPython_Bundle/blob/master/circuitpython_library_list.md 2
TonyMac32 Posted March 14, 2019 Posted March 14, 2019 I have Tritium h3 started in their system, it just needs the board ID bit done, but that's a bit of a hairball, not sure how to do it better since I'm a Python Noob.
adafruit Posted March 14, 2019 Posted March 14, 2019 @TonyMac32you can start a PR here https://github.com/adafruit/Adafruit_Python_PlatformDetect/pulls theres no magic way to detect, we wish there was a mix of grepping files usually gets ya there
TonyMac32 Posted March 14, 2019 Posted March 14, 2019 Right, I did it once before the new platform detection code was merged, I just didn't go through the effort of doing it again yet and submitting a PR since it doesn't seem sustainable for the number of boards we have, let alone the other targets. I am designing some hardware of my own however, and I want to take a closer look at this.
adafruit Posted March 14, 2019 Posted March 14, 2019 ok - hopefully its sustainable now we've split chip/board definitions so if its an allwinner chip, we can recycle that collection of pins to create a large variety of boards
Recommended Posts