feat: merge master Ethernet support into dev

Adapt W5500 to the native network event queue and select STA or ETH from NetworkSettings. Preserve the existing dev network settings and add a separate C6 Ethernet build without BLE to fit the OTA slot.

Validate with S3 and C6 Ethernet firmware builds, the shared LittleFS image, binary layout checks and targeted network transition checks.
This commit is contained in:
Yurii committed 2026-11-23 21:06:26 +03:00
commit 4e71915222
21 files changed
+1007 -158

No files matched your search

+13
View File
@@ -290,6 +290,19 @@ custom_sdkconfig = ${esp32_defaults.custom_sdkconfig}
'# CONFIG_COMPILER_CXX_GLIBCXX_CONSTEXPR_COLD is not set'
CONFIG_COMPILER_CXX_GLIBCXX_CONSTEXPR_NO_CHANGE=y
; W5500 support uses a separate build to fit the existing OTA slot.
[env:esp32_c6_ethernet]
extends = env:esp32_c6
lib_deps = ${esp32_defaults.lib_deps}
build_unflags = ${env:esp32_c6.build_unflags}
-DUSE_BLE
build_flags = ${env:esp32_c6.build_flags}
-D USE_ETHERNET=1
custom_sdkconfig = ${env:esp32_c6.custom_sdkconfig}
'# CONFIG_BT_ENABLED is not set'
CONFIG_ETH_USE_SPI_ETHERNET=y
CONFIG_ESP_NETIF_SET_DNS_PER_DEFAULT_NETIF=y
[env:otthing]
extends = esp32_defaults
board = lolin_c3_mini