2017-10-10 00:33:47 -04:00
|
|
|
# Use lower CPU frequency
|
2022-03-02 02:49:31 -05:00
|
|
|
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_80=y
|
2017-10-10 00:33:47 -04:00
|
|
|
# Enable support for power management
|
|
|
|
CONFIG_PM_ENABLE=y
|
2018-05-03 13:31:15 -04:00
|
|
|
# Enable tickless idle mode
|
|
|
|
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
|
2020-12-25 07:04:32 -05:00
|
|
|
# Put related source code in IRAM
|
|
|
|
CONFIG_PM_SLP_IRAM_OPT=y
|
|
|
|
CONFIG_PM_RTOS_IDLE_OPT=y
|
2020-11-12 07:39:55 -05:00
|
|
|
# Disable all GPIO at light sleep
|
|
|
|
CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL=y
|
|
|
|
CONFIG_PM_SLP_DISABLE_GPIO=y
|
2020-12-30 03:42:39 -05:00
|
|
|
# Enable wifi sleep iram optimization
|
|
|
|
CONFIG_ESP_WIFI_SLP_IRAM_OPT=y
|
2022-07-13 23:55:19 -04:00
|
|
|
# Use 1000Hz freertos tick to lower sleep time threshold
|
|
|
|
CONFIG_FREERTOS_HZ=1000
|