From ead77d4c3389be56520bfed45b6dab41abf310b2 Mon Sep 17 00:00:00 2001 From: linruihao Date: Thu, 8 Feb 2024 12:49:49 +0800 Subject: [PATCH] fix(esp_coex): fix circular dependency issue on esp32 --- components/esp_coex/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/esp_coex/CMakeLists.txt b/components/esp_coex/CMakeLists.txt index 14b91cf4ee..8ead0e3129 100644 --- a/components/esp_coex/CMakeLists.txt +++ b/components/esp_coex/CMakeLists.txt @@ -39,4 +39,8 @@ if(CONFIG_ESP_COEX_SW_COEXIST_ENABLE OR CONFIG_ESP_COEX_EXTERNAL_COEXIST_ENABLE) endif() target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format") + + if(CONFIG_IDF_TARGET_ESP32) + target_link_libraries(${COMPONENT_LIB} PRIVATE "-u btdm_rf_bb_reg_init") + endif() endif() -- 2.17.1