mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	Currently, due to the lack of sleep callback feature. We only init sleep module but don't allocate it. Thus the power domain will be kept during the light sleep. And temporarily disable pcnt sleep retention support on P4 due to the lack of retention module ID.
		
			
				
	
	
		
			7 lines
		
	
	
		
			236 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			236 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
CONFIG_PM_ENABLE=y
 | 
						|
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
 | 
						|
CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP=y
 | 
						|
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
 | 
						|
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
 | 
						|
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
 |