Migrate some dip switch config to info.json (#22437)
This commit is contained in:
		
							parent
							
								
									3a5e4253fc
								
							
						
					
					
						commit
						a0a6820c1b
					
				
					 42 changed files with 72 additions and 90 deletions
				
			
		| 
						 | 
				
			
			@ -17,6 +17,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define DIP_SWITCH_MATRIX_GRID { {0,14}, {1,14}, {2,14}, {3,14} }
 | 
			
		||||
 | 
			
		||||
#define GPIO_INPUT_PIN_DELAY (NUC123_HCLK / 6 / 1000000L)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,6 +12,9 @@
 | 
			
		|||
        "rows": ["D11", "B4", "B5", "B6", "B7"]
 | 
			
		||||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "dip_switch": {
 | 
			
		||||
        "matrix_grid": [ [0,14], [1,14], [2,14], [3,14] ]
 | 
			
		||||
    },
 | 
			
		||||
    "layout_aliases": {
 | 
			
		||||
        "LAYOUT_iso": "LAYOUT_60_iso"
 | 
			
		||||
    },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,6 +17,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define DIP_SWITCH_MATRIX_GRID { {0,14}, {1,14}, {2,14}, {3,14} }
 | 
			
		||||
 | 
			
		||||
#define GPIO_INPUT_PIN_DELAY (NUC123_HCLK / 6 / 1000000L)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,6 +13,9 @@
 | 
			
		|||
        "rows": ["D11", "B4", "B5", "B6", "B7"]
 | 
			
		||||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "dip_switch": {
 | 
			
		||||
        "matrix_grid": [ [0,14], [1,14], [2,14], [3,14] ]
 | 
			
		||||
    },
 | 
			
		||||
    "layouts": {
 | 
			
		||||
        "LAYOUT_all": {
 | 
			
		||||
            "layout": [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue