Skip to content

Commit

Permalink
Enable BT per chip
Browse files Browse the repository at this point in the history
Somehow CONFIG_BT_ENABLED can be on on non-BT chips, which can cause issues when including headers based on that switch.
  • Loading branch information
me-no-dev committed Mar 6, 2024
1 parent f17fb9c commit aaf47ab
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion configs/defconfig.common
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ CONFIG_AUTOSTART_ARDUINO=y
CONFIG_ARDUHAL_ESP_LOG=y
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=y
CONFIG_BT_ENABLED=y
CONFIG_BT_BLE_BLUFI_ENABLE=y
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
CONFIG_BT_BTC_TASK_STACK_SIZE=8192
Expand Down
1 change: 1 addition & 0 deletions configs/defconfig.esp32
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CONFIG_BTDM_CTRL_MODE_BTDM=y
CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE=20
CONFIG_BT_ENABLED=y
CONFIG_BT_CLASSIC_ENABLED=y
CONFIG_BT_A2DP_ENABLE=y
CONFIG_BT_SPP_ENABLED=y
Expand Down
1 change: 1 addition & 0 deletions configs/defconfig.esp32c2
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CONFIG_XTAL_FREQ_26=y
CONFIG_XTAL_FREQ=26
CONFIG_BT_ENABLED=y
CONFIG_BT_BLE_BLUFI_ENABLE=y
CONFIG_RTC_CLK_CAL_CYCLES=576
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
Expand Down
1 change: 1 addition & 0 deletions configs/defconfig.esp32c3
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_RTC_CLK_CAL_CYCLES=576
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304
CONFIG_BT_ENABLED=y
1 change: 1 addition & 0 deletions configs/defconfig.esp32c6
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_BT_ENABLED=y
CONFIG_BT_BLE_BLUFI_ENABLE=y
CONFIG_RTC_CLK_CAL_CYCLES=576
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
Expand Down
1 change: 1 addition & 0 deletions configs/defconfig.esp32h2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_BT_ENABLED=y
CONFIG_BT_BLE_BLUFI_ENABLE=y
CONFIG_RTC_CLK_CAL_CYCLES=576
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
Expand Down
1 change: 1 addition & 0 deletions configs/defconfig.esp32s3
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_BT_ENABLED=y
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
CONFIG_SPIRAM=y
Expand Down

0 comments on commit aaf47ab

Please sign in to comment.