aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/nullbitsco/snap
diff options
context:
space:
mode:
authorJoel Challis2024-04-23 04:59:58 +0200
committerGitHub2024-04-23 04:59:58 +0200
commitdc0095c64b2658a8fb5421ce93cb6bdc53806693 (patch)
treedb77e79af5d1315ae467906321fef056e1810bf6 /keyboards/nullbitsco/snap
parente69b638756c80c0a26efa1959b611a04548a9f82 (diff)
Migrate build target markers to keyboard.json - N (#23589)
Diffstat (limited to 'keyboards/nullbitsco/snap')
-rw-r--r--keyboards/nullbitsco/snap/keyboard.json (renamed from keyboards/nullbitsco/snap/info.json)12
-rw-r--r--keyboards/nullbitsco/snap/rules.mk20
2 files changed, 15 insertions, 17 deletions
diff --git a/keyboards/nullbitsco/snap/info.json b/keyboards/nullbitsco/snap/keyboard.json
index 909e45d162..139bbf5b45 100644
--- a/keyboards/nullbitsco/snap/info.json
+++ b/keyboards/nullbitsco/snap/keyboard.json
@@ -7,6 +7,18 @@
"pid": "0x6063",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "rgblight": true,
+ "space_cadet": false
+ },
"encoder": {
"rotary": [
{"pin_a": "B3", "pin_b": "B1"}
diff --git a/keyboards/nullbitsco/snap/rules.mk b/keyboards/nullbitsco/snap/rules.mk
index 087be867f3..1603cb408c 100644
--- a/keyboards/nullbitsco/snap/rules.mk
+++ b/keyboards/nullbitsco/snap/rules.mk
@@ -1,22 +1,8 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # 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
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes # Use Link Time Optimization
-ENCODER_ENABLE = yes # Enables the use of one or more encoders
-SPACE_CADET_ENABLE = no # Enables the use of Space Cadet
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-CUSTOM_MATRIX = lite # Split custom matrix
+CUSTOM_MATRIX = lite
+
+UART_DRIVER_REQUIRED = yes
# Project specific files
SRC += common/bitc_led.c \
common/remote_kb.c \
matrix.c
-UART_DRIVER_REQUIRED = yes