summaryrefslogtreecommitdiff
path: root/keyboards/chavdai40
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/chavdai40
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/chavdai40')
-rw-r--r--keyboards/chavdai40/rev1/info.json4
-rw-r--r--keyboards/chavdai40/rev1/rules.mk6
-rw-r--r--keyboards/chavdai40/rev2/info.json4
-rw-r--r--keyboards/chavdai40/rev2/rules.mk6
4 files changed, 6 insertions, 14 deletions
diff --git a/keyboards/chavdai40/rev1/info.json b/keyboards/chavdai40/rev1/info.json
index c69c0e3460..9f345a3ae7 100644
--- a/keyboards/chavdai40/rev1/info.json
+++ b/keyboards/chavdai40/rev1/info.json
@@ -2,5 +2,7 @@
"keyboard_name": "Chavdai40",
"usb": {
"device_version": "0.0.1"
- }
+ },
+ "processor": "STM32F042",
+ "bootloader": "stm32-dfu"
}
diff --git a/keyboards/chavdai40/rev1/rules.mk b/keyboards/chavdai40/rev1/rules.mk
index f1995764b9..ab2c49da70 100644
--- a/keyboards/chavdai40/rev1/rules.mk
+++ b/keyboards/chavdai40/rev1/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32F042
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/chavdai40/rev2/info.json b/keyboards/chavdai40/rev2/info.json
index 458bcacf38..5ffacfd303 100644
--- a/keyboards/chavdai40/rev2/info.json
+++ b/keyboards/chavdai40/rev2/info.json
@@ -2,5 +2,7 @@
"keyboard_name": "Chavdai40 rev2",
"usb": {
"device_version": "0.0.2"
- }
+ },
+ "processor": "STM32F042",
+ "bootloader": "stm32-dfu"
}
diff --git a/keyboards/chavdai40/rev2/rules.mk b/keyboards/chavdai40/rev2/rules.mk
index f1995764b9..ab2c49da70 100644
--- a/keyboards/chavdai40/rev2/rules.mk
+++ b/keyboards/chavdai40/rev2/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32F042
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#