Skip to content

Commit b594319

Browse files
committed
Merge branch 'refactor/update_driver_dependency' into 'main'
refactor: Update driver dependency See merge request espressif/esp-thread-br!185
2 parents 870135e + 3a583ba commit b594319

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

components/esp_rcp_update/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
# Starting from esp-idf v5.3, the GPIO and UART drivers are moved to separate components
2+
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.3")
3+
set (priv_requires "esp_driver_gpio" "esp_driver_uart")
4+
else()
5+
set (priv_requires "driver")
6+
endif()
17
idf_component_register(SRC_DIRS src
28
INCLUDE_DIRS include
3-
REQUIRES driver esp-serial-flasher nvs_flash)
9+
REQUIRES esp-serial-flasher nvs_flash
10+
PRIV_REQUIRES ${priv_requires})
411

512
idf_build_get_property(python PYTHON)
613
if(CONFIG_AUTO_UPDATE_RCP)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
version: "1.4.0"
1+
version: "1.5.0"
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:
55
espressif/esp-serial-flasher:
6-
version: "1.8.0"
6+
version: "^1.8.0"
77

88
idf:
99
version: ">=5.0"

0 commit comments

Comments
 (0)