Add customisable EEPROM driver selection (#7274)
- uprintf -> dprintf - Fix atsam "vendor" eeprom. - Bump Kinetis K20x to 64 bytes, too. - Rollback Kinetis to 32 bytes as partitioning can only be done once. Add warning about changing the value. - Change RAM-backed "fake" EEPROM implementations to match eeconfig's current usage. - Add 24LC128 by request.
This commit is contained in:
		
							parent
							
								
									6ff093efbe
								
							
						
					
					
						commit
						d13ada1162
					
				
					 20 changed files with 616 additions and 52 deletions
				
			
		| 
						 | 
				
			
			@ -258,7 +258,7 @@ void audio_init() {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
// Check EEPROM
 | 
			
		||||
#if defined(STM32_EEPROM_ENABLE) || defined(PROTOCOL_ARM_ATSAM) || defined(EEPROM_SIZE)
 | 
			
		||||
#ifdef EEPROM_ENABLE
 | 
			
		||||
    if (!eeconfig_is_enabled()) {
 | 
			
		||||
        eeconfig_init();
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue