summaryrefslogtreecommitdiffstats
path: root/keyboards/rgbkb/pan
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/rgbkb/pan
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/rgbkb/pan')
-rw-r--r--keyboards/rgbkb/pan/rev1/32a/info.json4
-rw-r--r--keyboards/rgbkb/pan/rev1/32a/rules.mk6
-rw-r--r--keyboards/rgbkb/pan/rev1/proton_c/info.json5
-rw-r--r--keyboards/rgbkb/pan/rev1/proton_c/rules.mk6
4 files changed, 9 insertions, 12 deletions
diff --git a/keyboards/rgbkb/pan/rev1/32a/info.json b/keyboards/rgbkb/pan/rev1/32a/info.json
new file mode 100644
index 0000000000..32a75ca0fc
--- /dev/null
+++ b/keyboards/rgbkb/pan/rev1/32a/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32a",
+ "bootloader": "usbasploader"
+}
diff --git a/keyboards/rgbkb/pan/rev1/32a/rules.mk b/keyboards/rgbkb/pan/rev1/32a/rules.mk
index b695980730..c2ee0bc86f 100644
--- a/keyboards/rgbkb/pan/rev1/32a/rules.mk
+++ b/keyboards/rgbkb/pan/rev1/32a/rules.mk
@@ -1,8 +1,2 @@
-# MCU name
-MCU = atmega32a
-
# Processor frequency
F_CPU = 16000000
-
-# Bootloader selection
-BOOTLOADER = usbasploader
diff --git a/keyboards/rgbkb/pan/rev1/proton_c/info.json b/keyboards/rgbkb/pan/rev1/proton_c/info.json
new file mode 100644
index 0000000000..c06ffbaf06
--- /dev/null
+++ b/keyboards/rgbkb/pan/rev1/proton_c/info.json
@@ -0,0 +1,5 @@
+{
+ "processor": "STM32F303",
+ "bootloader": "stm32-dfu",
+ "board": "QMK_PROTON_C"
+}
diff --git a/keyboards/rgbkb/pan/rev1/proton_c/rules.mk b/keyboards/rgbkb/pan/rev1/proton_c/rules.mk
index 7a846816d1..e69de29bb2 100644
--- a/keyboards/rgbkb/pan/rev1/proton_c/rules.mk
+++ b/keyboards/rgbkb/pan/rev1/proton_c/rules.mk
@@ -1,6 +0,0 @@
-# MCU name
-MCU = STM32F303
-BOARD = QMK_PROTON_C
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu