IPv6 Support in micropython for ESP32 (or anything for that matter)
It looks like LWIP in the ESP-IDF being used for micropython has IPv6 support.
Is there an effort to take advantage of the yet? I found some documentation which stated that IPv6 support was "port" dependent, but I have yet to find any port of micropython with IPv6 support enabled.
It looks like the current build has IPv6 capabilities in the usocket module, but it looks like there are no IPv6 capabilities in the network or WLAN class implementations which means that the interface can't get an IPv6 address, etc.
I'm willing to put some effort into trying to do the needful, but the existing API seems to be so thoroughly incapable of understanding that there could possibly be any protocol other than IPv4 that I'm unsure how to go about providing a mergeable codebase that wouldn't break people's existing code.
Further, I'd like to know if there are any standard APIs for IPv6 interface configuration that I should be following as the existing interface configuration capabilities in the ESP32 port are quite thoroughly incapable of such.
Any pointers (or ideally a solution already developed) greatly appreciated.
esp32/network_ppp: Build with no IPv6 support.
PPP code assumes that IPv6 support is enabled. Whilst this is the default, certain applications may want to disable IPv6 support if not needed (or to reduce code size).
This makes the code build with CONFIG_LWIP_IPV6 disabled, reducing code by about 30k in that case.
In my particular case I do not need WiFi/IP support and I'm a bit short of flash space. Since there is no easy way to remove LwIP altogether all I can do is removing bits and pieces via configuration options. As a reference, ESP32_GENERIC shrunk by 29152 bytes with no IPv6 support.