summaryrefslogtreecommitdiff
path: root/ports/esp32/modnetwork.h
AgeCommit message (Collapse)Author
2019-10-13remove ports/esp32Dan Halbert
2018-04-27esp32/modsocket: Add support for registering socket event callbacks.Damien George
The esp8266 uses modlwip.c for its usocket implementation, which allows to easily support callbacks on socket events (like when a socket becomes ready for reading). This is not as easy to do for the esp32 which uses the ESP-IDF-provided lwIP POSIX socket API. Socket events are needed to get WebREPL working, and this patch provides a way for such events to work by explicitly polling registered sockets for readability, and then calling the associated callback if the socket is readable.
2017-12-13esp32: Implement wired Ethernet via network.LAN().Eric Poulsen
Updates to Makefile, modnetwork.c, and addition of network_lan.c to implement `network.LAN()` object for wired PHY objects.