Store EEPROM config in flash (#14923)
Avoid confusion between the 2 possible SDs...
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							13d8dc0b79
						
					
				
				
					commit
					c6be989fca
				
			@@ -191,3 +191,8 @@
 | 
				
			|||||||
#ifndef ST7920_DELAY_3
 | 
					#ifndef ST7920_DELAY_3
 | 
				
			||||||
  #define ST7920_DELAY_3 DELAY_NS(125)
 | 
					  #define ST7920_DELAY_3 DELAY_NS(125)
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define FLASH_EEPROM_EMULATION
 | 
				
			||||||
 | 
					#define EEPROM_PAGE_SIZE     (0x800) // 2KB
 | 
				
			||||||
 | 
					#define EEPROM_START_ADDRESS (0x8000000 + (256 * 1024) - 2 * EEPROM_PAGE_SIZE)
 | 
				
			||||||
 | 
					#define E2END                (EEPROM_PAGE_SIZE - 1)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user