From 3d3217ea6a890530fc1cbadfec4f09ea24998f86 Mon Sep 17 00:00:00 2001 From: Sylvio Alves Date: Mon, 20 Jan 2025 19:35:47 -0300 Subject: [PATCH] hci: esp32: remove deprecated symbol Make sure HAS_BT_CTLR is used instead of deprecated BT_CTLR symbol. Signed-off-by: Sylvio Alves --- drivers/bluetooth/hci/Kconfig | 1 + soc/espressif/esp32/Kconfig.defconfig | 3 --- soc/espressif/esp32c3/Kconfig.defconfig | 3 --- soc/espressif/esp32s3/Kconfig.defconfig | 3 --- 4 files changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/bluetooth/hci/Kconfig b/drivers/bluetooth/hci/Kconfig index cb68d7444b8..877802a40ef 100644 --- a/drivers/bluetooth/hci/Kconfig +++ b/drivers/bluetooth/hci/Kconfig @@ -155,6 +155,7 @@ config BT_ESP32 default y depends on DT_HAS_ESPRESSIF_ESP32_BT_HCI_ENABLED depends on ZEPHYR_HAL_ESPRESSIF_MODULE_BLOBS || BUILD_ONLY_NO_BLOBS + select HAS_BT_CTLR help Espressif HCI bluetooth interface diff --git a/soc/espressif/esp32/Kconfig.defconfig b/soc/espressif/esp32/Kconfig.defconfig index 9c569d1b49b..c2217013826 100644 --- a/soc/espressif/esp32/Kconfig.defconfig +++ b/soc/espressif/esp32/Kconfig.defconfig @@ -34,7 +34,4 @@ config GDBSTUB_BUF_SZ endif # GDBSTUB config -config BT_CTLR - default y if BT - endif # SOC_SERIES_ESP32 config diff --git a/soc/espressif/esp32c3/Kconfig.defconfig b/soc/espressif/esp32c3/Kconfig.defconfig index 6c6100b05a0..43d1d471ab6 100644 --- a/soc/espressif/esp32c3/Kconfig.defconfig +++ b/soc/espressif/esp32c3/Kconfig.defconfig @@ -12,7 +12,4 @@ config FLASH_SIZE config FLASH_BASE_ADDRESS default $(dt_node_reg_addr_hex,/soc/flash-controller@60002000/flash@0) -config BT_CTLR - default y if BT - endif # SOC_SERIES_ESP32C3 diff --git a/soc/espressif/esp32s3/Kconfig.defconfig b/soc/espressif/esp32s3/Kconfig.defconfig index 1d6388d6697..110471dba62 100644 --- a/soc/espressif/esp32s3/Kconfig.defconfig +++ b/soc/espressif/esp32s3/Kconfig.defconfig @@ -12,7 +12,4 @@ config FLASH_BASE_ADDRESS config BOOTLOADER_MCUBOOT default y if SOC_ESP32S3_APPCPU -config BT_CTLR - default y if BT - endif # SOC_SERIES_ESP32S3