-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ble_dev/esp32c6_support_power_save_example_5.1' into 'r…
…elease/v5.1' ble: support esp32c6 power save example See merge request espressif/esp-idf!24386
- Loading branch information
Showing
5 changed files
with
77 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32c6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
CONFIG_IDF_TARGET="esp32c6" | ||
|
||
# Bluetooth Low Power Config | ||
CONFIG_BT_LE_SLEEP_ENABLE=y | ||
# CONFIG_BT_LE_WAKEUP_SOURCE_CPU_RTC_TIMER is not set | ||
CONFIG_BT_LE_WAKEUP_SOURCE_BLE_RTC_TIMER=y | ||
CONFIG_BT_LE_LP_CLK_SRC_MAIN_XTAL=y | ||
# CONFIG_BT_LE_LP_CLK_SRC_DEFAULT is not set | ||
|
||
# | ||
# Power Management | ||
# | ||
CONFIG_PM_ENABLE=y | ||
CONFIG_PM_DFS_INIT_AUTO=y | ||
CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP=y | ||
# CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP is not set | ||
# end of Power Management | ||
|
||
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y | ||
|
||
# | ||
# Sleep Config | ||
# | ||
CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y | ||
# end of Sleep Config |
34 changes: 34 additions & 0 deletions
34
examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32c6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
CONFIG_IDF_TARGET="esp32c6" | ||
|
||
# Bluetooth Low Power Config | ||
CONFIG_BT_LE_SLEEP_ENABLE=y | ||
# CONFIG_BT_LE_WAKEUP_SOURCE_CPU_RTC_TIMER is not set | ||
CONFIG_BT_LE_WAKEUP_SOURCE_BLE_RTC_TIMER=y | ||
# CONFIG_BT_LE_LP_CLK_SRC_MAIN_XTAL is not set | ||
CONFIG_BT_LE_LP_CLK_SRC_DEFAULT=y | ||
|
||
# | ||
# Power Management | ||
# | ||
CONFIG_PM_ENABLE=y | ||
CONFIG_PM_DFS_INIT_AUTO=y | ||
CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP=y | ||
CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP=y | ||
# end of Power Management | ||
|
||
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y | ||
|
||
# | ||
# Sleep Config | ||
# | ||
CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y | ||
# end of Sleep Config | ||
|
||
# | ||
# RTC Clock Config | ||
# | ||
# CONFIG_RTC_CLK_SRC_INT_RC is not set | ||
CONFIG_RTC_CLK_SRC_EXT_CRYS=y | ||
# CONFIG_RTC_CLK_SRC_EXT_OSC is not set | ||
# CONFIG_RTC_CLK_SRC_INT_RC32K is not set | ||
# end of RTC Clock Config |