From a9bffc5581e015eb1d20921b3cd22d1d230ecece Mon Sep 17 00:00:00 2001 From: Guillaume Souchere Date: Thu, 21 May 2026 11:02:47 +0200 Subject: [PATCH] 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. --- components/esp_coex/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_coex/CMakeLists.txt b/components/esp_coex/CMakeLists.txt index 252d3402eca..3dbe4bdd125 100644 --- a/components/esp_coex/CMakeLists.txt +++ b/components/esp_coex/CMakeLists.txt @@ -29,7 +29,7 @@ endif() idf_component_register(SRCS "${srcs}" INCLUDE_DIRS "include" - PRIV_REQUIRES esp_timer esp_driver_gpio + PRIV_REQUIRES esp_timer esp_driver_gpio esp_phy LDFRAGMENTS "${ldfragments}") if(CONFIG_ESP_COEX_ENABLED)