diff options
author | Joel Challis <[email protected]> | 2024-03-30 10:43:15 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-30 10:43:15 +0000 |
commit | 426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch) | |
tree | fbee5244f85aada3c7c17d52cd3dace080f7e06f /keyboards/melgeek | |
parent | 86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff) | |
download | qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.tar.gz qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.zip |
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'keyboards/melgeek')
-rw-r--r-- | keyboards/melgeek/mach80/rev1/info.json | 7 | ||||
-rw-r--r-- | keyboards/melgeek/mach80/rev1/keyboard.json | 19 | ||||
-rwxr-xr-x | keyboards/melgeek/mach80/rev1/rules.mk | 14 | ||||
-rw-r--r-- | keyboards/melgeek/mach80/rev2/info.json | 7 | ||||
-rw-r--r-- | keyboards/melgeek/mach80/rev2/keyboard.json | 19 | ||||
-rwxr-xr-x | keyboards/melgeek/mach80/rev2/rules.mk | 14 |
6 files changed, 38 insertions, 42 deletions
diff --git a/keyboards/melgeek/mach80/rev1/info.json b/keyboards/melgeek/mach80/rev1/info.json deleted file mode 100644 index af9f7c2669..0000000000 --- a/keyboards/melgeek/mach80/rev1/info.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "matrix_pins": { - "cols": ["B0", "B1", "B2", "B3", "D2", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "D3"], - "rows": ["F0", "F1", "F4", "F5", "F6", "E6"] - }, - "diode_direction": "ROW2COL" -} diff --git a/keyboards/melgeek/mach80/rev1/keyboard.json b/keyboards/melgeek/mach80/rev1/keyboard.json new file mode 100644 index 0000000000..5cb145793d --- /dev/null +++ b/keyboards/melgeek/mach80/rev1/keyboard.json @@ -0,0 +1,19 @@ +{ + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "matrix_pins": { + "cols": ["B0", "B1", "B2", "B3", "D2", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "D3"], + "rows": ["F0", "F1", "F4", "F5", "F6", "E6"] + }, + "diode_direction": "ROW2COL" +} diff --git a/keyboards/melgeek/mach80/rev1/rules.mk b/keyboards/melgeek/mach80/rev1/rules.mk deleted file mode 100755 index e0955f157a..0000000000 --- a/keyboards/melgeek/mach80/rev1/rules.mk +++ /dev/null @@ -1,14 +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 = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes # Use RGB matrix - -LTO_ENABLE = yes diff --git a/keyboards/melgeek/mach80/rev2/info.json b/keyboards/melgeek/mach80/rev2/info.json deleted file mode 100644 index af9f7c2669..0000000000 --- a/keyboards/melgeek/mach80/rev2/info.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "matrix_pins": { - "cols": ["B0", "B1", "B2", "B3", "D2", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "D3"], - "rows": ["F0", "F1", "F4", "F5", "F6", "E6"] - }, - "diode_direction": "ROW2COL" -} diff --git a/keyboards/melgeek/mach80/rev2/keyboard.json b/keyboards/melgeek/mach80/rev2/keyboard.json new file mode 100644 index 0000000000..5cb145793d --- /dev/null +++ b/keyboards/melgeek/mach80/rev2/keyboard.json @@ -0,0 +1,19 @@ +{ + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "matrix_pins": { + "cols": ["B0", "B1", "B2", "B3", "D2", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "D3"], + "rows": ["F0", "F1", "F4", "F5", "F6", "E6"] + }, + "diode_direction": "ROW2COL" +} diff --git a/keyboards/melgeek/mach80/rev2/rules.mk b/keyboards/melgeek/mach80/rev2/rules.mk deleted file mode 100755 index e0955f157a..0000000000 --- a/keyboards/melgeek/mach80/rev2/rules.mk +++ /dev/null @@ -1,14 +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 = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes # Use RGB matrix - -LTO_ENABLE = yes |