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/tkc | |
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/tkc')
-rw-r--r-- | keyboards/tkc/candybar/lefty/keyboard.json (renamed from keyboards/tkc/candybar/lefty/info.json) | 11 | ||||
-rw-r--r-- | keyboards/tkc/candybar/lefty/rules.mk | 15 | ||||
-rw-r--r-- | keyboards/tkc/candybar/lefty_r3/keyboard.json (renamed from keyboards/tkc/candybar/lefty_r3/info.json) | 11 | ||||
-rw-r--r-- | keyboards/tkc/candybar/lefty_r3/rules.mk | 13 | ||||
-rw-r--r-- | keyboards/tkc/candybar/righty/keyboard.json (renamed from keyboards/tkc/candybar/righty/info.json) | 11 | ||||
-rw-r--r-- | keyboards/tkc/candybar/righty/rules.mk | 15 | ||||
-rw-r--r-- | keyboards/tkc/candybar/righty_r3/keyboard.json (renamed from keyboards/tkc/candybar/righty_r3/info.json) | 11 | ||||
-rw-r--r-- | keyboards/tkc/candybar/righty_r3/rules.mk | 13 | ||||
-rw-r--r-- | keyboards/tkc/osav2/keyboard.json (renamed from keyboards/tkc/osav2/info.json) | 13 | ||||
-rw-r--r-- | keyboards/tkc/osav2/rules.mk | 13 | ||||
-rw-r--r-- | keyboards/tkc/portico68v2/keyboard.json (renamed from keyboards/tkc/portico68v2/info.json) | 12 | ||||
-rw-r--r-- | keyboards/tkc/portico68v2/rules.mk | 14 |
12 files changed, 69 insertions, 83 deletions
diff --git a/keyboards/tkc/candybar/lefty/info.json b/keyboards/tkc/candybar/lefty/keyboard.json index d1258fafad..fe8814e54b 100644 --- a/keyboards/tkc/candybar/lefty/info.json +++ b/keyboards/tkc/candybar/lefty/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0003", "device_version": "0.0.6" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15"], "rows": ["A8", "A9", "A10", "A13"] diff --git a/keyboards/tkc/candybar/lefty/rules.mk b/keyboards/tkc/candybar/lefty/rules.mk deleted file mode 100644 index 51c822797a..0000000000 --- a/keyboards/tkc/candybar/lefty/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -LTO_ENABLE = yes -BACKLIGHT_ENABLE = no -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 -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no - - diff --git a/keyboards/tkc/candybar/lefty_r3/info.json b/keyboards/tkc/candybar/lefty_r3/keyboard.json index 77b991a8dc..b09412ffc9 100644 --- a/keyboards/tkc/candybar/lefty_r3/info.json +++ b/keyboards/tkc/candybar/lefty_r3/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0003", "device_version": "0.0.6" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "D5", "B3", "B0", "B1", "B2", "D4", "D6", "D7", "B4"], "rows": ["F1", "F0", "D0", "D2"] diff --git a/keyboards/tkc/candybar/lefty_r3/rules.mk b/keyboards/tkc/candybar/lefty_r3/rules.mk deleted file mode 100644 index 92e817504f..0000000000 --- a/keyboards/tkc/candybar/lefty_r3/rules.mk +++ /dev/null @@ -1,13 +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/tkc/candybar/righty/info.json b/keyboards/tkc/candybar/righty/keyboard.json index 9cfb7d884b..f529ac936f 100644 --- a/keyboards/tkc/candybar/righty/info.json +++ b/keyboards/tkc/candybar/righty/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0002", "device_version": "0.0.6" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15"], "rows": ["A8", "A9", "A10", "A13"] diff --git a/keyboards/tkc/candybar/righty/rules.mk b/keyboards/tkc/candybar/righty/rules.mk deleted file mode 100644 index 51c822797a..0000000000 --- a/keyboards/tkc/candybar/righty/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -LTO_ENABLE = yes -BACKLIGHT_ENABLE = no -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 -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no - - diff --git a/keyboards/tkc/candybar/righty_r3/info.json b/keyboards/tkc/candybar/righty_r3/keyboard.json index 8fb72e1635..8064672583 100644 --- a/keyboards/tkc/candybar/righty_r3/info.json +++ b/keyboards/tkc/candybar/righty_r3/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0002", "device_version": "0.0.6" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D5", "B1", "B3", "B2", "B0", "F0", "F1", "F4", "F5"], "rows": ["F6", "F7", "D0", "D2"] diff --git a/keyboards/tkc/candybar/righty_r3/rules.mk b/keyboards/tkc/candybar/righty_r3/rules.mk deleted file mode 100644 index 92e817504f..0000000000 --- a/keyboards/tkc/candybar/righty_r3/rules.mk +++ /dev/null @@ -1,13 +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/tkc/osav2/info.json b/keyboards/tkc/osav2/keyboard.json index cc878e14f4..118eedfc85 100644 --- a/keyboards/tkc/osav2/info.json +++ b/keyboards/tkc/osav2/keyboard.json @@ -27,6 +27,19 @@ "ws2812": { "pin": "D4" }, + "build": { + "lto": true + }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "D7", "D5", "D3", "D2", "D0", "D1", "B5"], "rows": ["F0", "F1", "F4", "F5", "F6", "B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/tkc/osav2/rules.mk b/keyboards/tkc/osav2/rules.mk deleted file mode 100644 index e98264035d..0000000000 --- a/keyboards/tkc/osav2/rules.mk +++ /dev/null @@ -1,13 +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 = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = yes # Reduces compile size diff --git a/keyboards/tkc/portico68v2/info.json b/keyboards/tkc/portico68v2/keyboard.json index 38a94c2c9d..914dee8760 100644 --- a/keyboards/tkc/portico68v2/info.json +++ b/keyboards/tkc/portico68v2/keyboard.json @@ -57,6 +57,18 @@ "max_brightness": 175, "sleep": true }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "F6", "F5", "F4", "F1", "B0", "B1", "B2", "B3"], "rows": ["B6", "C6", "C7", "F7", "D2"] diff --git a/keyboards/tkc/portico68v2/rules.mk b/keyboards/tkc/portico68v2/rules.mk deleted file mode 100644 index 82b94419c1..0000000000 --- a/keyboards/tkc/portico68v2/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 = yes # 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 # Compile-time optimizations -RGB_MATRIX_ENABLE = yes # Use RGB matrix |