summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd
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/crkbd
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/crkbd')
-rw-r--r--keyboards/crkbd/info.json1
-rw-r--r--keyboards/crkbd/r2g/info.json3
-rw-r--r--keyboards/crkbd/r2g/rules.mk3
-rw-r--r--keyboards/crkbd/rev1/info.json3
-rw-r--r--keyboards/crkbd/rules.mk6
5 files changed, 7 insertions, 9 deletions
diff --git a/keyboards/crkbd/info.json b/keyboards/crkbd/info.json
index fedc37b61c..778b33c565 100644
--- a/keyboards/crkbd/info.json
+++ b/keyboards/crkbd/info.json
@@ -8,6 +8,7 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "processor": "atmega32u4",
"community_layouts": ["split_3x5_3", "split_3x6_3"],
"layouts": {
"LAYOUT_split_3x6_3": {
diff --git a/keyboards/crkbd/r2g/info.json b/keyboards/crkbd/r2g/info.json
new file mode 100644
index 0000000000..606784570c
--- /dev/null
+++ b/keyboards/crkbd/r2g/info.json
@@ -0,0 +1,3 @@
+{
+ "bootloader": "atmel-dfu"
+}
diff --git a/keyboards/crkbd/r2g/rules.mk b/keyboards/crkbd/r2g/rules.mk
index a3ee1b46b3..7cf008d003 100644
--- a/keyboards/crkbd/r2g/rules.mk
+++ b/keyboards/crkbd/r2g/rules.mk
@@ -1,9 +1,6 @@
-BOOTLOADER = atmel-dfu
OLED_ENABLE = yes
OLED_DRIVER = SSD1306
LTO_ENABLE = yes
RGBLIGHT_ENABLE = yes
-
SPLIT_KEYBOARD = yes
-
diff --git a/keyboards/crkbd/rev1/info.json b/keyboards/crkbd/rev1/info.json
new file mode 100644
index 0000000000..56062f7ad3
--- /dev/null
+++ b/keyboards/crkbd/rev1/info.json
@@ -0,0 +1,3 @@
+{
+ "bootloader": "caterina"
+}
diff --git a/keyboards/crkbd/rules.mk b/keyboards/crkbd/rules.mk
index ba7d68ad92..8feaf50a07 100644
--- a/keyboards/crkbd/rules.mk
+++ b/keyboards/crkbd/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
-
# Build Options
# change yes to no to disable
#