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/mode | |
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/mode')
-rw-r--r-- | keyboards/mode/m75h/keyboard.json (renamed from keyboards/mode/m75h/info.json) | 11 | ||||
-rw-r--r-- | keyboards/mode/m75h/rules.mk | 14 | ||||
-rw-r--r-- | keyboards/mode/m75s/keyboard.json (renamed from keyboards/mode/m75s/info.json) | 12 | ||||
-rw-r--r-- | keyboards/mode/m75s/rules.mk | 14 |
4 files changed, 23 insertions, 28 deletions
diff --git a/keyboards/mode/m75h/info.json b/keyboards/mode/m75h/keyboard.json index 8314dbf99d..5d4d8249e6 100644 --- a/keyboards/mode/m75h/info.json +++ b/keyboards/mode/m75h/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x7572", "device_version": "0.0.1" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C8", "C7", "A10", "B13", "B12", "B10", "B1", "C10", "C11", "D2", "C12", "B3", "B4", "B5", "B8", "B9"], "rows": ["C5", "B0", "B14", "B15", "A8", "C9", "A15"] diff --git a/keyboards/mode/m75h/rules.mk b/keyboards/mode/m75h/rules.mk deleted file mode 100644 index 328eece1f9..0000000000 --- a/keyboards/mode/m75h/rules.mk +++ /dev/null @@ -1,14 +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 = 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 = yes - diff --git a/keyboards/mode/m75s/info.json b/keyboards/mode/m75s/keyboard.json index df4d1ab451..aff38dc622 100644 --- a/keyboards/mode/m75s/info.json +++ b/keyboards/mode/m75s/keyboard.json @@ -8,6 +8,18 @@ "pid": "0x7583", "device_version": "0.0.1" }, + "build": { + "lto": true + }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C8", "A8", "A10", "B13", "B12", "B10", "B1", "C10", "C11", "D2", "C12", "B3", "B4", "B5", "B8", "B9"], "rows": ["C5", "B0", "B14", "B15", "C7", "C9", "A15"] diff --git a/keyboards/mode/m75s/rules.mk b/keyboards/mode/m75s/rules.mk deleted file mode 100644 index 760b9cb9e6..0000000000 --- a/keyboards/mode/m75s/rules.mk +++ /dev/null @@ -1,14 +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 = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = yes - |