aboutsummaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-04-23 03:59:58 +0100
committerGitHub <noreply@github.com>2024-04-23 03:59:58 +0100
commitdc0095c64b2658a8fb5421ce93cb6bdc53806693 (patch)
treedb77e79af5d1315ae467906321fef056e1810bf6 /keyboards/nullbitsco
parente69b638756c80c0a26efa1959b611a04548a9f82 (diff)
downloadqmk_firmware-dc0095c64b2658a8fb5421ce93cb6bdc53806693.tar.gz
qmk_firmware-dc0095c64b2658a8fb5421ce93cb6bdc53806693.zip
Migrate build target markers to keyboard.json - N (#23589)
Diffstat (limited to 'keyboards/nullbitsco')
-rw-r--r--keyboards/nullbitsco/nibble/keyboard.json (renamed from keyboards/nullbitsco/nibble/info.json)11
-rw-r--r--keyboards/nullbitsco/nibble/rules.mk19
-rw-r--r--keyboards/nullbitsco/scramble/rules.mk3
-rw-r--r--keyboards/nullbitsco/scramble/v1/keyboard.json (renamed from keyboards/nullbitsco/scramble/v1/info.json)7
-rw-r--r--keyboards/nullbitsco/scramble/v1/rules.mk13
-rw-r--r--keyboards/nullbitsco/scramble/v2/keyboard.json (renamed from keyboards/nullbitsco/scramble/v2/info.json)7
-rw-r--r--keyboards/nullbitsco/scramble/v2/rules.mk13
-rw-r--r--keyboards/nullbitsco/snap/keyboard.json (renamed from keyboards/nullbitsco/snap/info.json)12
-rw-r--r--keyboards/nullbitsco/snap/rules.mk20
-rw-r--r--keyboards/nullbitsco/tidbit/keyboard.json (renamed from keyboards/nullbitsco/tidbit/info.json)11
-rw-r--r--keyboards/nullbitsco/tidbit/rules.mk15
11 files changed, 54 insertions, 77 deletions
diff --git a/keyboards/nullbitsco/nibble/info.json b/keyboards/nullbitsco/nibble/keyboard.json
index 159e501218..fb1c8098a0 100644
--- a/keyboards/nullbitsco/nibble/info.json
+++ b/keyboards/nullbitsco/nibble/keyboard.json
@@ -7,6 +7,17 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true,
+ "rgblight": true
+ },
"encoder": {
"rotary": [
{"pin_a": "B5", "pin_b": "B4"}
diff --git a/keyboards/nullbitsco/nibble/rules.mk b/keyboards/nullbitsco/nibble/rules.mk
index 5a1714cc9d..ad36b7fcc9 100644
--- a/keyboards/nullbitsco/nibble/rules.mk
+++ b/keyboards/nullbitsco/nibble/rules.mk
@@ -1,22 +1,9 @@
-# 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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes # Use rotary encoder
-LTO_ENABLE = yes # Link-time optimization
-CUSTOM_MATRIX = lite # Lite custom matrix
+CUSTOM_MATRIX = lite
+
+UART_DRIVER_REQUIRED = yes
# Project specific files
SRC += matrix.c \
common/bitc_led.c \
big_led.c \
common/remote_kb.c
-UART_DRIVER_REQUIRED = yes
diff --git a/keyboards/nullbitsco/scramble/rules.mk b/keyboards/nullbitsco/scramble/rules.mk
index 6f83796e9f..5753f7786d 100644
--- a/keyboards/nullbitsco/scramble/rules.mk
+++ b/keyboards/nullbitsco/scramble/rules.mk
@@ -1,4 +1 @@
-# NOTE: This file is shared and only exists to set the default build
-# The real build rules are set in the v1/v2 directories
-
DEFAULT_FOLDER = nullbitsco/scramble/v2
diff --git a/keyboards/nullbitsco/scramble/v1/info.json b/keyboards/nullbitsco/scramble/v1/keyboard.json
index 5a9aeef64b..145f4f389c 100644
--- a/keyboards/nullbitsco/scramble/v1/info.json
+++ b/keyboards/nullbitsco/scramble/v1/keyboard.json
@@ -1,4 +1,11 @@
{
+ "features": {
+ "bootmagic": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
"encoder": {
"rotary": [
{"pin_a": "D6", "pin_b": "D7"}
diff --git a/keyboards/nullbitsco/scramble/v1/rules.mk b/keyboards/nullbitsco/scramble/v1/rules.mk
deleted file mode 100644
index f917d68f4e..0000000000
--- a/keyboards/nullbitsco/scramble/v1/rules.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # 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 = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes # Use rotary encoder
diff --git a/keyboards/nullbitsco/scramble/v2/info.json b/keyboards/nullbitsco/scramble/v2/keyboard.json
index 2a89a1063b..a55e878741 100644
--- a/keyboards/nullbitsco/scramble/v2/info.json
+++ b/keyboards/nullbitsco/scramble/v2/keyboard.json
@@ -1,4 +1,11 @@
{
+ "features": {
+ "bootmagic": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
"encoder": {
"rotary": [
{"pin_a": "GP24", "pin_b": "GP25"}
diff --git a/keyboards/nullbitsco/scramble/v2/rules.mk b/keyboards/nullbitsco/scramble/v2/rules.mk
deleted file mode 100644
index f917d68f4e..0000000000
--- a/keyboards/nullbitsco/scramble/v2/rules.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # 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 = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes # Use rotary encoder
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
diff --git a/keyboards/nullbitsco/tidbit/info.json b/keyboards/nullbitsco/tidbit/keyboard.json
index b8eaf60d89..83593ad523 100644
--- a/keyboards/nullbitsco/tidbit/info.json
+++ b/keyboards/nullbitsco/tidbit/keyboard.json
@@ -7,6 +7,17 @@
"pid": "0x6064",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "rgblight": true
+ },
"rgblight": {
"led_count": 8,
"animations": {
diff --git a/keyboards/nullbitsco/tidbit/rules.mk b/keyboards/nullbitsco/tidbit/rules.mk
index b4a06216bb..9cc22114ae 100644
--- a/keyboards/nullbitsco/tidbit/rules.mk
+++ b/keyboards/nullbitsco/tidbit/rules.mk
@@ -1,18 +1,3 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # 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
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes
-LTO_ENABLE = yes
-
# Project specific files
SRC += common/bitc_led.c \
common/remote_kb.c