Skip to content

Commit ff4c29f

Browse files
committed
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 espressif/arduino-esp32#6242 Proper IPv6 support also was requested in: espressif/arduino-esp32#6626 espressif/arduino-esp32#6590 espressif/arduino-esp32#6283 espressif/arduino-esp32#6703 espressif/arduino-esp32#5624 espressif/arduino-esp32#1261 And many others. Signed-off-by: Denys Fedoryshchenko <[email protected]>
1 parent bf3d652 commit ff4c29f

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

Diff for: configs/defconfig.esp32

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,5 @@ CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=10
7070
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=2
7171
CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=4096
7272
# CONFIG_USE_WAKENET is not set
73-
# CONFIG_USE_MULTINET is not set
73+
# CONFIG_USE_MULTINET is not set
74+
CONFIG_LWIP_IPV6_AUTOCONFIG=y

Diff for: configs/defconfig.esp32c3

+1
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ CONFIG_LWIP_DHCP_RESTORE_LAST_IP=y
3030
CONFIG_MBEDTLS_PSK_MODES=y
3131
CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y
3232
CONFIG_MBEDTLS_CAMELLIA_C=y
33+
CONFIG_LWIP_IPV6_AUTOCONFIG=y

Diff for: configs/defconfig.esp32s2

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,5 @@ CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=10
7272
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=2
7373
CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=4096
7474
# CONFIG_USE_WAKENET is not set
75-
# CONFIG_USE_MULTINET is not set
75+
# CONFIG_USE_MULTINET is not set
76+
CONFIG_LWIP_IPV6_AUTOCONFIG=y

Diff for: configs/defconfig.esp32s3

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,5 @@ CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=4096
7676
CONFIG_SR_WN_MODEL_WN8_QUANT=y
7777
CONFIG_SR_WN_WN8_HIESP=y
7878
CONFIG_SR_MN_ENGLISH=y
79-
CONFIG_SR_MN_EN_MULTINET5_SINGLE_RECOGNITION_QUANT8=y
79+
CONFIG_SR_MN_EN_MULTINET5_SINGLE_RECOGNITION_QUANT8=y
80+
CONFIG_LWIP_IPV6_AUTOCONFIG=y

0 commit comments

Comments
 (0)