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
				
			
		| 
						 | 
				
			
			@ -1,21 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
 Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br>
 | 
			
		||||
 | 
			
		||||
This program is free software: you can redistribute it and/or modify
 | 
			
		||||
it under the terms of the GNU General Public License as published by
 | 
			
		||||
the Free Software Foundation, either version 2 of the License, or
 | 
			
		||||
(at your option) any later version.
 | 
			
		||||
 | 
			
		||||
This program is distributed in the hope that it will be useful,
 | 
			
		||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
GNU General Public License for more details.
 | 
			
		||||
 | 
			
		||||
You should have received a copy of the GNU General Public License
 | 
			
		||||
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define WEAR_LEVELING_LOGICAL_SIZE 2048
 | 
			
		||||
#define WEAR_LEVELING_BACKING_SIZE 4096
 | 
			
		||||
| 
						 | 
				
			
			@ -13,6 +13,11 @@
 | 
			
		|||
        "rows": ["C5", "B0", "B14", "B15", "A8", "C9", "A15"]
 | 
			
		||||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "eeprom": {
 | 
			
		||||
        "wear_leveling": {
 | 
			
		||||
            "backing_size": 4096
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "processor": "STM32F401",
 | 
			
		||||
    "bootloader": "stm32-dfu",
 | 
			
		||||
    "layout_aliases": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue