fix(ble): fixed common kconfig error when controller enable only

This commit is contained in:
zwl
2025-02-26 15:24:01 +08:00
parent 894cd1dfa2
commit a7fc123850
2 changed files with 5 additions and 6 deletions

View File

@@ -80,6 +80,10 @@ menu "Bluetooth"
We cannot split the memory into 3 different regions (IRAM, BLE-IRAM, DRAM). We cannot split the memory into 3 different regions (IRAM, BLE-IRAM, DRAM).
So this option will disable the PMP (ESP_SYSTEM_PMP_IDRAM_SPLIT) So this option will disable the PMP (ESP_SYSTEM_PMP_IDRAM_SPLIT)
menu "Common Options"
source "$IDF_PATH/components/bt/common/Kconfig.in"
endmenu
config BT_HCI_LOG_DEBUG_EN config BT_HCI_LOG_DEBUG_EN
depends on BT_BLUEDROID_ENABLED || BT_NIMBLE_ENABLED depends on BT_BLUEDROID_ENABLED || BT_NIMBLE_ENABLED
bool "Enable Bluetooth HCI debug mode" bool "Enable Bluetooth HCI debug mode"
@@ -105,12 +109,6 @@ menu "Bluetooth"
This option is to configure the buffer size of the hci adv report cache in hci debug mode. This option is to configure the buffer size of the hci adv report cache in hci debug mode.
This is a ring buffer, the new data will overwrite the oldest data if the buffer is full. This is a ring buffer, the new data will overwrite the oldest data if the buffer is full.
menu "Common Options"
visible if (BT_BLUEDROID_ENABLED || BT_NIMBLE_ENABLED)
source "$IDF_PATH/components/bt/common/Kconfig.in"
endmenu
endmenu endmenu
menuconfig BLE_MESH menuconfig BLE_MESH

View File

@@ -1,6 +1,7 @@
config BT_ALARM_MAX_NUM config BT_ALARM_MAX_NUM
int "Maximum number of Bluetooth alarms" int "Maximum number of Bluetooth alarms"
default 50 default 50
depends on (BT_BLUEDROID_ENABLED || BT_NIMBLE_ENABLED)
help help
This option decides the maximum number of alarms which This option decides the maximum number of alarms which
could be used by Bluetooth host. could be used by Bluetooth host.