bt: Added an example of Bluetooth using light sleep

This commit is contained in:
xiongweichao
2023-03-24 10:05:33 +08:00
parent b5055b9bfa
commit 1532675692
14 changed files with 1221 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
CONFIG_IDF_TARGET="esp32s3"
# MODEM SLEEP Options
CONFIG_BT_CTRL_MODEM_SLEEP=y
CONFIG_BT_CTRL_MODEM_SLEEP_MODE_1=y
# Bluetooth low power clock
CONFIG_BT_CTRL_LPCLK_SEL_EXT_32K_XTAL=y
# RTC clock source
CONFIG_RTC_CLK_SRC_EXT_CRYS=y
# Run FreeRTOS only on first core
CONFIG_FREERTOS_UNICORE=y
# Enable power down of MAC and baseband in light sleep mode
CONFIG_ESP_PHY_MAC_BB_PD=y