mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-18 18:40:13 +00:00
bt: Added an example of Bluetooth using light sleep
This commit is contained in:
14
examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32s3
Normal file
14
examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32s3
Normal file
@@ -0,0 +1,14 @@
|
||||
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_MAIN_XTAL=y
|
||||
# Power up main XTAL during light sleep
|
||||
CONFIG_BT_CTRL_MAIN_XTAL_PU_DURING_LIGHT_SLEEP=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
|
||||
Reference in New Issue
Block a user