summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/sono1
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/handwired/sono1
parent3499677b6a5a9ee5845122382f93f0500dfd8429 (diff)
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/handwired/sono1')
-rw-r--r--keyboards/handwired/sono1/stm32f103/info.json4
-rw-r--r--keyboards/handwired/sono1/stm32f103/rules.mk6
-rw-r--r--keyboards/handwired/sono1/t2pp/info.json4
-rw-r--r--keyboards/handwired/sono1/t2pp/rules.mk5
4 files changed, 6 insertions, 13 deletions
diff --git a/keyboards/handwired/sono1/stm32f103/info.json b/keyboards/handwired/sono1/stm32f103/info.json
index 90ac25f360..241cf5e9a2 100644
--- a/keyboards/handwired/sono1/stm32f103/info.json
+++ b/keyboards/handwired/sono1/stm32f103/info.json
@@ -1,5 +1,7 @@
{
"usb": {
"device_version": "0.0.1"
- }
+ },
+ "processor": "STM32F103",
+ "bootloader": "stm32duino"
}
diff --git a/keyboards/handwired/sono1/stm32f103/rules.mk b/keyboards/handwired/sono1/stm32f103/rules.mk
index 019b1130d9..a92b099328 100644
--- a/keyboards/handwired/sono1/stm32f103/rules.mk
+++ b/keyboards/handwired/sono1/stm32f103/rules.mk
@@ -1,8 +1,2 @@
-# MCU name
-MCU = STM32F103
-
-# Bootloader selection
-BOOTLOADER = stm32duino
-
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
diff --git a/keyboards/handwired/sono1/t2pp/info.json b/keyboards/handwired/sono1/t2pp/info.json
index e557e4d307..69ccef72ae 100644
--- a/keyboards/handwired/sono1/t2pp/info.json
+++ b/keyboards/handwired/sono1/t2pp/info.json
@@ -1,5 +1,7 @@
{
"usb": {
"device_version": "0.0.2"
- }
+ },
+ "processor": "at90usb1286",
+ "bootloader": "halfkay"
}
diff --git a/keyboards/handwired/sono1/t2pp/rules.mk b/keyboards/handwired/sono1/t2pp/rules.mk
index 149471682d..e69de29bb2 100644
--- a/keyboards/handwired/sono1/t2pp/rules.mk
+++ b/keyboards/handwired/sono1/t2pp/rules.mk
@@ -1,5 +0,0 @@
-# MCU name
-MCU = at90usb1286
-
-# Bootloader selection
-BOOTLOADER = halfkay