Migrate features and LTO from rules.mk to data driven (#23302)
This commit is contained in:
		
							parent
							
								
									86e7df0c2a
								
							
						
					
					
						commit
						426bb9c651
					
				
					 291 changed files with 1763 additions and 2023 deletions
				
			
		| 
						 | 
				
			
			@ -8,6 +8,15 @@
 | 
			
		|||
     "pid": "0x0003",
 | 
			
		||||
     "device_version": "0.0.1"
 | 
			
		||||
  },
 | 
			
		||||
  "features": {
 | 
			
		||||
    "bootmagic": false,
 | 
			
		||||
    "command": false,
 | 
			
		||||
    "console": false,
 | 
			
		||||
    "encoder": true,
 | 
			
		||||
    "extrakey": true,
 | 
			
		||||
    "mousekey": false,
 | 
			
		||||
    "nkro": true
 | 
			
		||||
  },
 | 
			
		||||
  "matrix_pins": {
 | 
			
		||||
    "cols": ["B6", "B2", "D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
 | 
			
		||||
    "rows": ["F6", "F7", "B1", "B3"]
 | 
			
		||||
| 
						 | 
				
			
			@ -1,14 +0,0 @@
 | 
			
		|||
# Build Options
 | 
			
		||||
#   change yes to no to disable
 | 
			
		||||
#
 | 
			
		||||
BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
 | 
			
		||||
MOUSEKEY_ENABLE = no       # Mouse keys
 | 
			
		||||
EXTRAKEY_ENABLE = yes       # Audio control and System control
 | 
			
		||||
CONSOLE_ENABLE = no         # Console for debug
 | 
			
		||||
COMMAND_ENABLE = no         # Commands for debug and configuration
 | 
			
		||||
NKRO_ENABLE = yes           # Enable N-Key Rollover
 | 
			
		||||
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 | 
			
		||||
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
 | 
			
		||||
AUDIO_ENABLE = no           # Audio output
 | 
			
		||||
LTO_ENABLE = no             # Use link time optimization
 | 
			
		||||
ENCODER_ENABLE = yes
 | 
			
		||||
| 
						 | 
				
			
			@ -8,6 +8,14 @@
 | 
			
		|||
     "pid": "0x0420",
 | 
			
		||||
     "device_version": "4.2.0"
 | 
			
		||||
  },
 | 
			
		||||
  "features": {
 | 
			
		||||
    "bootmagic": false,
 | 
			
		||||
    "command": false,
 | 
			
		||||
    "console": false,
 | 
			
		||||
    "extrakey": true,
 | 
			
		||||
    "mousekey": true,
 | 
			
		||||
    "nkro": true
 | 
			
		||||
  },
 | 
			
		||||
  "matrix_pins": {
 | 
			
		||||
     "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B6"],
 | 
			
		||||
     "rows": ["B1", "B3", "B2", "B5"]
 | 
			
		||||
| 
						 | 
				
			
			@ -1,13 +0,0 @@
 | 
			
		|||
# Build Options
 | 
			
		||||
#   change yes to no to disable
 | 
			
		||||
#
 | 
			
		||||
BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
 | 
			
		||||
MOUSEKEY_ENABLE = yes       # Mouse keys
 | 
			
		||||
EXTRAKEY_ENABLE = yes       # Audio control and System control
 | 
			
		||||
CONSOLE_ENABLE = no         # Console for debug
 | 
			
		||||
COMMAND_ENABLE = no         # Commands for debug and configuration
 | 
			
		||||
NKRO_ENABLE = yes           # Enable N-Key Rollover
 | 
			
		||||
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 | 
			
		||||
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
 | 
			
		||||
AUDIO_ENABLE = no           # Audio output
 | 
			
		||||
LTO_ENABLE = no             # Use link time optimization
 | 
			
		||||
| 
						 | 
				
			
			@ -8,6 +8,15 @@
 | 
			
		|||
     "pid": "0x0004",
 | 
			
		||||
     "device_version": "0.0.1"
 | 
			
		||||
  },
 | 
			
		||||
  "features": {
 | 
			
		||||
    "bootmagic": false,
 | 
			
		||||
    "command": false,
 | 
			
		||||
    "console": false,
 | 
			
		||||
    "encoder": true,
 | 
			
		||||
    "extrakey": true,
 | 
			
		||||
    "mousekey": true,
 | 
			
		||||
    "nkro": true
 | 
			
		||||
  },
 | 
			
		||||
  "matrix_pins": {
 | 
			
		||||
     "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B3"],
 | 
			
		||||
     "rows": ["F7", "B1", "B6", "B2"]
 | 
			
		||||
| 
						 | 
				
			
			@ -1,14 +0,0 @@
 | 
			
		|||
# Build Options
 | 
			
		||||
#   change yes to no to disable
 | 
			
		||||
#
 | 
			
		||||
BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
 | 
			
		||||
MOUSEKEY_ENABLE = yes       # Mouse keys
 | 
			
		||||
EXTRAKEY_ENABLE = yes       # Audio control and System control
 | 
			
		||||
CONSOLE_ENABLE = no         # Console for debug
 | 
			
		||||
COMMAND_ENABLE = no         # Commands for debug and configuration
 | 
			
		||||
NKRO_ENABLE = yes           # Enable N-Key Rollover
 | 
			
		||||
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 | 
			
		||||
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
 | 
			
		||||
AUDIO_ENABLE = no           # Audio output
 | 
			
		||||
LTO_ENABLE = no             # Use link time optimization
 | 
			
		||||
ENCODER_ENABLE = yes
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue