summaryrefslogtreecommitdiffstats
path: root/keyboards/mechlovin/hex4b
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-08 18:41:46 +1100
committerGitHub <noreply@github.com>2023-02-08 18:41:46 +1100
commitf9aeea64c1f85d388485503e52035b5f7533ed26 (patch)
tree72808eb450b72eddac307395784c914cb22c0dd4 /keyboards/mechlovin/hex4b
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/mechlovin/hex4b')
-rw-r--r--keyboards/mechlovin/hex4b/rev1/info.json4
-rw-r--r--keyboards/mechlovin/hex4b/rev1/rules.mk6
-rw-r--r--keyboards/mechlovin/hex4b/rev2/info.json4
-rw-r--r--keyboards/mechlovin/hex4b/rev2/rules.mk6
4 files changed, 6 insertions, 14 deletions
diff --git a/keyboards/mechlovin/hex4b/rev1/info.json b/keyboards/mechlovin/hex4b/rev1/info.json
index b2dfdec696..be59552b33 100644
--- a/keyboards/mechlovin/hex4b/rev1/info.json
+++ b/keyboards/mechlovin/hex4b/rev1/info.json
@@ -2,5 +2,7 @@
"keyboard_name": "Hex-4B Rev.1",
"usb": {
"device_version": "0.0.1"
- }
+ },
+ "processor": "atmega32a",
+ "bootloader": "usbasploader"
}
diff --git a/keyboards/mechlovin/hex4b/rev1/rules.mk b/keyboards/mechlovin/hex4b/rev1/rules.mk
index c3a1785039..15d473397d 100644
--- a/keyboards/mechlovin/hex4b/rev1/rules.mk
+++ b/keyboards/mechlovin/hex4b/rev1/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32a
-
-# Bootloader selection
-BOOTLOADER = usbasploader
-
# Processor frequency
F_CPU = 16000000
diff --git a/keyboards/mechlovin/hex4b/rev2/info.json b/keyboards/mechlovin/hex4b/rev2/info.json
index da18a2ce4b..040f96b010 100644
--- a/keyboards/mechlovin/hex4b/rev2/info.json
+++ b/keyboards/mechlovin/hex4b/rev2/info.json
@@ -2,5 +2,7 @@
"keyboard_name": "Hex-4B Rev.2",
"usb": {
"device_version": "0.0.2"
- }
+ },
+ "processor": "STM32F103",
+ "bootloader": "stm32duino"
}
diff --git a/keyboards/mechlovin/hex4b/rev2/rules.mk b/keyboards/mechlovin/hex4b/rev2/rules.mk
index a61a25009b..a5089d51a5 100644
--- a/keyboards/mechlovin/hex4b/rev2/rules.mk
+++ b/keyboards/mechlovin/hex4b/rev2/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32F103
-
-# Bootloader selection
-BOOTLOADER = stm32duino
-
# Build Options
# change yes to no to disable
#