summaryrefslogtreecommitdiff
path: root/keyboards/hhkb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 14:15:06 +1100
committerGitHub <noreply@github.com>2023-02-17 14:15:06 +1100
commit43843e19b630da894e7d5b92edbce8dbdf7f288c (patch)
treec9be2eb6b33ba6e581c85e55a3a458e43f8214c5 /keyboards/hhkb
parentf4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (diff)
Clean up remaining rules.mk `MCU`/`BOOTLOADER`s (#19778)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/hhkb')
-rw-r--r--keyboards/hhkb/ansi/32u2/info.json4
-rw-r--r--keyboards/hhkb/ansi/32u2/rules.mk3
-rw-r--r--keyboards/hhkb/ansi/32u4/info.json4
-rw-r--r--keyboards/hhkb/ansi/32u4/rules.mk0
-rw-r--r--keyboards/hhkb/ansi/rules.mk8
5 files changed, 10 insertions, 9 deletions
diff --git a/keyboards/hhkb/ansi/32u2/info.json b/keyboards/hhkb/ansi/32u2/info.json
new file mode 100644
index 0000000000..dd190d18ee
--- /dev/null
+++ b/keyboards/hhkb/ansi/32u2/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u2",
+ "bootloader": "atmel-dfu"
+}
diff --git a/keyboards/hhkb/ansi/32u2/rules.mk b/keyboards/hhkb/ansi/32u2/rules.mk
index 0c0b4c37c2..95a1d66061 100644
--- a/keyboards/hhkb/ansi/32u2/rules.mk
+++ b/keyboards/hhkb/ansi/32u2/rules.mk
@@ -1,5 +1,2 @@
-# MCU name
-MCU = atmega32u2
-
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
diff --git a/keyboards/hhkb/ansi/32u4/info.json b/keyboards/hhkb/ansi/32u4/info.json
new file mode 100644
index 0000000000..042c41f34d
--- /dev/null
+++ b/keyboards/hhkb/ansi/32u4/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu"
+}
diff --git a/keyboards/hhkb/ansi/32u4/rules.mk b/keyboards/hhkb/ansi/32u4/rules.mk
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/keyboards/hhkb/ansi/32u4/rules.mk
diff --git a/keyboards/hhkb/ansi/rules.mk b/keyboards/hhkb/ansi/rules.mk
index 42827a9d0b..efe5ab4456 100644
--- a/keyboards/hhkb/ansi/rules.mk
+++ b/keyboards/hhkb/ansi/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#
@@ -34,3 +28,5 @@ SRC = matrix.c
# 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