From 99237104ba31a8ba22474fcfdb5d5b38cddafa52 Mon Sep 17 00:00:00 2001 From: linruihao Date: Mon, 29 Jan 2024 19:41:07 +0800 Subject: [PATCH] fix(esp_coex): add support_coexistence soc_caps for esp32c2 --- components/soc/esp32c2/include/soc/Kconfig.soc_caps.in | 4 ++++ components/soc/esp32c2/include/soc/soc_caps.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/components/soc/esp32c2/include/soc/Kconfig.soc_caps.in b/components/soc/esp32c2/include/soc/Kconfig.soc_caps.in index beb9459930..4360bd9709 100644 --- a/components/soc/esp32c2/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32c2/include/soc/Kconfig.soc_caps.in @@ -527,6 +527,10 @@ config SOC_UART_SUPPORT_FSM_TX_WAIT_SEND bool default y +config SOC_SUPPORT_COEXISTENCE + bool + default y + config SOC_COEX_HW_PTI bool default y diff --git a/components/soc/esp32c2/include/soc/soc_caps.h b/components/soc/esp32c2/include/soc/soc_caps.h index 25b9334593..9ae2228ba4 100644 --- a/components/soc/esp32c2/include/soc/soc_caps.h +++ b/components/soc/esp32c2/include/soc/soc_caps.h @@ -259,6 +259,9 @@ // UART has an extra TX_WAIT_SEND state when the FIFO is not empty and XOFF is enabled #define SOC_UART_SUPPORT_FSM_TX_WAIT_SEND (1) +/*-------------------------- COEXISTENCE CAPS -------------------------------*/ +#define SOC_SUPPORT_COEXISTENCE (1) + /*-------------------------- COEXISTENCE HARDWARE PTI CAPS -------------------------------*/ #define SOC_COEX_HW_PTI (1)