summaryrefslogtreecommitdiff
path: root/keyboards/durgod/k310/base
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/durgod/k310/base
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/durgod/k310/base')
-rw-r--r--keyboards/durgod/k310/base/info.json5
-rw-r--r--keyboards/durgod/k310/base/rules.mk8
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/durgod/k310/base/info.json b/keyboards/durgod/k310/base/info.json
new file mode 100644
index 0000000000..25d2b3ba76
--- /dev/null
+++ b/keyboards/durgod/k310/base/info.json
@@ -0,0 +1,5 @@
+{
+ "processor": "STM32F072", // F070
+ "bootloader": "stm32-dfu",
+ "board": "DURGOD_STM32_F070"
+}
diff --git a/keyboards/durgod/k310/base/rules.mk b/keyboards/durgod/k310/base/rules.mk
index d507d240cc..92e817504f 100644
--- a/keyboards/durgod/k310/base/rules.mk
+++ b/keyboards/durgod/k310/base/rules.mk
@@ -1,11 +1,3 @@
-# MCU name
-# Actually F070, but close enough
-MCU = STM32F072
-BOARD = DURGOD_STM32_F070
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#