mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	esp_timer: remove legacy ESP32 FRC timer implementation.
This commit is contained in:
		@@ -559,7 +559,7 @@ menu "ESP32-specific"
 | 
			
		||||
 | 
			
		||||
    choice ESP32_TIME_SYSCALL
 | 
			
		||||
        prompt "Timers used for gettimeofday function"
 | 
			
		||||
        default ESP32_TIME_SYSCALL_USE_RTC_FRC1
 | 
			
		||||
        default ESP32_TIME_SYSCALL_USE_RTC_HRT
 | 
			
		||||
        help
 | 
			
		||||
            This setting defines which hardware timers are used to
 | 
			
		||||
            implement 'gettimeofday' and 'time' functions in C library.
 | 
			
		||||
@@ -579,14 +579,14 @@ menu "ESP32-specific"
 | 
			
		||||
            - When RTC is used for timekeeping, two RTC_STORE registers are
 | 
			
		||||
              used to keep time in deep sleep mode.
 | 
			
		||||
 | 
			
		||||
        config ESP32_TIME_SYSCALL_USE_RTC_FRC1
 | 
			
		||||
        config ESP32_TIME_SYSCALL_USE_RTC_HRT
 | 
			
		||||
            bool "RTC and high-resolution timer"
 | 
			
		||||
            select ESP_TIME_FUNCS_USE_RTC_TIMER
 | 
			
		||||
            select ESP_TIME_FUNCS_USE_ESP_TIMER
 | 
			
		||||
        config ESP32_TIME_SYSCALL_USE_RTC
 | 
			
		||||
            bool "RTC"
 | 
			
		||||
            select ESP_TIME_FUNCS_USE_RTC_TIMER
 | 
			
		||||
        config ESP32_TIME_SYSCALL_USE_FRC1
 | 
			
		||||
        config ESP32_TIME_SYSCALL_USE_HRT
 | 
			
		||||
            bool "High-resolution timer"
 | 
			
		||||
            select ESP_TIME_FUNCS_USE_ESP_TIMER
 | 
			
		||||
        config ESP32_TIME_SYSCALL_USE_NONE
 | 
			
		||||
 
 | 
			
		||||
@@ -28,5 +28,7 @@ CONFIG_BROWNOUT_DET_LVL_SEL_5                           CONFIG_ESP32_BROWNOUT_DE
 | 
			
		||||
CONFIG_BROWNOUT_DET_LVL_SEL_6                           CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_6
 | 
			
		||||
CONFIG_BROWNOUT_DET_LVL_SEL_7                           CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_7
 | 
			
		||||
CONFIG_BROWNOUT_DET_LVL                                 CONFIG_ESP32_BROWNOUT_DET_LVL
 | 
			
		||||
CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1                  CONFIG_ESP32_TIME_SYSCALL_USE_RTC_HRT
 | 
			
		||||
CONFIG_ESP32_TIME_SYSCALL_USE_FRC1                      CONFIG_ESP32_TIME_SYSCALL_USE_HRT
 | 
			
		||||
# SPI RAM config
 | 
			
		||||
CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST           CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user