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:
Guillaume Souchere
2026-05-21 11:02:47 +02:00
parent 4811388910
commit a9bffc5581

View File

@@ -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)