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/preonic | |
parent | 3499677b6a5a9ee5845122382f93f0500dfd8429 (diff) |
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/preonic')
-rw-r--r-- | keyboards/preonic/rev1/info.json | 2 | ||||
-rw-r--r-- | keyboards/preonic/rev1/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/preonic/rev2/info.json | 2 | ||||
-rw-r--r-- | keyboards/preonic/rev2/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/preonic/rev3/info.json | 3 | ||||
-rw-r--r-- | keyboards/preonic/rev3/rules.mk | 7 | ||||
-rw-r--r-- | keyboards/preonic/rev3_drop/info.json | 2 | ||||
-rw-r--r-- | keyboards/preonic/rev3_drop/rules.mk | 6 |
8 files changed, 9 insertions, 25 deletions
diff --git a/keyboards/preonic/rev1/info.json b/keyboards/preonic/rev1/info.json index a6f5233875..6da254960b 100644 --- a/keyboards/preonic/rev1/info.json +++ b/keyboards/preonic/rev1/info.json @@ -6,5 +6,7 @@ "pid": "0x67F3", "device_version": "0.0.1" }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "community_layouts": ["ortho_5x12"] } diff --git a/keyboards/preonic/rev1/rules.mk b/keyboards/preonic/rev1/rules.mk index 0ca1fec7d1..5700acd66c 100644 --- a/keyboards/preonic/rev1/rules.mk +++ b/keyboards/preonic/rev1/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - # Build Options # change yes to no to disable # diff --git a/keyboards/preonic/rev2/info.json b/keyboards/preonic/rev2/info.json index 928e4bcbcf..b1e66a09e0 100644 --- a/keyboards/preonic/rev2/info.json +++ b/keyboards/preonic/rev2/info.json @@ -6,5 +6,7 @@ "pid": "0x67F3", "device_version": "0.0.2" }, + "processor": "atmega32u4", + "bootloader": "qmk-dfu", "community_layouts": ["ortho_5x12"] } diff --git a/keyboards/preonic/rev2/rules.mk b/keyboards/preonic/rev2/rules.mk index a9da1a9b3f..0404fb325a 100644 --- a/keyboards/preonic/rev2/rules.mk +++ b/keyboards/preonic/rev2/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = qmk-dfu - # Build Options # change yes to no to disable # diff --git a/keyboards/preonic/rev3/info.json b/keyboards/preonic/rev3/info.json index 81f83ccb4b..0f396fc87e 100644 --- a/keyboards/preonic/rev3/info.json +++ b/keyboards/preonic/rev3/info.json @@ -6,6 +6,9 @@ "pid": "0xA649", "device_version": "0.0.3" }, + "processor": "STM32F303", + "bootloader": "stm32-dfu", + "board": "QMK_PROTON_C", "community_layouts": ["ortho_5x12"], "layouts": { "LAYOUT_preonic_1x2uC": { diff --git a/keyboards/preonic/rev3/rules.mk b/keyboards/preonic/rev3/rules.mk index a7f7e9e651..e4c6852526 100644 --- a/keyboards/preonic/rev3/rules.mk +++ b/keyboards/preonic/rev3/rules.mk @@ -1,10 +1,3 @@ -# MCU name -MCU = STM32F303 -BOARD = QMK_PROTON_C - -# Bootloader selection -BOOTLOADER = stm32-dfu - # Build Options # change yes to no to disable # diff --git a/keyboards/preonic/rev3_drop/info.json b/keyboards/preonic/rev3_drop/info.json index 7cd1b111e9..c8095a62e6 100644 --- a/keyboards/preonic/rev3_drop/info.json +++ b/keyboards/preonic/rev3_drop/info.json @@ -6,6 +6,8 @@ "pid": "0xA649", "device_version": "0.0.3" }, + "processor": "STM32F303", + "bootloader": "stm32-dfu", "community_layouts": ["ortho_5x12"], "layouts": { "LAYOUT_preonic_1x2uC": { diff --git a/keyboards/preonic/rev3_drop/rules.mk b/keyboards/preonic/rev3_drop/rules.mk index 18a86c09f8..e3f9e52110 100644 --- a/keyboards/preonic/rev3_drop/rules.mk +++ b/keyboards/preonic/rev3_drop/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = STM32F303 - -# Bootloader selection -BOOTLOADER = stm32-dfu - # Build Options # change yes to no to disable # |