summaryrefslogtreecommitdiff
path: root/keyboards/keychron/v4
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/keychron/v4
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/keychron/v4')
-rw-r--r--keyboards/keychron/v4/ansi/info.json2
-rw-r--r--keyboards/keychron/v4/ansi/rules.mk6
-rw-r--r--keyboards/keychron/v4/iso/info.json2
-rw-r--r--keyboards/keychron/v4/iso/rules.mk6
4 files changed, 4 insertions, 12 deletions
diff --git a/keyboards/keychron/v4/ansi/info.json b/keyboards/keychron/v4/ansi/info.json
index e64763bcf8..04bd9e4761 100644
--- a/keyboards/keychron/v4/ansi/info.json
+++ b/keyboards/keychron/v4/ansi/info.json
@@ -8,6 +8,8 @@
"pid": "0x0340",
"device_version": "1.0.0"
},
+ "processor": "STM32L432",
+ "bootloader": "stm32-dfu",
"layouts": {
"LAYOUT_ansi_61": {
"layout": [
diff --git a/keyboards/keychron/v4/ansi/rules.mk b/keyboards/keychron/v4/ansi/rules.mk
index 3b06a1ad95..70c663e777 100644
--- a/keyboards/keychron/v4/ansi/rules.mk
+++ b/keyboards/keychron/v4/ansi/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32L432
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable.
#
diff --git a/keyboards/keychron/v4/iso/info.json b/keyboards/keychron/v4/iso/info.json
index de496653b5..561fdde3cc 100644
--- a/keyboards/keychron/v4/iso/info.json
+++ b/keyboards/keychron/v4/iso/info.json
@@ -8,6 +8,8 @@
"pid": "0x0342",
"device_version": "1.0.0"
},
+ "processor": "STM32L432",
+ "bootloader": "stm32-dfu",
"layouts": {
"LAYOUT_iso_62": {
"layout": [
diff --git a/keyboards/keychron/v4/iso/rules.mk b/keyboards/keychron/v4/iso/rules.mk
index 3b06a1ad95..70c663e777 100644
--- a/keyboards/keychron/v4/iso/rules.mk
+++ b/keyboards/keychron/v4/iso/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32L432
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable.
#