1# Use lower CPU frequency 2CONFIG_ESP32_DEFAULT_CPU_FREQ_80=y 3# Enable support for power management 4CONFIG_PM_ENABLE=y 5# Enable tickless idle mode 6CONFIG_FREERTOS_USE_TICKLESS_IDLE=y 7# Use RTC timer as reference 8CONFIG_PM_USE_RTC_TIMER_REF=y 9# Put related source code in IRAM 10CONFIG_PM_SLP_IRAM_OPT=y 11CONFIG_PM_RTOS_IDLE_OPT=y 12# Disable all GPIO at light sleep 13CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL=y 14CONFIG_PM_SLP_DISABLE_GPIO=y 15# Enable wifi sleep iram optimization 16CONFIG_ESP_WIFI_SLP_IRAM_OPT=y 17