mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
openthread: support build esp32h2beta1 & esp32h2beta2 on master
This commit is contained in:
parent
523c51818c
commit
87070b8d3c
@ -12,7 +12,18 @@ if(CONFIG_IEEE802154_ENABLED)
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${ieee802154_lib}>
|
||||
$<TARGET_FILE:${esp_phy_lib}> libphy.a libbtbb.a)
|
||||
else()
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}")
|
||||
if(IDF_TARGET STREQUAL "esp32h2")
|
||||
if(CONFIG_IDF_TARGET_ESP32H2_BETA_VERSION_1)
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE
|
||||
"-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/rev1")
|
||||
endif()
|
||||
if(CONFIG_IDF_TARGET_ESP32H2_BETA_VERSION_2)
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE
|
||||
"-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/rev2")
|
||||
endif()
|
||||
else()
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}")
|
||||
endif()
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${esp_phy_lib}> lib802154.a libphy.a libbtbb.a
|
||||
$<TARGET_FILE:${esp_phy_lib}>)
|
||||
endif()
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@ -35,6 +35,7 @@ typedef enum {
|
||||
ESP_IEEE802154_TX_ERR_COEXIST, /*!< Rejected by coexist system */
|
||||
ESP_IEEE802154_TX_ERR_COEXIST_REJ, /*!< Rejected by coexist system before transmitting frame */
|
||||
ESP_IEEE802154_TX_ERR_COEXIST_ACK, /*!< Rejected by coexist system when receiving ack */
|
||||
ESP_IEEE802154_TX_ERR_SECURITY, /*!< Invalid security configuration */
|
||||
} esp_ieee802154_tx_error_t;
|
||||
|
||||
/**
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 421959af53886f3130113467718ec9924b518344
|
||||
Subproject commit c40d87fbfb196ecd3d1ece9be64f9e79c5394971
|
@ -174,8 +174,21 @@ if(CONFIG_OPENTHREAD_ENABLED)
|
||||
endif()
|
||||
|
||||
else()
|
||||
add_prebuilt_library(openthread_port "${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/libopenthread_port.a"
|
||||
REQUIRES openthread)
|
||||
if(IDF_TARGET STREQUAL "esp32h2")
|
||||
if(CONFIG_IDF_TARGET_ESP32H2_BETA_VERSION_1)
|
||||
add_prebuilt_library(openthread_port
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/rev1/libopenthread_port.a"
|
||||
REQUIRES openthread)
|
||||
endif()
|
||||
if(CONFIG_IDF_TARGET_ESP32H2_BETA_VERSION_2)
|
||||
add_prebuilt_library(openthread_port
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/rev2/libopenthread_port.a"
|
||||
REQUIRES openthread)
|
||||
endif()
|
||||
else()
|
||||
add_prebuilt_library(openthread_port "${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/libopenthread_port.a"
|
||||
REQUIRES openthread)
|
||||
endif()
|
||||
add_prebuilt_library(openthread_br "${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/libopenthread_br.a"
|
||||
REQUIRES openthread)
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit bb1ecdd49b50d59b6b0202bfa183679c83336c10
|
||||
Subproject commit 3ec1c7b74367a8b31b1d4fadb29a974a4235f2ac
|
@ -1 +1 @@
|
||||
Subproject commit 417b5645beac21f1b4b32f338e01b9a6fd303d63
|
||||
Subproject commit 9a2d84a4b78413e20f269df96a855e573e04a616
|
Loading…
x
Reference in New Issue
Block a user