summaryrefslogtreecommitdiff
path: root/keyboards/hadron
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/hadron
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/hadron')
-rw-r--r--keyboards/hadron/ver2/info.json4
-rw-r--r--keyboards/hadron/ver2/rules.mk6
-rw-r--r--keyboards/hadron/ver3/info.json5
-rw-r--r--keyboards/hadron/ver3/rules.mk7
4 files changed, 7 insertions, 15 deletions
diff --git a/keyboards/hadron/ver2/info.json b/keyboards/hadron/ver2/info.json
index e557e4d307..23af3e77ef 100644
--- a/keyboards/hadron/ver2/info.json
+++ b/keyboards/hadron/ver2/info.json
@@ -1,5 +1,7 @@
{
"usb": {
"device_version": "0.0.2"
- }
+ },
+ "processor": "atmega32u4",
+ "bootloader": "halfkay"
}
diff --git a/keyboards/hadron/ver2/rules.mk b/keyboards/hadron/ver2/rules.mk
index f7aeba6891..d07da3fca0 100644
--- a/keyboards/hadron/ver2/rules.mk
+++ b/keyboards/hadron/ver2/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = halfkay
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/hadron/ver3/info.json b/keyboards/hadron/ver3/info.json
index b377cdff00..ec89f32253 100644
--- a/keyboards/hadron/ver3/info.json
+++ b/keyboards/hadron/ver3/info.json
@@ -1,5 +1,8 @@
{
"usb": {
"device_version": "0.0.3"
- }
+ },
+ "processor": "STM32F303",
+ "bootloader": "stm32-dfu",
+ "board": "QMK_PROTON_C"
}
diff --git a/keyboards/hadron/ver3/rules.mk b/keyboards/hadron/ver3/rules.mk
index da70b2a9bf..5d37686760 100644
--- a/keyboards/hadron/ver3/rules.mk
+++ b/keyboards/hadron/ver3/rules.mk
@@ -1,10 +1,3 @@
-# MCU name
-MCU = STM32F303
-BOARD = QMK_PROTON_C
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#