mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +00:00 
			
		
		
		
	 07291fdd27
			
		
	
	07291fdd27
	
	
	
		
			
			This commit adds handling for FIFO overruns and adds workarounds for HW errats on the ESP32. Closes https://github.com/espressif/esp-idf/issues/2519 Closes https://github.com/espressif/esp-idf/issues/4276
		
			
				
	
	
		
			10 lines
		
	
	
		
			473 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			473 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
 | |
| [mapping:driver]
 | |
| archive: libdriver.a
 | |
| entries:
 | |
|     # TWAI workarounds that require periph_module_reset() won't work if cache is disabled due to the use of switch jump
 | |
|     # tables in periph_module_reset(). We prevent any part of periph_module_reset() (either text or RO data) from being
 | |
|     # placed in flash.
 | |
|     if TWAI_ISR_IN_IRAM = y  && (TWAI_ERRATA_FIX_RX_FRAME_INVALID = y || TWAI_ERRATA_FIX_RX_FIFO_CORRUPT = y):
 | |
|         periph_ctrl: periph_module_reset (noflash)
 |