aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ffkeebs/puca
diff options
context:
space:
mode:
authorJoel Challis2024-03-30 11:43:15 +0100
committerGitHub2024-03-30 11:43:15 +0100
commit426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch)
treefbee5244f85aada3c7c17d52cd3dace080f7e06f /keyboards/ffkeebs/puca
parent86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff)
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'keyboards/ffkeebs/puca')
-rw-r--r--keyboards/ffkeebs/puca/keyboard.json (renamed from keyboards/ffkeebs/puca/info.json)14
-rw-r--r--keyboards/ffkeebs/puca/rules.mk16
2 files changed, 14 insertions, 16 deletions
diff --git a/keyboards/ffkeebs/puca/info.json b/keyboards/ffkeebs/puca/keyboard.json
index dbfc2f4320..04f444869d 100644
--- a/keyboards/ffkeebs/puca/info.json
+++ b/keyboards/ffkeebs/puca/keyboard.json
@@ -8,6 +8,20 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "oled": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["F7", "B1", "B3", "B2", "B6"],
"rows": ["B4", "E6", "D7", "B5", "C6", "F6"]
diff --git a/keyboards/ffkeebs/puca/rules.mk b/keyboards/ffkeebs/puca/rules.mk
deleted file mode 100644
index 3e5ac0433f..0000000000
--- a/keyboards/ffkeebs/puca/rules.mk
+++ /dev/null
@@ -1,16 +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 = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-
-ENCODER_ENABLE = yes # Enable rotary encoder support
-OLED_ENABLE = yes # Enable OLED support
-
-LTO_ENABLE = yes # Enable Link Time Optimization to reduce firmware size