mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 09:01:40 +01:00 
			
		
		
		
	timer_hal_capture_and_get_counter_value should be placed in the IRAM for speed optimization because the default ISR handler is placed in the IRAM. Closes https://github.com/espressif/esp-idf/issues/12021
		
			
				
	
	
		
			22 lines
		
	
	
		
			788 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			788 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
[mapping:gptimer_driver]
 | 
						|
archive: libdriver.a
 | 
						|
entries:
 | 
						|
    if GPTIMER_ISR_HANDLER_IN_IRAM = y:
 | 
						|
        gptimer: gptimer_default_isr (noflash)
 | 
						|
    if GPTIMER_CTRL_FUNC_IN_IRAM = y:
 | 
						|
        gptimer: gptimer_set_raw_count (noflash)
 | 
						|
        gptimer: gptimer_get_raw_count (noflash)
 | 
						|
        gptimer: gptimer_get_captured_count (noflash)
 | 
						|
        gptimer: gptimer_set_alarm_action (noflash)
 | 
						|
        gptimer: gptimer_start (noflash)
 | 
						|
        gptimer: gptimer_stop (noflash)
 | 
						|
 | 
						|
[mapping:gptimer_hal]
 | 
						|
archive: libhal.a
 | 
						|
entries:
 | 
						|
    if GPTIMER_ISR_HANDLER_IN_IRAM = y:
 | 
						|
        timer_hal: timer_hal_capture_and_get_counter_value (noflash)
 | 
						|
    if GPTIMER_CTRL_FUNC_IN_IRAM = y:
 | 
						|
        timer_hal: timer_hal_set_counter_value (noflash)
 | 
						|
        timer_hal: timer_hal_capture_and_get_counter_value (noflash)
 |