adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
Other
4.11k stars 1.22k forks source link

Support for Olimex ESP32-POE Board #7337

Open ab-tools opened 1 year ago

ab-tools commented 1 year ago

As the Olimex ESP32-POE board is currently not listed on the CircuitPython downloads page I assume this is not supported so far: https://www.olimex.com/Products/IoT/ESP32/ESP32-POE-ISO/

That is a great board, however, and one of the very few (if not the only) option if you need a very compact and energy efficient board with PoE support.

Is there a chance CircuitPython could add support for this?

This would be highly appreciated, thanks for all the efforts with this great project. Andreas

dhalbert commented 1 year ago

We generally rely on board users or manufacturers to add third-party boards. If you'd like to try it yourself, see: https://learn.adafruit.com/how-to-add-a-new-board-to-circuitpython https://learn.adafruit.com/how-to-add-a-new-board-to-the-circuitpython-org-website

ab-tools commented 1 year ago

Hello Dan,

first thanks a lot for your reply quick reply which is much appreciated!

I would be happy to help with that and I do think that I could get it to work in WiFi mode as this board is based on the regular ESP32 chip - so copying the configuration from one of the already supported boards should work. Here the hardware configuration of that board from PlatformIO which supports it: https://docs.platformio.org/en/latest/boards/espressif32/esp32-poe-iso.html

The main challenge I see is adding support for the LAN8720 chip which is obviously a bit the point of this board (so using LAN instead of WiFi when PoE is used for power supply anyway).

As I understand MycroPython added support for it by this commit: https://github.com/petrkr/micropython/commit/bf1cf5eed874a4debf47fda9ef5fb482251f4df8

I would be happy to prepare a fork with new branch for this board based on an already supported Espressif 32 ESP32 board and obviously I could also do all the testing. But surely I would need some support from a more experienced CircuitPython developer to help adding support for this LAN chip.

Would you be able to support with this?

Thanks again Andreas

tannewt commented 1 year ago

I don't think supporting any LAN chips is a priority for Adafruit-funded folks in the near-term. We'd be happy to review and merge support though.