aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/uthol
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-30 10:43:15 +0000
committerGitHub <[email protected]>2024-03-30 10:43:15 +0000
commit426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch)
treefbee5244f85aada3c7c17d52cd3dace080f7e06f /keyboards/handwired/uthol
parent86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff)
downloadqmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.tar.gz
qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.zip
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'keyboards/handwired/uthol')
-rw-r--r--keyboards/handwired/uthol/rev1/keyboard.json (renamed from keyboards/handwired/uthol/rev1/info.json)11
-rw-r--r--keyboards/handwired/uthol/rev1/rules.mk7
-rw-r--r--keyboards/handwired/uthol/rev2/keyboard.json (renamed from keyboards/handwired/uthol/rev2/info.json)12
-rw-r--r--keyboards/handwired/uthol/rev2/rules.mk8
4 files changed, 23 insertions, 15 deletions
diff --git a/keyboards/handwired/uthol/rev1/info.json b/keyboards/handwired/uthol/rev1/keyboard.json
index 02802966b2..dd5746e884 100644
--- a/keyboards/handwired/uthol/rev1/info.json
+++ b/keyboards/handwired/uthol/rev1/keyboard.json
@@ -3,6 +3,17 @@
"usb": {
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["D3", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4", "B5", "B4", "D2"],
"rows": ["D1", "D0", "D4", "C6", "D7"]
diff --git a/keyboards/handwired/uthol/rev1/rules.mk b/keyboards/handwired/uthol/rev1/rules.mk
deleted file mode 100644
index c06a99e1e4..0000000000
--- a/keyboards/handwired/uthol/rev1/rules.mk
+++ /dev/null
@@ -1,7 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-NKRO_ENABLE = yes
-LTO_ENABLE = yes
diff --git a/keyboards/handwired/uthol/rev2/info.json b/keyboards/handwired/uthol/rev2/keyboard.json
index 9185e97c43..95ca5946a9 100644
--- a/keyboards/handwired/uthol/rev2/info.json
+++ b/keyboards/handwired/uthol/rev2/keyboard.json
@@ -12,6 +12,18 @@
"ws2812": {
"pin": "E6"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "B5", "B4", "B6", "B2", "B3"],
"rows": ["B1", "F7", "F6", "F5", "F4"]
diff --git a/keyboards/handwired/uthol/rev2/rules.mk b/keyboards/handwired/uthol/rev2/rules.mk
deleted file mode 100644
index c6e22b8dd2..0000000000
--- a/keyboards/handwired/uthol/rev2/rules.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-NKRO_ENABLE = yes
-LTO_ENABLE = yes
-RGBLIGHT_ENABLE = yes