From 6a60927cac52d34981e392198d2cdf58b9b44228 Mon Sep 17 00:00:00 2001 From: Sylvio Alves Date: Thu, 31 Oct 2024 20:43:04 -0300 Subject: [PATCH] soc: espressif: enable custom bluetooth options In order to allow Espressif boards to change BLE TX power, BT_CTRL needs to be enabled. Signed-off-by: Sylvio Alves --- soc/espressif/esp32/Kconfig.defconfig | 3 +++ soc/espressif/esp32c3/Kconfig.defconfig | 3 +++ soc/espressif/esp32s3/Kconfig.defconfig | 3 +++ 3 files changed, 9 insertions(+) diff --git a/soc/espressif/esp32/Kconfig.defconfig b/soc/espressif/esp32/Kconfig.defconfig index c2217013826..9c569d1b49b 100644 --- a/soc/espressif/esp32/Kconfig.defconfig +++ b/soc/espressif/esp32/Kconfig.defconfig @@ -34,4 +34,7 @@ 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 43d1d471ab6..6c6100b05a0 100644 --- a/soc/espressif/esp32c3/Kconfig.defconfig +++ b/soc/espressif/esp32c3/Kconfig.defconfig @@ -12,4 +12,7 @@ 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 110471dba62..1d6388d6697 100644 --- a/soc/espressif/esp32s3/Kconfig.defconfig +++ b/soc/espressif/esp32s3/Kconfig.defconfig @@ -12,4 +12,7 @@ config FLASH_BASE_ADDRESS config BOOTLOADER_MCUBOOT default y if SOC_ESP32S3_APPCPU +config BT_CTLR + default y if BT + endif # SOC_SERIES_ESP32S3