From 33467831fc0f3961c765b2db3924531e82a7d62a Mon Sep 17 00:00:00 2001 From: zhangwenxu Date: Fri, 11 Nov 2022 12:36:38 +0800 Subject: [PATCH] openthread: rename h2 to h4 --- components/ieee802154/CMakeLists.txt | 6 ++---- components/ieee802154/lib | 2 +- components/openthread/CMakeLists.txt | 6 ++---- components/openthread/lib | 2 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/components/ieee802154/CMakeLists.txt b/components/ieee802154/CMakeLists.txt index a4648bb6fc..49c15dc4cb 100644 --- a/components/ieee802154/CMakeLists.txt +++ b/components/ieee802154/CMakeLists.txt @@ -14,14 +14,12 @@ if(CONFIG_IEEE802154_ENABLED) else() if(IDF_TARGET STREQUAL "esp32h4") if(CONFIG_IDF_TARGET_ESP32H4_BETA_VERSION_1) - # TODO: rename esp32h2 to esp32h4 [IDF-6097] target_link_libraries(${COMPONENT_LIB} INTERFACE - "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32h2/rev1") + "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/rev1") endif() if(CONFIG_IDF_TARGET_ESP32H4_BETA_VERSION_2) - # TODO: rename esp32h2 to esp32h4 [IDF-6097] target_link_libraries(${COMPONENT_LIB} INTERFACE - "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32h2/rev2") + "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/rev2") endif() else() target_link_directories(${COMPONENT_LIB} INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}") diff --git a/components/ieee802154/lib b/components/ieee802154/lib index 2b52a261fe..56a56502a0 160000 --- a/components/ieee802154/lib +++ b/components/ieee802154/lib @@ -1 +1 @@ -Subproject commit 2b52a261fef2ad7b630e11866dca567d17170401 +Subproject commit 56a56502a037c8196d2b5dd5790bb90ff60d9d0e diff --git a/components/openthread/CMakeLists.txt b/components/openthread/CMakeLists.txt index 7579be9872..f9dbc241c4 100644 --- a/components/openthread/CMakeLists.txt +++ b/components/openthread/CMakeLists.txt @@ -194,15 +194,13 @@ if(CONFIG_OPENTHREAD_ENABLED) else() if(IDF_TARGET STREQUAL "esp32h4") if(CONFIG_IDF_TARGET_ESP32H4_BETA_VERSION_1) - # TODO: rename esp32h2 to esp32h4 [IDF-6097] add_prebuilt_library(openthread_port - "${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32h2/rev1/libopenthread_port.a" + "${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/rev1/libopenthread_port.a" REQUIRES openthread) endif() if(CONFIG_IDF_TARGET_ESP32H4_BETA_VERSION_2) - # TODO: rename esp32h2 to esp32h4 [IDF-6097] add_prebuilt_library(openthread_port - "${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32h2/rev2/libopenthread_port.a" + "${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/rev2/libopenthread_port.a" REQUIRES openthread) endif() else() diff --git a/components/openthread/lib b/components/openthread/lib index 698e8386c3..6a863c104e 160000 --- a/components/openthread/lib +++ b/components/openthread/lib @@ -1 +1 @@ -Subproject commit 698e8386c31f2c34e167b65f72a6b2553e838dd9 +Subproject commit 6a863c104ef982df8dfc0a499588c4334528b86c