mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'fix/rcp-build' into 'master'
openthread: fix RCP example build See merge request espressif/esp-idf!15483
This commit is contained in:
commit
6faa121b9d
@ -50,7 +50,10 @@ if(CONFIG_OPENTHREAD_ENABLED)
|
|||||||
|
|
||||||
if(CONFIG_OPENTHREAD_ESP_LIB_FROM_INTERNAL_SRC)
|
if(CONFIG_OPENTHREAD_ESP_LIB_FROM_INTERNAL_SRC)
|
||||||
idf_component_get_property(openthread_port_lib openthread_port COMPONENT_LIB)
|
idf_component_get_property(openthread_port_lib openthread_port COMPONENT_LIB)
|
||||||
target_link_libraries(${COMPONENT_LIB} PUBLIC $<TARGET_FILE:${openthread_port_lib}>)
|
idf_component_get_property(esp_system_lib esp_system COMPONENT_LIB)
|
||||||
|
target_link_libraries(${COMPONENT_LIB} PUBLIC
|
||||||
|
$<TARGET_FILE:${openthread_port_lib}>
|
||||||
|
$<TARGET_FILE:${esp_system_lib}>)
|
||||||
|
|
||||||
if(CONFIG_OPENTHREAD_BORDER_ROUTER)
|
if(CONFIG_OPENTHREAD_BORDER_ROUTER)
|
||||||
idf_component_get_property(openthread_br_lib openthread_br COMPONENT_LIB)
|
idf_component_get_property(openthread_br_lib openthread_br COMPONENT_LIB)
|
||||||
|
@ -46,7 +46,9 @@ set(exclude_srcs
|
|||||||
"openthread/src/core/common/heap_string.cpp"
|
"openthread/src/core/common/heap_string.cpp"
|
||||||
"openthread/src/core/common/time_ticker.cpp"
|
"openthread/src/core/common/time_ticker.cpp"
|
||||||
"openthread/src/core/common/notifier.cpp"
|
"openthread/src/core/common/notifier.cpp"
|
||||||
|
"openthread/src/core/api/dns_api.cpp"
|
||||||
"openthread/src/core/api/message_api.cpp"
|
"openthread/src/core/api/message_api.cpp"
|
||||||
|
"openthread/src/core/api/tcp_api.cpp"
|
||||||
"openthread/src/core/thread/energy_scan_server.cpp"
|
"openthread/src/core/thread/energy_scan_server.cpp"
|
||||||
"openthread/src/core/thread/mesh_forwarder.cpp"
|
"openthread/src/core/thread/mesh_forwarder.cpp"
|
||||||
"openthread/src/core/thread/mle.cpp"
|
"openthread/src/core/thread/mle.cpp"
|
||||||
|
Loading…
Reference in New Issue
Block a user