cesanta / mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
https://mongoose-os.com
Other
2.5k stars 427 forks source link

[enhancement] ESP32 Ethernet support #228

Closed muhlpachr closed 7 years ago

muhlpachr commented 7 years ago

Reference HW https://olimex.wordpress.com/2017/02/09/esp32-evb-our-new-board-for-iot-first-prototypes-are-ready/

cpq commented 7 years ago

Fantastic. We'll start on it shortly.

cpq commented 7 years ago

Work in progress, cannot give an estimate yet, soon we'll have it.

tusharvb19 commented 7 years ago

It will be great if it works with LAN8720 and also with Wiznet5100 or ENC28J60. As in IOT ehternet can be the main source for industrial gateways. Waiting for the development and if there is any way we can use this hardware as we use in arduino using arduino API. TIA.

rojer commented 7 years ago

LAN87x0 and TLK100 are now supported, please see https://github.com/mongoose-os-libs/ethernet

ESP32 includes EMAC and only needs a PHY. I don't see a compelling reason to use ENC28J60 (which includes a MAC), let alone Wiznet 5100 (which is everything + a kitchen sink kinda chip). May save a couple pins (though SPI is at least 3 pins, 4 with CS), but requires more complexity on the software side, for what seems like little benefit. @tusharvb19 if you see reasons for us to support these more full-featured controllers, please file a separate issue.

tusharvb19 commented 7 years ago

Thanks for the work👍