diff options
| author | Joel Challis <git@zvecr.com> | 2024-03-30 10:43:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-30 10:43:15 +0000 |
| commit | 426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch) | |
| tree | fbee5244f85aada3c7c17d52cd3dace080f7e06f /keyboards/flx | |
| parent | 86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff) | |
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'keyboards/flx')
| -rw-r--r-- | keyboards/flx/lodestone/keyboard.json (renamed from keyboards/flx/lodestone/info.json) | 11 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/rules.mk | 12 | ||||
| -rw-r--r-- | keyboards/flx/virgo/keyboard.json (renamed from keyboards/flx/virgo/info.json) | 13 | ||||
| -rw-r--r-- | keyboards/flx/virgo/rules.mk | 13 |
4 files changed, 24 insertions, 25 deletions
diff --git a/keyboards/flx/lodestone/info.json b/keyboards/flx/lodestone/keyboard.json index a7d6a18e86..c6dd4197da 100644 --- a/keyboards/flx/lodestone/info.json +++ b/keyboards/flx/lodestone/keyboard.json | |||
| @@ -8,6 +8,17 @@ | |||
| 8 | "pid": "0x4C53", | 8 | "pid": "0x4C53", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "build": { | ||
| 12 | "lto": true | ||
| 13 | }, | ||
| 14 | "features": { | ||
| 15 | "bootmagic": true, | ||
| 16 | "command": false, | ||
| 17 | "console": false, | ||
| 18 | "extrakey": true, | ||
| 19 | "mousekey": true, | ||
| 20 | "nkro": true | ||
| 21 | }, | ||
| 11 | "matrix_pins": { | 22 | "matrix_pins": { |
| 12 | "cols": ["B2", "F5", "F6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], | 23 | "cols": ["B2", "F5", "F6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], |
| 13 | "rows": ["B3", "B7", "F0", "F1", "F4"] | 24 | "rows": ["B3", "B7", "F0", "F1", "F4"] |
diff --git a/keyboards/flx/lodestone/rules.mk b/keyboards/flx/lodestone/rules.mk deleted file mode 100644 index dcdd2221bc..0000000000 --- a/keyboards/flx/lodestone/rules.mk +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | # Build Options | ||
| 2 | # change yes to no to disable | ||
| 3 | # | ||
| 4 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 5 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 6 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 7 | CONSOLE_ENABLE = no # Console for debug | ||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
| 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 11 | AUDIO_ENABLE = no # Audio output | ||
| 12 | LTO_ENABLE = yes | ||
diff --git a/keyboards/flx/virgo/info.json b/keyboards/flx/virgo/keyboard.json index d1e40b9ece..8396ce51da 100644 --- a/keyboards/flx/virgo/info.json +++ b/keyboards/flx/virgo/keyboard.json | |||
| @@ -8,6 +8,19 @@ | |||
| 8 | "pid": "0x5647", | 8 | "pid": "0x5647", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "build": { | ||
| 12 | "lto": true | ||
| 13 | }, | ||
| 14 | "features": { | ||
| 15 | "backlight": true, | ||
| 16 | "bootmagic": true, | ||
| 17 | "command": false, | ||
| 18 | "console": false, | ||
| 19 | "extrakey": true, | ||
| 20 | "mousekey": true, | ||
| 21 | "nkro": false, | ||
| 22 | "rgblight": true | ||
| 23 | }, | ||
| 11 | "matrix_pins": { | 24 | "matrix_pins": { |
| 12 | "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "B0", "B1"], | 25 | "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "B0", "B1"], |
| 13 | "rows": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"] | 26 | "rows": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"] |
diff --git a/keyboards/flx/virgo/rules.mk b/keyboards/flx/virgo/rules.mk deleted file mode 100644 index cafe30d929..0000000000 --- a/keyboards/flx/virgo/rules.mk +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | # Build Options | ||
| 2 | # change yes to no to disable | ||
| 3 | # | ||
| 4 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 5 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 6 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 7 | CONSOLE_ENABLE = no # Console for debug | ||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 9 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 12 | AUDIO_ENABLE = no # Audio output | ||
| 13 | LTO_ENABLE = yes | ||
