mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
bt: Added an example of Bluetooth using light sleep
This commit is contained in:
12
examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32c3
Normal file
12
examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32c3
Normal 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
|
Reference in New Issue
Block a user