We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a6cf0f commit 1ace92cCopy full SHA for 1ace92c
components/eppp_link/test/test_app/main/CMakeLists.txt
@@ -1,4 +1,10 @@
1
+if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER "5.3")
2
+ set(driver_deps esp_driver_gpio esp_driver_spi esp_driver_uart esp_driver_sdio)
3
+else()
4
+ set(driver_deps driver)
5
+endif()
6
+
7
idf_component_register(SRCS app_main.c
8
INCLUDE_DIRS "."
9
REQUIRES test_utils
- PRIV_REQUIRES unity nvs_flash esp_netif driver esp_event)
10
+ PRIV_REQUIRES unity nvs_flash esp_netif esp_event ${driver_deps})
0 commit comments