summaryrefslogtreecommitdiff
path: root/keyboards/oddball
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/oddball
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/oddball')
-rw-r--r--keyboards/oddball/info.json1
-rw-r--r--keyboards/oddball/rules.mk3
-rw-r--r--keyboards/oddball/v1/info.json3
-rw-r--r--keyboards/oddball/v1/rules.mk2
-rw-r--r--keyboards/oddball/v2/info.json3
-rw-r--r--keyboards/oddball/v2/rules.mk2
-rw-r--r--keyboards/oddball/v2_1/info.json3
-rw-r--r--keyboards/oddball/v2_1/rules.mk2
8 files changed, 10 insertions, 9 deletions
diff --git a/keyboards/oddball/info.json b/keyboards/oddball/info.json
index 84e512dbdc..2eaca18e65 100644
--- a/keyboards/oddball/info.json
+++ b/keyboards/oddball/info.json
@@ -8,6 +8,7 @@
"pid": "0xCA49",
"device_version": "0.0.1"
},
+ "processor": "atmega32u4",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/oddball/rules.mk b/keyboards/oddball/rules.mk
index 4698218128..50c2891bb8 100644
--- a/keyboards/oddball/rules.mk
+++ b/keyboards/oddball/rules.mk
@@ -1,6 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/oddball/v1/info.json b/keyboards/oddball/v1/info.json
new file mode 100644
index 0000000000..66ed86e13c
--- /dev/null
+++ b/keyboards/oddball/v1/info.json
@@ -0,0 +1,3 @@
+{
+ "bootloader": "halfkay"
+}
diff --git a/keyboards/oddball/v1/rules.mk b/keyboards/oddball/v1/rules.mk
index e4320fb125..e69de29bb2 100644
--- a/keyboards/oddball/v1/rules.mk
+++ b/keyboards/oddball/v1/rules.mk
@@ -1,2 +0,0 @@
-# Bootloader selection
-BOOTLOADER = halfkay
diff --git a/keyboards/oddball/v2/info.json b/keyboards/oddball/v2/info.json
new file mode 100644
index 0000000000..cc90702804
--- /dev/null
+++ b/keyboards/oddball/v2/info.json
@@ -0,0 +1,3 @@
+{
+ "bootloader": "qmk-dfu"
+}
diff --git a/keyboards/oddball/v2/rules.mk b/keyboards/oddball/v2/rules.mk
index 8b8ada3d9d..e69de29bb2 100644
--- a/keyboards/oddball/v2/rules.mk
+++ b/keyboards/oddball/v2/rules.mk
@@ -1,2 +0,0 @@
-# Bootloader selection
-BOOTLOADER = qmk-dfu
diff --git a/keyboards/oddball/v2_1/info.json b/keyboards/oddball/v2_1/info.json
new file mode 100644
index 0000000000..cc90702804
--- /dev/null
+++ b/keyboards/oddball/v2_1/info.json
@@ -0,0 +1,3 @@
+{
+ "bootloader": "qmk-dfu"
+}
diff --git a/keyboards/oddball/v2_1/rules.mk b/keyboards/oddball/v2_1/rules.mk
index 8b8ada3d9d..e69de29bb2 100644
--- a/keyboards/oddball/v2_1/rules.mk
+++ b/keyboards/oddball/v2_1/rules.mk
@@ -1,2 +0,0 @@
-# Bootloader selection
-BOOTLOADER = qmk-dfu