From f8537f76bc6535e1c7ccc80aabc704cdc2170a0b Mon Sep 17 00:00:00 2001 From: Chen Jian Hua Date: Mon, 13 Oct 2025 17:33:23 +0800 Subject: [PATCH] fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(18b5cbe) - Fixed GPIO matrix function calls (cherry picked from commit 25adf4c934f7d90447b83a4f5261e501f766ff0a) Co-authored-by: chenjianhua --- components/bt/controller/esp32c3/bt.c | 6 ++++++ components/bt/controller/lib_esp32c3_family | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/bt/controller/esp32c3/bt.c b/components/bt/controller/esp32c3/bt.c index 9e941db81a..4a2c1dfb97 100644 --- a/components/bt/controller/esp32c3/bt.c +++ b/components/bt/controller/esp32c3/bt.c @@ -56,6 +56,7 @@ #include "esp_partition.h" #include "hal/wdt_hal.h" #endif // CONFIG_BT_CTRL_LE_LOG_STORAGE_EN +#include "esp_rom_gpio.h" #if CONFIG_BT_ENABLED /* Macro definition @@ -2396,4 +2397,9 @@ static void * coex_schm_curr_phase_get_wrapper(void) #endif } +void btdm_gpio_matrix_out(uint32_t gpio, uint32_t signal_idx, bool out_inv, bool oen_inv) +{ + esp_rom_gpio_connect_out_signal(gpio, signal_idx, out_inv, oen_inv); +} + #endif /* CONFIG_BT_ENABLED */ diff --git a/components/bt/controller/lib_esp32c3_family b/components/bt/controller/lib_esp32c3_family index 0c68809d62..42c965137e 160000 --- a/components/bt/controller/lib_esp32c3_family +++ b/components/bt/controller/lib_esp32c3_family @@ -1 +1 @@ -Subproject commit 0c68809d62e432427de97b5294f6619307f62f40 +Subproject commit 42c965137ecc3c6cf3d38ecece7ce71ffc461353