summaryrefslogtreecommitdiff
path: root/keyboards/mlego
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/mlego
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/mlego')
-rw-r--r--keyboards/mlego/m48/rev1/info.json5
-rw-r--r--keyboards/mlego/m48/rev1/rules.mk8
-rw-r--r--keyboards/mlego/m60/rev1/info.json5
-rw-r--r--keyboards/mlego/m60/rev1/rules.mk8
-rw-r--r--keyboards/mlego/m60_split/rev1/info.json5
-rw-r--r--keyboards/mlego/m60_split/rev1/rules.mk8
-rw-r--r--keyboards/mlego/m60_split/rev2/info.json5
-rw-r--r--keyboards/mlego/m60_split/rev2/rules.mk7
-rw-r--r--keyboards/mlego/m65/rev1/info.json4
-rw-r--r--keyboards/mlego/m65/rev1/rules.mk6
-rw-r--r--keyboards/mlego/m65/rev2/info.json4
-rw-r--r--keyboards/mlego/m65/rev2/rules.mk6
-rw-r--r--keyboards/mlego/m65/rev3/info.json5
-rw-r--r--keyboards/mlego/m65/rev3/rules.mk8
-rw-r--r--keyboards/mlego/m65/rev4/info.json5
-rw-r--r--keyboards/mlego/m65/rev4/rules.mk8
16 files changed, 30 insertions, 67 deletions
diff --git a/keyboards/mlego/m48/rev1/info.json b/keyboards/mlego/m48/rev1/info.json
index 68c73096c4..24b283fc26 100644
--- a/keyboards/mlego/m48/rev1/info.json
+++ b/keyboards/mlego/m48/rev1/info.json
@@ -2,5 +2,8 @@
"usb": {
"pid": "0x6261",
"device_version": "0.0.1"
- }
+ },
+ "processor": "STM32F401",
+ "bootloader": "tinyuf2",
+ "board": "BLACKPILL_STM32_F401"
}
diff --git a/keyboards/mlego/m48/rev1/rules.mk b/keyboards/mlego/m48/rev1/rules.mk
index 3a1c9a94ab..52fd5e68dc 100644
--- a/keyboards/mlego/m48/rev1/rules.mk
+++ b/keyboards/mlego/m48/rev1/rules.mk
@@ -1,11 +1,3 @@
-# MCU name
-MCU = STM32F401
-BOARD = BLACKPILL_STM32_F401
-
-# Bootloader selection
-BOOTLOADER = tinyuf2
-#BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/mlego/m60/rev1/info.json b/keyboards/mlego/m60/rev1/info.json
index 865399a460..dc653ed762 100644
--- a/keyboards/mlego/m60/rev1/info.json
+++ b/keyboards/mlego/m60/rev1/info.json
@@ -2,5 +2,8 @@
"usb": {
"pid": "0x6161",
"device_version": "0.0.1"
- }
+ },
+ "processor": "STM32F401",
+ "bootloader": "tinyuf2",
+ "board": "BLACKPILL_STM32_F401"
}
diff --git a/keyboards/mlego/m60/rev1/rules.mk b/keyboards/mlego/m60/rev1/rules.mk
index b3b349f6f7..a8c86807b4 100644
--- a/keyboards/mlego/m60/rev1/rules.mk
+++ b/keyboards/mlego/m60/rev1/rules.mk
@@ -1,11 +1,3 @@
-# MCU name
-MCU = STM32F401
-BOARD = BLACKPILL_STM32_F401
-
-# Bootloader selection
-BOOTLOADER = tinyuf2
-#BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/mlego/m60_split/rev1/info.json b/keyboards/mlego/m60_split/rev1/info.json
index 90303c33c5..b1cfbd3d4b 100644
--- a/keyboards/mlego/m60_split/rev1/info.json
+++ b/keyboards/mlego/m60_split/rev1/info.json
@@ -2,5 +2,8 @@
"usb": {
"pid": "0x6361",
"device_version": "0.0.1"
- }
+ },
+ "processor": "STM32F401",
+ "bootloader": "tinyuf2",
+ "board": "BLACKPILL_STM32_F401"
}
diff --git a/keyboards/mlego/m60_split/rev1/rules.mk b/keyboards/mlego/m60_split/rev1/rules.mk
index 6463d57d37..497e86c8cb 100644
--- a/keyboards/mlego/m60_split/rev1/rules.mk
+++ b/keyboards/mlego/m60_split/rev1/rules.mk
@@ -1,11 +1,3 @@
-# MCU name
-MCU = STM32F401
-BOARD = BLACKPILL_STM32_F401
-
-# Bootloader selection
-BOOTLOADER = tinyuf2
-#BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/mlego/m60_split/rev2/info.json b/keyboards/mlego/m60_split/rev2/info.json
index bee03f611f..936c6fbdad 100644
--- a/keyboards/mlego/m60_split/rev2/info.json
+++ b/keyboards/mlego/m60_split/rev2/info.json
@@ -2,5 +2,8 @@
"usb": {
"pid": "0x6362",
"device_version": "0.0.1"
- }
+ },
+ "processor": "STM32F411",
+ "bootloader": "stm32-dfu",
+ "board": "BLACKPILL_STM32_F411"
}
diff --git a/keyboards/mlego/m60_split/rev2/rules.mk b/keyboards/mlego/m60_split/rev2/rules.mk
index 72f146cc82..ac47e053a2 100644
--- a/keyboards/mlego/m60_split/rev2/rules.mk
+++ b/keyboards/mlego/m60_split/rev2/rules.mk
@@ -1,10 +1,3 @@
-# MCU name
-MCU = STM32F411
-BOARD = BLACKPILL_STM32_F411
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/mlego/m65/rev1/info.json b/keyboards/mlego/m65/rev1/info.json
index e495c94992..553fe3b7d2 100644
--- a/keyboards/mlego/m65/rev1/info.json
+++ b/keyboards/mlego/m65/rev1/info.json
@@ -2,5 +2,7 @@
"usb": {
"pid": "0x6061",
"device_version": "0.0.1"
- }
+ },
+ "processor": "STM32F103",
+ "bootloader": "stm32duino"
}
diff --git a/keyboards/mlego/m65/rev1/rules.mk b/keyboards/mlego/m65/rev1/rules.mk
index 5e456c2606..fa351eadba 100644
--- a/keyboards/mlego/m65/rev1/rules.mk
+++ b/keyboards/mlego/m65/rev1/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32F103
-
-# Bootloader selection
-BOOTLOADER = stm32duino
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/mlego/m65/rev2/info.json b/keyboards/mlego/m65/rev2/info.json
index 470262ed85..3e6ef2d0bc 100644
--- a/keyboards/mlego/m65/rev2/info.json
+++ b/keyboards/mlego/m65/rev2/info.json
@@ -2,5 +2,7 @@
"usb": {
"pid": "0x6061",
"device_version": "0.0.2"
- }
+ },
+ "processor": "STM32F103", // GD32F303CCT6
+ "bootloader": "stm32duino"
}
diff --git a/keyboards/mlego/m65/rev2/rules.mk b/keyboards/mlego/m65/rev2/rules.mk
index 1b7c586b71..51070f9718 100644
--- a/keyboards/mlego/m65/rev2/rules.mk
+++ b/keyboards/mlego/m65/rev2/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32F103 #GD32F303CCT6 weact
-
-# Bootloader selection
-BOOTLOADER = stm32duino
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/mlego/m65/rev3/info.json b/keyboards/mlego/m65/rev3/info.json
index e42ab50857..cf330be7c9 100644
--- a/keyboards/mlego/m65/rev3/info.json
+++ b/keyboards/mlego/m65/rev3/info.json
@@ -2,5 +2,8 @@
"usb": {
"pid": "0x6062",
"device_version": "0.0.1"
- }
+ },
+ "processor": "STM32F401",
+ "bootloader": "tinyuf2",
+ "board": "BLACKPILL_STM32_F401"
}
diff --git a/keyboards/mlego/m65/rev3/rules.mk b/keyboards/mlego/m65/rev3/rules.mk
index 57908335fd..fa351eadba 100644
--- a/keyboards/mlego/m65/rev3/rules.mk
+++ b/keyboards/mlego/m65/rev3/rules.mk
@@ -1,11 +1,3 @@
-# MCU name
-MCU = STM32F401
-BOARD = BLACKPILL_STM32_F401
-
-# Bootloader selection
-BOOTLOADER = tinyuf2
-#BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/mlego/m65/rev4/info.json b/keyboards/mlego/m65/rev4/info.json
index c94ea38e22..dee2b86933 100644
--- a/keyboards/mlego/m65/rev4/info.json
+++ b/keyboards/mlego/m65/rev4/info.json
@@ -2,5 +2,8 @@
"usb": {
"pid": "0x6062",
"device_version": "0.0.2"
- }
+ },
+ "processor": "STM32F401",
+ "bootloader": "tinyuf2",
+ "board": "BLACKPILL_STM32_F401"
}
diff --git a/keyboards/mlego/m65/rev4/rules.mk b/keyboards/mlego/m65/rev4/rules.mk
index a16dbefe32..bf9405e1d1 100644
--- a/keyboards/mlego/m65/rev4/rules.mk
+++ b/keyboards/mlego/m65/rev4/rules.mk
@@ -1,11 +1,3 @@
-# MCU name
-MCU = STM32F401
-BOARD = BLACKPILL_STM32_F401
-
-# Bootloader selection
-BOOTLOADER = tinyuf2
-#BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#