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,12 @@
CONFIG_IDF_TARGET="esp32c3"
# 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_MAIN_XTAL=y
# Power up main XTAL during light sleep
CONFIG_BT_CTRL_MAIN_XTAL_PU_DURING_LIGHT_SLEEP=y
# Enable power down of MAC and baseband in light sleep mode
CONFIG_ESP_PHY_MAC_BB_PD=y