Migrate features and LTO from rules.mk to data driven (#23302)

This commit is contained in:
Joel Challis 2024-03-30 10:43:15 +00:00 committed by GitHub
parent 86e7df0c2a
commit 426bb9c651
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
291 changed files with 1763 additions and 2023 deletions

View file

@ -29,6 +29,19 @@
"twinkle": true
}
},
"build": {
"lto": true
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgblight": true
},
"matrix_pins": {
"cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"],
"rows": ["B7", "D0", "D1", "D2", "D3", "D5"]

View file

@ -1,17 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # 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 = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes
LTO_ENABLE = yes