File tree Expand file tree Collapse file tree 4 files changed +16
-19
lines changed
components/esp_ot_cli_extension
examples/basic_thread_border_router Expand file tree Collapse file tree 4 files changed +16
-19
lines changed Original file line number Diff line number Diff line change @@ -28,18 +28,16 @@ if(CONFIG_OPENTHREAD_RCP_COMMAND)
2828endif ()
2929
3030set (include "include" )
31- if (CONFIG_OPENTHREAD_CLI_WIFI)
32- list (APPEND include $ENV{IDF_PATH} /examples/common_components/protocol_examples_common/include )
33- endif ()
31+
3432idf_component_register(SRCS "${srcs} "
3533 INCLUDE_DIRS "${include} "
3634 PRIV_REQUIRES lwip openthread iperf esp_netif esp_wifi http_parser esp_http_client esp_coex heap mbedtls nvs_flash esp_eth)
3735
38- if (CONFIG_OPENTHREAD_CLI_OTA)
39- idf_component_optional_requires(PUBLIC esp_br_http_ota)
36+ if (CONFIG_OPENTHREAD_CLI_OTA)
37+ idf_component_optional_requires(PRIVATE esp_br_http_ota)
4038endif ()
4139
42- if (CONFIG_OPENTHREAD_RCP_COMMAND)
40+ if (CONFIG_OPENTHREAD_RCP_COMMAND)
4341 idf_component_optional_requires(PRIVATE esp_rcp_update)
4442endif ()
4543
Original file line number Diff line number Diff line change 1- version : " 1.2.4 "
1+ version : " 1.2.5 "
22description : Espressif OpenThread CLI Extension
33url : https://github.com/espressif/esp-thread-br/tree/main/components/esp_ot_cli_extension
44dependencies :
Original file line number Diff line number Diff line change 22# in this exact order for cmake to work correctly
33cmake_minimum_required (VERSION 3.5)
44
5- # (Not part of the boilerplate)
6- # This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
7- set (EXTRA_COMPONENT_DIRS
8- ${CMAKE_CURRENT_SOURCE_DIR} /../common
9- ${CMAKE_CURRENT_SOURCE_DIR} /../../components/esp_br_http_ota
10- ${CMAKE_CURRENT_SOURCE_DIR} /../../components/esp_ot_br_server
11- )
12-
135include ($ENV{IDF_PATH} /tools/cmake/project.cmake)
146project (esp_ot_br)
Original file line number Diff line number Diff line change @@ -7,9 +7,16 @@ dependencies:
77 espressif/esp_rcp_update :
88 version : " ~1.3.0"
99 override_path : ' ../../../components/esp_rcp_update'
10+
11+ esp_br_http_ota :
12+ path : ../../../components/esp_br_http_ota
13+ esp_ot_br_server :
14+ path : ../../../components/esp_ot_br_server
15+ thread_border_router :
16+ path : ../../common/thread_border_router
17+ protocol_examples_common :
18+ path : ${IDF_PATH}/examples/common_components/protocol_examples_common
19+
1020 # # Required IDF version
1121 idf :
12- version : " >=4.1.0"
13- # # Put list of dependencies here
14- protocol_examples_common :
15- path : ${IDF_PATH}/examples/common_components/protocol_examples_common
22+ version : " >=5.1.0"
You can’t perform that action at this time.
0 commit comments