Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
This commit is contained in:
		
							parent
							
								
									36b4e290c8
								
							
						
					
					
						commit
						00feff656f
					
				
					 58 changed files with 89 additions and 120 deletions
				
			
		| 
						 | 
				
			
			@ -25,7 +25,6 @@
 | 
			
		|||
 | 
			
		||||
/* External spi flash */
 | 
			
		||||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
 | 
			
		||||
#define WEAR_LEVELING_BACKING_SIZE (4 * 1024)
 | 
			
		||||
 | 
			
		||||
/* SPI Config for LED Driver */
 | 
			
		||||
#define SPI_DRIVER SPIDQ
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,8 @@
 | 
			
		|||
    "eeprom": {
 | 
			
		||||
        "driver": "wear_leveling",
 | 
			
		||||
        "wear_leveling": {
 | 
			
		||||
            "driver": "spi_flash"
 | 
			
		||||
            "driver": "spi_flash",
 | 
			
		||||
            "backing_size": 4096
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "features": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue