Skip to content

Commit 7b509f6

Browse files
committed
fix(ext_cmd): add dependency for extension commands
1 parent 2eab508 commit 7b509f6

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

components/esp_ot_cli_extension/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ endif()
4242
if (CONFIG_OPENTHREAD_RCP_COMMAND)
4343
idf_component_optional_requires(PRIVATE esp_rcp_update)
4444
endif()
45+
46+
if(CONFIG_OPENTHREAD_CLI_WIFI)
47+
idf_component_optional_requires(PRIVATE protocol_examples_common)
48+
endif()

components/esp_ot_cli_extension/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.2.3"
1+
version: "1.2.4"
22
description: Espressif OpenThread CLI Extension
33
url: https://github.com/espressif/esp-thread-br/tree/main/components/esp_ot_cli_extension
44
dependencies:

examples/basic_thread_border_router/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ set(EXTRA_COMPONENT_DIRS
88
${CMAKE_CURRENT_SOURCE_DIR}/../common
99
${CMAKE_CURRENT_SOURCE_DIR}/../../components/esp_br_http_ota
1010
${CMAKE_CURRENT_SOURCE_DIR}/../../components/esp_ot_br_server
11-
$ENV{IDF_PATH}/examples/common_components/protocol_examples_common
1211
)
1312

1413
include($ENV{IDF_PATH}/tools/cmake/project.cmake)

examples/basic_thread_border_router/main/idf_component.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ dependencies:
1111
idf:
1212
version: ">=4.1.0"
1313
# # Put list of dependencies here
14+
protocol_examples_common:
15+
path: ${IDF_PATH}/examples/common_components/protocol_examples_common

0 commit comments

Comments
 (0)