ci(network): fixed dependencies for misc network and wifi related test apps

This commit is contained in:
Marius Vikhammer
2025-10-14 19:35:16 +08:00
parent 5ab96242e8
commit 4b2a8b946f
10 changed files with 23 additions and 4 deletions
@@ -4,7 +4,7 @@ idf_component_register(SRCS
"test_bss_max_idle.c"
PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
PRIV_REQUIRES cmock test_utils nvs_flash ulp esp_common esp_wifi esp_event
PRIV_REQUIRES cmock test_utils nvs_flash esp_common esp_wifi esp_event
WHOLE_ARCHIVE)
add_definitions(-DCONFIG_ESP_WIFI_BSS_MAX_IDLE_SUPPORT)
@@ -1,4 +1,4 @@
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
PRIV_REQUIRES cmock test_utils nvs_flash ulp esp_common esp_wifi esp_event
PRIV_REQUIRES cmock test_utils nvs_flash esp_common esp_wifi esp_event
WHOLE_ARCHIVE)
@@ -3,4 +3,7 @@ cmake_minimum_required(VERSION 3.22)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
set(COMPONENTS main)
project(phy_tsens)
@@ -1 +1,2 @@
idf_component_register(SRC_DIRS .)
idf_component_register(SRC_DIRS .
PRIV_REQUIRES console esp_wifi esp_driver_tsens nvs_flash esp_pm)
@@ -3,4 +3,8 @@
cmake_minimum_required(VERSION 3.22)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
set(COMPONENTS main)
project(esp_netif_build_config)
@@ -1,2 +1,3 @@
idf_component_register(SRCS "netif_init_c99.c" "main.cpp" "netif_init_cpp.cpp"
PRIV_REQUIRES nvs_flash esp_wifi wpa_supplicant
INCLUDE_DIRS ".")
@@ -7,4 +7,8 @@ cmake_minimum_required(VERSION 3.22)
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
set(COMPONENTS main)
project(mqtt_tcp)
@@ -1,3 +1,4 @@
idf_component_register(SRCS "mqtt_app.cpp"
INCLUDE_DIRS ".")
INCLUDE_DIRS "."
PRIV_REQUIRES nvs_flash esp_event esp_netif mqtt)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
@@ -3,4 +3,8 @@
cmake_minimum_required(VERSION 3.22)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
set(COMPONENTS main)
project(net_suite)
@@ -1,2 +1,3 @@
idf_component_register(SRCS "net_suite.c" "stdinout.c"
PRIV_REQUIRES esp_event esp_netif vfs esp_driver_uart console
INCLUDE_DIRS ".")