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

@ -8,6 +8,20 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
"build": {
"lto": true
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"encoder": true,
"extrakey": true,
"mousekey": false,
"nkro": false,
"oled": true,
"rgblight": true
},
"matrix_pins": {
"cols": ["F7", "B1", "B3", "B2", "B6"],
"rows": ["B4", "E6", "D7", "B5", "C6", "F6"]

View file

@ -1,16 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # 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 = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
ENCODER_ENABLE = yes # Enable rotary encoder support
OLED_ENABLE = yes # Enable OLED support
LTO_ENABLE = yes # Enable Link Time Optimization to reduce firmware size