Move matrix config to info.json, part 1 (#19985)
This commit is contained in:
		
							parent
							
								
									b34d51d08d
								
							
						
					
					
						commit
						23c365b023
					
				
					 502 changed files with 1299 additions and 3461 deletions
				
			
		| 
						 | 
				
			
			@ -17,14 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
//                        C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 , C9 , C10, C11, C12, C13
 | 
			
		||||
#define MATRIX_COL_PINS { C4 , C5 , B0 , C13, C14, C15, B9 , C1 , C2 , C3 , A6 , A5 , A4 , A0 }
 | 
			
		||||
//                        R0 , R1 , R2 , R3 , R4 , R5 , R6
 | 
			
		||||
#define MATRIX_ROW_PINS { A3 , A2 , A1 , B8 , A7 , C0 }
 | 
			
		||||
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
#define I2C_DRIVER I2CD1
 | 
			
		||||
#define I2C_SCL_PIN B6
 | 
			
		||||
#define I2C_SDA_PIN B7
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,11 @@
 | 
			
		|||
        "pid": "0x2D28",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["C4", "C5", "B0", "C13", "C14", "C15", "B9", "C1", "C2", "C3", "A6", "A5", "A4", "A0"],
 | 
			
		||||
        "rows": ["A3", "A2", "A1", "B8", "A7", "C0"]
 | 
			
		||||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "processor": "STM32F401",
 | 
			
		||||
    "bootloader": "stm32-dfu",
 | 
			
		||||
    "layout_aliases": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue