aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hhkb
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-25 18:37:44 +0100
committerGitHub <[email protected]>2024-04-25 10:37:44 -0700
commite9b8929357abd35f62aae211d3edec434299b021 (patch)
treecdf72eb7bf56ec7bb5e63b30aaebc890968aa270 /keyboards/hhkb
parent3d83b3e7c5dc18b77d82798fdad9d7552487cfe4 (diff)
downloadqmk_firmware-e9b8929357abd35f62aae211d3edec434299b021.tar.gz
qmk_firmware-e9b8929357abd35f62aae211d3edec434299b021.zip
Migrate build target markers to keyboard.json - Misc (#23612)
Diffstat (limited to 'keyboards/hhkb')
-rw-r--r--keyboards/hhkb/ansi/32u2/keyboard.json8
-rw-r--r--keyboards/hhkb/ansi/32u2/rules.mk2
-rw-r--r--keyboards/hhkb/ansi/32u4/keyboard.json10
-rw-r--r--keyboards/hhkb/ansi/rules.mk19
4 files changed, 17 insertions, 22 deletions
diff --git a/keyboards/hhkb/ansi/32u2/keyboard.json b/keyboards/hhkb/ansi/32u2/keyboard.json
index dd190d18ee..d210808d98 100644
--- a/keyboards/hhkb/ansi/32u2/keyboard.json
+++ b/keyboards/hhkb/ansi/32u2/keyboard.json
@@ -1,4 +1,10 @@
{
"processor": "atmega32u2",
- "bootloader": "atmel-dfu"
+ "bootloader": "atmel-dfu",
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ }
}
diff --git a/keyboards/hhkb/ansi/32u2/rules.mk b/keyboards/hhkb/ansi/32u2/rules.mk
deleted file mode 100644
index 95a1d66061..0000000000
--- a/keyboards/hhkb/ansi/32u2/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
diff --git a/keyboards/hhkb/ansi/32u4/keyboard.json b/keyboards/hhkb/ansi/32u4/keyboard.json
index 042c41f34d..1e47ddd20f 100644
--- a/keyboards/hhkb/ansi/32u4/keyboard.json
+++ b/keyboards/hhkb/ansi/32u4/keyboard.json
@@ -1,4 +1,12 @@
{
"processor": "atmega32u4",
- "bootloader": "atmel-dfu"
+ "bootloader": "atmel-dfu",
+ "features": {
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ }
}
diff --git a/keyboards/hhkb/ansi/rules.mk b/keyboards/hhkb/ansi/rules.mk
index f5a147ccb9..841565b846 100644
--- a/keyboards/hhkb/ansi/rules.mk
+++ b/keyboards/hhkb/ansi/rules.mk
@@ -1,23 +1,6 @@
-# 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 = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-CUSTOM_MATRIX = yes # Custom matrix file for the HHKB
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+CUSTOM_MATRIX = yes
# project specific files
SRC = matrix.c
-# debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
-# debug-on: all
-
-# debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT
-# debug-off: OPT_DEFS := $(filter-out -DCONSOLE_ENABLE,$(OPT_DEFS))
-# debug-off: all
-
DEFAULT_FOLDER = hhkb/ansi/32u4