summaryrefslogtreecommitdiff
path: root/keyboards/atreus
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/atreus
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/atreus')
-rw-r--r--keyboards/atreus/astar/info.json4
-rw-r--r--keyboards/atreus/astar/rules.mk5
-rw-r--r--keyboards/atreus/astar_mirrored/info.json4
-rw-r--r--keyboards/atreus/astar_mirrored/rules.mk5
-rw-r--r--keyboards/atreus/f103/info.json4
-rw-r--r--keyboards/atreus/f103/rules.mk6
-rw-r--r--keyboards/atreus/feather/info.json4
-rw-r--r--keyboards/atreus/feather/rules.mk6
-rw-r--r--keyboards/atreus/promicro/info.json4
-rw-r--r--keyboards/atreus/promicro/rules.mk5
-rw-r--r--keyboards/atreus/teensy2/info.json4
-rw-r--r--keyboards/atreus/teensy2/rules.mk5
12 files changed, 24 insertions, 32 deletions
diff --git a/keyboards/atreus/astar/info.json b/keyboards/atreus/astar/info.json
new file mode 100644
index 0000000000..4369a04103
--- /dev/null
+++ b/keyboards/atreus/astar/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u4",
+ "bootloader": "caterina"
+}
diff --git a/keyboards/atreus/astar/rules.mk b/keyboards/atreus/astar/rules.mk
index cf663a7ed6..e69de29bb2 100644
--- a/keyboards/atreus/astar/rules.mk
+++ b/keyboards/atreus/astar/rules.mk
@@ -1,5 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
diff --git a/keyboards/atreus/astar_mirrored/info.json b/keyboards/atreus/astar_mirrored/info.json
new file mode 100644
index 0000000000..4369a04103
--- /dev/null
+++ b/keyboards/atreus/astar_mirrored/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u4",
+ "bootloader": "caterina"
+}
diff --git a/keyboards/atreus/astar_mirrored/rules.mk b/keyboards/atreus/astar_mirrored/rules.mk
index cf663a7ed6..e69de29bb2 100644
--- a/keyboards/atreus/astar_mirrored/rules.mk
+++ b/keyboards/atreus/astar_mirrored/rules.mk
@@ -1,5 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
diff --git a/keyboards/atreus/f103/info.json b/keyboards/atreus/f103/info.json
new file mode 100644
index 0000000000..cf993be247
--- /dev/null
+++ b/keyboards/atreus/f103/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "STM32F103",
+ "bootloader": "stm32duino"
+}
diff --git a/keyboards/atreus/f103/rules.mk b/keyboards/atreus/f103/rules.mk
index a18b4fa231..9755a4a3c2 100644
--- a/keyboards/atreus/f103/rules.mk
+++ b/keyboards/atreus/f103/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32F103
-
-# Bootloader selection
-BOOTLOADER = stm32duino
-
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
diff --git a/keyboards/atreus/feather/info.json b/keyboards/atreus/feather/info.json
new file mode 100644
index 0000000000..4369a04103
--- /dev/null
+++ b/keyboards/atreus/feather/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u4",
+ "bootloader": "caterina"
+}
diff --git a/keyboards/atreus/feather/rules.mk b/keyboards/atreus/feather/rules.mk
index 6280275c1e..5e7d24b055 100644
--- a/keyboards/atreus/feather/rules.mk
+++ b/keyboards/atreus/feather/rules.mk
@@ -1,12 +1,6 @@
-# MCU name
-MCU = atmega32u4
-
# Processor frequency
F_CPU = 8000000
-# Bootloader selection
-BOOTLOADER = caterina
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/atreus/promicro/info.json b/keyboards/atreus/promicro/info.json
new file mode 100644
index 0000000000..4369a04103
--- /dev/null
+++ b/keyboards/atreus/promicro/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u4",
+ "bootloader": "caterina"
+}
diff --git a/keyboards/atreus/promicro/rules.mk b/keyboards/atreus/promicro/rules.mk
index cf663a7ed6..e69de29bb2 100644
--- a/keyboards/atreus/promicro/rules.mk
+++ b/keyboards/atreus/promicro/rules.mk
@@ -1,5 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
diff --git a/keyboards/atreus/teensy2/info.json b/keyboards/atreus/teensy2/info.json
new file mode 100644
index 0000000000..0b2db81c11
--- /dev/null
+++ b/keyboards/atreus/teensy2/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u4",
+ "bootloader": "halfkay"
+}
diff --git a/keyboards/atreus/teensy2/rules.mk b/keyboards/atreus/teensy2/rules.mk
index 320633f80f..e69de29bb2 100644
--- a/keyboards/atreus/teensy2/rules.mk
+++ b/keyboards/atreus/teensy2/rules.mk
@@ -1,5 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = halfkay