feat(openthread): make esp_netif glue optional

Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
This commit is contained in:
Zhibin (Ryan) Wen
2026-04-22 19:30:07 +08:00
parent 7c1fd3fbbf
commit 6dddb155db
7 changed files with 51 additions and 26 deletions
+6
View File
@@ -100,6 +100,12 @@ if(NOT CONFIG_OPENTHREAD_DNS64_CLIENT)
"src/esp_openthread_dns64.c")
endif()
if(NOT CONFIG_OPENTHREAD_PLATFORM_NETIF)
list(APPEND exclude_srcs
"src/esp_openthread_lwip_netif.c"
"src/esp_openthread_netif_glue.c")
endif()
if(NOT CONFIG_FREERTOS_USE_TICKLESS_IDLE)
list(APPEND exclude_srcs
"src/port/esp_openthread_sleep.c")