Skip to content

Commit 5fd6d94

Browse files
committed
Merge branch 'fix/fix_a_bug_of_rcp_update_cmakelist_1127' into 'main'
fix(rcp_update): fix an error of rcp_update cmakelist See merge request espressif/esp-thread-br!197
2 parents 984b633 + f644dc3 commit 5fd6d94

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

components/esp_rcp_update/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@ else()
55
set (priv_requires "driver")
66
endif()
77

8-
if(CONFIG_OPENTHREAD_ENABLED AND CONFIG_AUTO_UPDATE_RCP)
9-
list(APPEND srcs "src/esp_ot_rcp_update.c")
8+
set(exclude_srcs "")
9+
10+
if(NOT CONFIG_OPENTHREAD_ENABLED OR NOT CONFIG_AUTO_UPDATE_RCP)
11+
list(APPEND exclude_srcs "src/esp_ot_rcp_update.c")
1012
endif()
1113

1214
idf_component_register(SRC_DIRS src
15+
EXCLUDE_SRCS ${exclude_srcs}
1316
INCLUDE_DIRS include
1417
REQUIRES esp-serial-flasher nvs_flash
1518
PRIV_REQUIRES ${priv_requires})

components/esp_rcp_update/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.5.2"
1+
version: "1.5.3"
22
description: Espressif RCP Update Component for Thread Border Router and Zigbee Gateway
33
url: https://github.com/espressif/esp-thread-br/tree/main/components/esp_rcp_update
44
dependencies:

0 commit comments

Comments
 (0)