openthread: Fix errors after disabling IPv4 in LwIP

This commit is contained in:
WanqQixiang
2023-03-09 11:19:31 +08:00
parent 7dd7498212
commit 44d1ee0d1d
4 changed files with 44 additions and 10 deletions
+5
View File
@@ -127,6 +127,11 @@ if(CONFIG_OPENTHREAD_ENABLED)
-Wno-maybe-uninitialized)
endif()
if(NOT CONFIG_OPENTHREAD_DNS64_CLIENT)
list(APPEND exclude_srcs
"port/esp_openthread_dns64.c")
endif()
if(CONFIG_OPENTHREAD_FTD)
set(device_type "OPENTHREAD_FTD=1")
elseif(CONFIG_OPENTHREAD_MTD)