Code: Select all
set(wifi_srcs "")
if(CONFIG_AT_WIFI_ENABLED)
list(APPEND wifi_srcs "at_wifi.c")
else()
list(APPEND wifi_srcs "at_no_wifi.c")
endif()
idf.py size-components can help with troubleshooting.
Code: Select all
set(wifi_srcs "")
if(CONFIG_AT_WIFI_ENABLED)
list(APPEND wifi_srcs "at_wifi.c")
else()
list(APPEND wifi_srcs "at_no_wifi.c")
endif()