Consolidate some EEPROM Driver configuration (#22321)
This commit is contained in:
		
							parent
							
								
									79094d3f72
								
							
						
					
					
						commit
						bf6f13a2b0
					
				
					 21 changed files with 28 additions and 70 deletions
				
			
		| 
						 | 
				
			
			@ -22,7 +22,6 @@
 | 
			
		|||
#define RGB_CURR_3000mA_OK_PIN C5
 | 
			
		||||
 | 
			
		||||
// EEPROM configuration
 | 
			
		||||
#define EEPROM_SPI_MB85RS64V
 | 
			
		||||
#define EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN B5
 | 
			
		||||
#define EXTERNAL_EEPROM_SPI_CLOCK_DIVISOR 8 // (160MHz/8) => 20MHz
 | 
			
		||||
#define EXTERNAL_EEPROM_BYTE_COUNT 8192
 | 
			
		||||
#define EXTERNAL_EEPROM_PAGE_SIZE 64 // it's FRAM, so it doesn't actually matter, this just sets the RAM buffer size
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,10 +25,9 @@
 | 
			
		|||
#define RGB_CURR_3000mA_OK_PIN C4
 | 
			
		||||
 | 
			
		||||
// EEPROM configuration
 | 
			
		||||
#define EEPROM_SPI_MB85RS64V
 | 
			
		||||
#define EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN B5
 | 
			
		||||
#define EXTERNAL_EEPROM_SPI_CLOCK_DIVISOR 8 // (160MHz/8) => 20MHz
 | 
			
		||||
#define EXTERNAL_EEPROM_BYTE_COUNT 8192
 | 
			
		||||
#define EXTERNAL_EEPROM_PAGE_SIZE 64 // it's FRAM, so it doesn't actually matter, this just sets the RAM buffer size
 | 
			
		||||
 | 
			
		||||
// External flash config
 | 
			
		||||
#define EXTERNAL_FLASH_SPI_MODE 3
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,7 @@
 | 
			
		|||
// #define MATRIX_COLS 8 // actually defined in info.json: 8 bits per register
 | 
			
		||||
 | 
			
		||||
// EEPROM configuration
 | 
			
		||||
#define EXTERNAL_EEPROM_BYTE_COUNT 8192
 | 
			
		||||
#define EXTERNAL_EEPROM_PAGE_SIZE 64 // it's FRAM, so it doesn't actually matter, this just sets the RAM buffer
 | 
			
		||||
#define EEPROM_SPI_MB85RS64V
 | 
			
		||||
 | 
			
		||||
// RGB configuration
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 40
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue