diff --git a/components/lwip/test_apps/main/CMakeLists.txt b/components/lwip/test_apps/main/CMakeLists.txt index bfd19d1277..012a9ca9e3 100644 --- a/components/lwip/test_apps/main/CMakeLists.txt +++ b/components/lwip/test_apps/main/CMakeLists.txt @@ -1,4 +1,4 @@ idf_component_register(SRCS "lwip_test.c" REQUIRES test_utils INCLUDE_DIRS "." - PRIV_REQUIRES unity lwip test_utils) + PRIV_REQUIRES unity lwip test_utils nvs_flash) diff --git a/components/lwip/test_apps/sdkconfig.defaults b/components/lwip/test_apps/sdkconfig.defaults index 168e08d4cd..de762f8fe1 100644 --- a/components/lwip/test_apps/sdkconfig.defaults +++ b/components/lwip/test_apps/sdkconfig.defaults @@ -1,2 +1,5 @@ CONFIG_UNITY_ENABLE_FIXTURE=y CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=n + +# Added to enable compilation of DHCP last IP restore feature +CONFIG_LWIP_DHCP_RESTORE_LAST_IP=y