From d47c7ba4b94aa822f7cedc8bdc2a012d806042d8 Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Sat, 7 May 2022 20:50:54 +0300 Subject: [PATCH] sdkconfig: Add CONFIG_LWIP_IPV6_AUTOCONFIG for IPv6 SLAAC To use IPv6 we need proper SLAAC support which is not possible without this option. Compile tested on esp32, esp32s2, esp32s3, esp32c3 Functionality tested in esp32 BasicHttpClient with some minor patches, IPv6 start to work. No significant sketch size increase (probably within rounding bounds): Before: Wrote 875328 bytes (558896 compressed) at 0x00010000 in 9.0 seconds (effective 779.4 kbit/s)... After: Wrote 875328 bytes (558942 compressed) at 0x00010000 in 9.0 seconds (effective 779.8 kbit/s)... This patch part of the efforts mentioned in https://github.com/espressif/arduino-esp32/issues/6242 Proper IPv6 support also was requested in: https://github.com/espressif/arduino-esp32/issues/6626 https://github.com/espressif/arduino-esp32/issues/6590 https://github.com/espressif/arduino-esp32/issues/6283 https://github.com/espressif/arduino-esp32/issues/6703 https://github.com/espressif/arduino-esp32/issues/5624 https://github.com/espressif/arduino-esp32/issues/1261 And many others. Signed-off-by: Denys Fedoryshchenko --- configs/defconfig.common | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/defconfig.common b/configs/defconfig.common index 7eb4e4074..59dd41dc4 100644 --- a/configs/defconfig.common +++ b/configs/defconfig.common @@ -68,3 +68,4 @@ CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=4096 # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096 CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=0 +CONFIG_LWIP_IPV6_AUTOCONFIG=y