mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-28 16:46:31 +03:00
fix(esp_coex): add missing esp_phy dependency for libcoexist.a symbols
libcoexist.a directly references phy_coex_force_rx_ant and phy_coex_dismiss_rx_ant from libphy.a (esp_phy component) but never declared this dependency. It only worked because esp_common privately linked esp_wifi (which transitively brings esp_phy) with LINK_INTERFACE_MULTIPLICITY 4, causing libphy.a to repeat in the link line. An upcoming esp_common change removes that mechanism, exposing this missing dependency.
This commit is contained in:
@@ -29,7 +29,7 @@ endif()
|
|||||||
|
|
||||||
idf_component_register(SRCS "${srcs}"
|
idf_component_register(SRCS "${srcs}"
|
||||||
INCLUDE_DIRS "include"
|
INCLUDE_DIRS "include"
|
||||||
PRIV_REQUIRES esp_timer esp_driver_gpio
|
PRIV_REQUIRES esp_timer esp_driver_gpio esp_phy
|
||||||
LDFRAGMENTS "${ldfragments}")
|
LDFRAGMENTS "${ldfragments}")
|
||||||
|
|
||||||
if(CONFIG_ESP_COEX_ENABLED)
|
if(CONFIG_ESP_COEX_ENABLED)
|
||||||
|
|||||||
Reference in New Issue
Block a user