Implement data driven wear leveling (#21906)
* DD encoder map, wear leveling * remove encoder map from DD let's avoid the support headache * wear leveling: specify the allowed drivers by name Co-authored-by: Ryan <fauxpark@gmail.com> * Add additional params * Relocate under eeprom * disable parsing --------- Co-authored-by: Dimitris Mantzouranis <d3xter93@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
		
							parent
							
								
									a03de8440b
								
							
						
					
					
						commit
						5fab310e65
					
				
					 4 changed files with 25 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -247,7 +247,19 @@
 | 
			
		|||
        },
 | 
			
		||||
        "eeprom": {
 | 
			
		||||
            "properties": {
 | 
			
		||||
                "driver": {"type": "string"}
 | 
			
		||||
                "driver": {"type": "string"},
 | 
			
		||||
                "wear_leveling": {
 | 
			
		||||
                    "type": "object",
 | 
			
		||||
                    "additionalProperties": false,
 | 
			
		||||
                    "properties": {
 | 
			
		||||
                        "driver": {
 | 
			
		||||
                            "type": "string",
 | 
			
		||||
                            "enum": ["custom", "embedded_flash", "legacy", "rp2040_flash", "spi_flash"]
 | 
			
		||||
                        },
 | 
			
		||||
                        "backing_size": {"$ref": "qmk.definitions.v1#/unsigned_int"},
 | 
			
		||||
                        "logical_size": {"$ref": "qmk.definitions.v1#/unsigned_int"}
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "encoder": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue