mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +00:00 
			
		
		
		
	 d2872095f9
			
		
	
	d2872095f9
	
	
	
		
			
			Moved the following kconfig options out of the target component: * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system * ESP*_REV_MIN -> esp_hw_support * ESP*_TIME_SYSCALL -> newlib * ESP*_RTC_* -> esp_hw_support Where applicable these target specific konfig names were merged into a single common config, e.g; CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
		
			
				
	
	
		
			15 lines
		
	
	
		
			445 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			445 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Use lower CPU frequency
 | |
| CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_80=y
 | |
| # Enable support for power management
 | |
| CONFIG_PM_ENABLE=y
 | |
| # Enable tickless idle mode
 | |
| CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
 | |
| # Put related source code in IRAM
 | |
| CONFIG_PM_SLP_IRAM_OPT=y
 | |
| CONFIG_PM_RTOS_IDLE_OPT=y
 | |
| # Disable all GPIO at light sleep
 | |
| CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL=y
 | |
| CONFIG_PM_SLP_DISABLE_GPIO=y
 | |
| # Enable wifi sleep iram optimization
 | |
| CONFIG_ESP_WIFI_SLP_IRAM_OPT=y
 |