From 1ace92c2790853411371e91706fd4a1969f55ebf Mon Sep 17 00:00:00 2001 From: David Cermak Date: Wed, 8 Oct 2025 16:43:14 +0200 Subject: [PATCH] fix(eppp): Fix test dependency issue on driver --- components/eppp_link/test/test_app/main/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/eppp_link/test/test_app/main/CMakeLists.txt b/components/eppp_link/test/test_app/main/CMakeLists.txt index c75a706cc..708acff79 100644 --- a/components/eppp_link/test/test_app/main/CMakeLists.txt +++ b/components/eppp_link/test/test_app/main/CMakeLists.txt @@ -1,4 +1,10 @@ +if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER "5.3") + set(driver_deps esp_driver_gpio esp_driver_spi esp_driver_uart esp_driver_sdio) +else() + set(driver_deps driver) +endif() + idf_component_register(SRCS app_main.c INCLUDE_DIRS "." REQUIRES test_utils - PRIV_REQUIRES unity nvs_flash esp_netif driver esp_event) + PRIV_REQUIRES unity nvs_flash esp_netif esp_event ${driver_deps})