diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-08 18:41:46 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 18:41:46 +1100 |
commit | f9aeea64c1f85d388485503e52035b5f7533ed26 (patch) | |
tree | 72808eb450b72eddac307395784c914cb22c0dd4 /keyboards/zvecr | |
parent | 3499677b6a5a9ee5845122382f93f0500dfd8429 (diff) |
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/zvecr')
-rw-r--r-- | keyboards/zvecr/split_blackpill/info.json | 2 | ||||
-rw-r--r-- | keyboards/zvecr/split_blackpill/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/zvecr/zv48/f401/info.json | 5 | ||||
-rw-r--r-- | keyboards/zvecr/zv48/f401/rules.mk | 7 | ||||
-rw-r--r-- | keyboards/zvecr/zv48/f411/info.json | 5 | ||||
-rw-r--r-- | keyboards/zvecr/zv48/f411/rules.mk | 6 |
6 files changed, 12 insertions, 19 deletions
diff --git a/keyboards/zvecr/split_blackpill/info.json b/keyboards/zvecr/split_blackpill/info.json index 21343b1da6..57fc7b2e1c 100644 --- a/keyboards/zvecr/split_blackpill/info.json +++ b/keyboards/zvecr/split_blackpill/info.json @@ -8,6 +8,8 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "processor": "STM32F103", + "bootloader": "stm32duino", "community_layouts": ["ortho_4x12"], "layouts": { "LAYOUT_ortho_4x12": { diff --git a/keyboards/zvecr/split_blackpill/rules.mk b/keyboards/zvecr/split_blackpill/rules.mk index c57d7f548f..c953eea031 100644 --- a/keyboards/zvecr/split_blackpill/rules.mk +++ b/keyboards/zvecr/split_blackpill/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/zvecr/zv48/f401/info.json b/keyboards/zvecr/zv48/f401/info.json new file mode 100644 index 0000000000..acd7e83f77 --- /dev/null +++ b/keyboards/zvecr/zv48/f401/info.json @@ -0,0 +1,5 @@ +{ + "processor": "STM32F401", + "bootloader": "stm32-dfu", + "board": "BLACKPILL_STM32_F401" +} diff --git a/keyboards/zvecr/zv48/f401/rules.mk b/keyboards/zvecr/zv48/f401/rules.mk index 37ee7172f8..4df55cd220 100644 --- a/keyboards/zvecr/zv48/f401/rules.mk +++ b/keyboards/zvecr/zv48/f401/rules.mk @@ -1,10 +1,3 @@ -# MCU name -MCU = STM32F401 -BOARD = BLACKPILL_STM32_F401 - -# Bootloader selection -BOOTLOADER = stm32-dfu - # Disable unsupported hardware AUDIO_SUPPORTED = no BACKLIGHT_SUPPORTED = no diff --git a/keyboards/zvecr/zv48/f411/info.json b/keyboards/zvecr/zv48/f411/info.json new file mode 100644 index 0000000000..2517a82403 --- /dev/null +++ b/keyboards/zvecr/zv48/f411/info.json @@ -0,0 +1,5 @@ +{ + "processor": "STM32F411", + "bootloader": "stm32-dfu", + "board": "BLACKPILL_STM32_F411" +} diff --git a/keyboards/zvecr/zv48/f411/rules.mk b/keyboards/zvecr/zv48/f411/rules.mk index c25a64f4b3..e69de29bb2 100644 --- a/keyboards/zvecr/zv48/f411/rules.mk +++ b/keyboards/zvecr/zv48/f411/rules.mk @@ -1,6 +0,0 @@ -# MCU name -MCU = STM32F411 -BOARD = BLACKPILL_STM32_F411 - -# Bootloader selection -BOOTLOADER = stm32-dfu |