Merge branch 'refactor/use_new_component_registration_functions' into 'master'
CMake: Use new component registration function See merge request espressif/esp-idf!8068
This commit is contained in:
commit
62426a6c90
71 changed files with 195 additions and 268 deletions
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity)
|
|
@ -1,4 +1,4 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils app_update bootloader_support nvs_flash
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils app_update bootloader_support nvs_flash
|
||||
)
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity bootloader_support app_update)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity bootloader_support app_update)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
if(CONFIG_BT_ENABLED OR CMAKE_BUILD_EARLY_EXPANSION)
|
||||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity nvs_flash bt)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity nvs_flash bt)
|
||||
endif()
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS .
|
||||
INCLUDE_DIRS .
|
||||
PRIV_INCLUDE_DIRS .
|
||||
PRIV_REQUIRES unity test_utils console)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity)
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS . param_test
|
||||
INCLUDE_DIRS include param_test/include
|
||||
REQUIRES unity test_utils driver nvs_flash esp_serial_slave_link infrared_tools)
|
||||
PRIV_INCLUDE_DIRS include param_test/include
|
||||
PRIV_REQUIRES unity test_utils driver nvs_flash esp_serial_slave_link infrared_tools)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "." "include"
|
||||
PRIV_INCLUDE_DIRS "." "include"
|
||||
PRIV_INCLUDE_DIRS "../private_include"
|
||||
REQUIRES unity test_utils efuse bootloader_support
|
||||
PRIV_REQUIRES unity test_utils efuse bootloader_support
|
||||
)
|
|
@ -1,7 +1,7 @@
|
|||
if(IDF_TARGET STREQUAL "esp32")
|
||||
idf_component_register(SRC_DIRS .
|
||||
INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
|
||||
REQUIRES unity test_utils nvs_flash ulp esp_common
|
||||
PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
|
||||
PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test_tjpgd_logo.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
if(IDF_TARGET STREQUAL "esp32s2")
|
||||
idf_component_register(SRC_DIRS .
|
||||
INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
|
||||
REQUIRES unity test_utils nvs_flash ulp esp_common
|
||||
PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
|
||||
PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test_tjpgd_logo.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS .
|
||||
REQUIRES unity spi_flash
|
||||
PRIV_REQUIRES unity spi_flash
|
||||
)
|
|
@ -1,4 +1,4 @@
|
|||
idf_component_register(SRC_DIRS .
|
||||
INCLUDE_DIRS .
|
||||
PRIV_INCLUDE_DIRS .
|
||||
PRIV_REQUIRES unity test_utils esp_eth esp_http_client
|
||||
)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils esp_http_client)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils esp_http_client)
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils esp_http_server)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils esp_http_server)
|
|
@ -1,5 +1,3 @@
|
|||
set(COMPONENT_SRCDIRS ".")
|
||||
set(COMPONENT_PRIV_INCLUDEDIRS "../private_include" ".")
|
||||
set(COMPONENT_PRIV_REQUIRES unity test_utils esp_netif nvs_flash)
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRC_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "../private_include" "."
|
||||
PRIV_REQUIRES unity test_utils esp_netif nvs_flash)
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils)
|
|
@ -1,6 +1,6 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "../private_include"
|
||||
REQUIRES unity test_utils)
|
||||
PRIV_REQUIRES unity test_utils)
|
||||
|
||||
if(CONFIG_ESP_TIMER_IMPL_FRC2)
|
||||
idf_build_set_property(COMPILE_DEFINITIONS "-DESP_TIMER_DYNAMIC_OVERFLOW_VAL" APPEND)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
idf_component_register(SRC_DIRS .
|
||||
INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
|
||||
REQUIRES unity test_utils nvs_flash ulp esp_common
|
||||
PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
|
||||
PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common
|
||||
)
|
||||
|
|
|
@ -2,6 +2,6 @@ if(TESTS_ALL EQUAL 1)
|
|||
message("not linking coredump test from CI.")
|
||||
else()
|
||||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity nvs_flash)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity nvs_flash)
|
||||
endif()
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity expat)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity expat)
|
|
@ -1,5 +1,5 @@
|
|||
idf_component_register(SRC_DIRS .
|
||||
INCLUDE_DIRS .
|
||||
REQUIRES unity test_utils vfs fatfs
|
||||
PRIV_INCLUDE_DIRS .
|
||||
PRIV_REQUIRES unity test_utils vfs fatfs
|
||||
EMBED_TXTFILES fatfs.img
|
||||
)
|
|
@ -1,4 +1,4 @@
|
|||
idf_component_register(SRC_DIRS .
|
||||
INCLUDE_DIRS .
|
||||
REQUIRES unity test_utils
|
||||
PRIV_INCLUDE_DIRS .
|
||||
PRIV_REQUIRES unity test_utils
|
||||
)
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils heap)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils heap)
|
|
@ -11,8 +11,8 @@ else()
|
|||
endforeach()
|
||||
|
||||
idf_component_register(SRCS "${TEST_CASES_FILES}" "test_sodium.c"
|
||||
INCLUDE_DIRS "." "${LS_TESTDIR}/../quirks"
|
||||
REQUIRES unity libsodium)
|
||||
PRIV_INCLUDE_DIRS "." "${LS_TESTDIR}/../quirks"
|
||||
PRIV_REQUIRES unity libsodium)
|
||||
|
||||
# The libsodium test suite is designed to be run each test case as an executable on a desktop computer and uses
|
||||
# filesytem to write & then compare contents of each file.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils mbedtls libsodium
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils mbedtls libsodium
|
||||
EMBED_TXTFILES server_cert_chain.pem prvtkey.pem server_cert_bundle)
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils)
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils nvs_flash bootloader_support)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils nvs_flash bootloader_support)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils)
|
|
@ -1,7 +1,3 @@
|
|||
set(COMPONENT_SRCDIRS
|
||||
"."
|
||||
)
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
set(COMPONENT_REQUIRES unity xtensa perfmon)
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRC_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity xtensa perfmon)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "../proto-c/"
|
||||
REQUIRES unity mbedtls protocomm protobuf-c)
|
||||
PRIV_REQUIRES unity mbedtls protocomm protobuf-c)
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils pthread)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils pthread)
|
|
@ -1,4 +1,4 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity sdmmc
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity sdmmc
|
||||
)
|
|
@ -1,5 +1,5 @@
|
|||
idf_build_get_property(soc_name IDF_TARGET)
|
||||
|
||||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "${include_dirs}"
|
||||
REQUIRES unity test_utils)
|
||||
PRIV_INCLUDE_DIRS "${include_dirs}"
|
||||
PRIV_REQUIRES unity test_utils)
|
||||
|
|
|
@ -4,6 +4,6 @@ endif()
|
|||
|
||||
idf_component_register(SRC_DIRS "."
|
||||
EXCLUDE_SRCS "${exclude_srcs}"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils spi_flash bootloader_support app_update)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils spi_flash bootloader_support app_update)
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils spiffs)
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity test_utils spiffs)
|
|
@ -1,5 +1,3 @@
|
|||
set(COMPONENT_SRCDIRS ".")
|
||||
set(COMPONENT_PRIV_INCLUDEDIRS "../private_include" ".")
|
||||
set(COMPONENT_PRIV_REQUIRES unity test_utils tcp_transport)
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRC_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "../private_include" "."
|
||||
PRIV_REQUIRES unity test_utils tcp_transport)
|
|
@ -1,7 +1,7 @@
|
|||
if(IDF_TARGET STREQUAL "esp32")
|
||||
idf_component_register(SRC_DIRS esp32
|
||||
INCLUDE_DIRS .
|
||||
REQUIRES unity ulp soc esp_common)
|
||||
PRIV_INCLUDE_DIRS .
|
||||
PRIV_REQUIRES unity ulp soc esp_common)
|
||||
|
||||
set(ulp_app_name ulp_test_app)
|
||||
set(ulp_s_sources "ulp/test_jumps_esp32.S")
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS .
|
||||
REQUIRES unity test_utils vfs fatfs spiffs)
|
||||
PRIV_INCLUDE_DIRS .
|
||||
PRIV_REQUIRES unity test_utils vfs fatfs spiffs)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
idf_component_register(SRC_DIRS .
|
||||
INCLUDE_DIRS .
|
||||
REQUIRES unity test_utils wear_levelling
|
||||
PRIV_INCLUDE_DIRS .
|
||||
PRIV_REQUIRES unity test_utils wear_levelling
|
||||
EMBED_FILES test_partition_v1.bin
|
||||
)
|
|
@ -1,7 +1,7 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
INCLUDE_DIRS "." "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
PRIV_INCLUDE_DIRS "." "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
PRIV_INCLUDE_DIRS "../src"
|
||||
REQUIRES unity esp_common test_utils wpa_supplicant mbedtls)
|
||||
PRIV_REQUIRES unity esp_common test_utils wpa_supplicant mbedtls)
|
||||
|
||||
idf_component_get_property(esp_supplicant_dir wpa_supplicant COMPONENT_DIR)
|
||||
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
set(COMPONENT_SRCS "ble_ancs_demo.c"
|
||||
"ble_ancs.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "ble_ancs_demo.c" "ble_ancs.c"
|
||||
INCLUDE_DIRS ".")
|
|
@ -1,4 +1,2 @@
|
|||
set(COMPONENT_SRCS "gattc_gatts_coex.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "gattc_gatts_coex.c"
|
||||
INCLUDE_DIRS ".")
|
|
@ -1,12 +1,11 @@
|
|||
set(COMPONENT_SRCS "ble_unit.c"
|
||||
set(srcs "ble_unit.c"
|
||||
"run_tc.c"
|
||||
"sync.c"
|
||||
"test_env.c"
|
||||
"wifi_connect.c"
|
||||
"wifi_unit.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS .)
|
||||
|
||||
set(COMPONENT_REQUIRES console nvs_flash bt)
|
||||
set(SUPPORTED_TARGETS esp32)
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES console nvs_flash bt
|
||||
REQUIRED_IDF_TARGETS esp32)
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
set(COMPONENT_SRCS "main.c"
|
||||
"coex_cmd.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
set(SUPPORTED_TARGETS esp32)
|
||||
register_component()
|
||||
idf_component_register(SRCS "main.c" "coex_cmd.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRED_IDF_TARGETS esp32)
|
|
@ -1,4 +1,4 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_adapter.c"
|
||||
set(srcs "ble_mesh_adapter.c"
|
||||
"ble_mesh_cfg_srv_model.c"
|
||||
"ble_mesh_console_lib.c"
|
||||
"ble_mesh_console_main.c"
|
||||
|
@ -8,6 +8,5 @@ set(COMPONENT_SRCS "ble_mesh_adapter.c"
|
|||
"ble_mesh_reg_gen_onoff_client_cmd.c"
|
||||
"register_bluetooth.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_adapter.c"
|
||||
set(srcs "ble_mesh_adapter.c"
|
||||
"transaction.c"
|
||||
"ble_mesh_cfg_srv_model.c"
|
||||
"ble_mesh_console_lib.c"
|
||||
|
@ -11,6 +11,5 @@ set(COMPONENT_SRCS "ble_mesh_adapter.c"
|
|||
"ble_mesh_register_provisioner_cmd.c"
|
||||
"register_bluetooth.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_demo_main.c"
|
||||
"ble_mesh_demo_init.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "ble_mesh_demo_main.c"
|
||||
"ble_mesh_demo_init.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_demo_main.c"
|
||||
set(srcs "ble_mesh_demo_main.c"
|
||||
"ble_mesh_demo_init.c"
|
||||
"board.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,7 +1,2 @@
|
|||
|
||||
set(COMPONENT_SRCS "button.c"
|
||||
"button_obj.cpp")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ". include")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "button.c" "button_obj.cpp"
|
||||
INCLUDE_DIRS "." "include")
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_demo_main.c"
|
||||
set(srcs "ble_mesh_demo_main.c"
|
||||
"ble_mesh_demo_init.c"
|
||||
"board.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_demo_main.c"
|
||||
set(srcs "ble_mesh_demo_main.c"
|
||||
"ble_mesh_demo_init.c"
|
||||
"board.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_demo_main.c"
|
||||
set(srcs "ble_mesh_demo_main.c"
|
||||
"ble_mesh_demo_init.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
|
||||
set(COMPONENT_SRCS "button.c"
|
||||
"button_obj.cpp")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ". include")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "button.c" "button_obj.cpp"
|
||||
INCLUDE_DIRS "." "include")
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_demo_main.c"
|
||||
set(srcs "ble_mesh_demo_main.c"
|
||||
"ble_mesh_demo_init.c"
|
||||
"board.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_demo_main.c"
|
||||
set(srcs "ble_mesh_demo_main.c"
|
||||
"ble_mesh_demo_init.c"
|
||||
"board.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
set(COMPONENT_SRCS "cmd_wifi.c"
|
||||
"iperf.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS .)
|
||||
|
||||
set(COMPONENT_REQUIRES lwip console)
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "cmd_wifi.c" "iperf.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES lwip console)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
set(COMPONENT_SRCS "ble_mesh_demo_main.c"
|
||||
set(srcs "ble_mesh_demo_main.c"
|
||||
"ble_mesh_demo_init.c"
|
||||
"board.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
set(COMPONENT_SRCS "esp_fast_prov_client_model.c"
|
||||
set(srcs "esp_fast_prov_client_model.c"
|
||||
"esp_fast_prov_server_model.c"
|
||||
"esp_fast_prov_operation.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
set(COMPONENT_REQUIRES bt)
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES bt)
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
set(COMPONENT_SRCS "main.c")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "main.c")
|
||||
|
|
|
@ -1,6 +1,2 @@
|
|||
set(COMPONENT_SRCS "main.c"
|
||||
"misc.c"
|
||||
"peer.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "main.c" "misc.c" "peer.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
set(COMPONENT_SRCS "main.c"
|
||||
"gatt_svr.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "main.c" "gatt_svr.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
set(COMPONENT_SRCS "app_mesh.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "app_mesh.c"
|
||||
INCLUDE_DIRS ".")
|
|
@ -1,7 +1,7 @@
|
|||
set(COMPONENT_SRCS "main.c"
|
||||
set(srcs "main.c"
|
||||
"gatt_svr.c"
|
||||
"misc.c"
|
||||
"scli.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
set(COMPONENT_SRCS "temp_sensor_main.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "temp_sensor_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
set(COMPONENT_SRCS "app_main.c" "esp_local_ctrl_service.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
set(COMPONENT_EMBED_TXTFILES
|
||||
"certs/cacert.pem"
|
||||
"certs/prvtkey.pem")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "app_main.c" "esp_local_ctrl_service.c"
|
||||
INCLUDE_DIRS "."
|
||||
EMBED_TXTFILES "certs/cacert.pem" "certs/prvtkey.pem")
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
set(COMPONENT_SRCS "https_x509_bundle_example_main.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "https_x509_bundle_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
|
@ -1,4 +1,2 @@
|
|||
set(COMPONENT_SRCS "app_main.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "app_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
set(COMPONENT_SRCS "flash_encrypt_main.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS "")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "flash_encrypt_main.c"
|
||||
INCLUDE_DIRS ".")
|
|
@ -1,4 +1,2 @@
|
|||
set(COMPONENT_SRCS "perfmon_example_main.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "perfmon_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
set(COMPONENT_SRCS "secure_boot_main.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS "")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "secure_boot_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
idf_component_register(SRC_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
REQUIRES unity test_utils perfmon)
|
||||
PRIV_REQUIRES unity test_utils perfmon)
|
||||
|
|
Loading…
Reference in a new issue