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/planck | |
parent | 3499677b6a5a9ee5845122382f93f0500dfd8429 (diff) |
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/planck')
-rw-r--r-- | keyboards/planck/ez/info.json | 2 | ||||
-rw-r--r-- | keyboards/planck/ez/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/planck/light/info.json | 2 | ||||
-rw-r--r-- | keyboards/planck/light/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/planck/rev1/info.json | 2 | ||||
-rw-r--r-- | keyboards/planck/rev1/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/planck/rev2/info.json | 2 | ||||
-rw-r--r-- | keyboards/planck/rev2/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/planck/rev3/info.json | 2 | ||||
-rw-r--r-- | keyboards/planck/rev3/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/planck/rev4/info.json | 2 | ||||
-rw-r--r-- | keyboards/planck/rev4/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/planck/rev5/info.json | 2 | ||||
-rw-r--r-- | keyboards/planck/rev5/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/planck/rev6/info.json | 3 | ||||
-rw-r--r-- | keyboards/planck/rev6/rules.mk | 7 | ||||
-rw-r--r-- | keyboards/planck/rev6_drop/info.json | 2 | ||||
-rw-r--r-- | keyboards/planck/rev6_drop/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/planck/thk/info.json | 2 | ||||
-rw-r--r-- | keyboards/planck/thk/rules.mk | 21 |
20 files changed, 21 insertions, 76 deletions
diff --git a/keyboards/planck/ez/info.json b/keyboards/planck/ez/info.json index 45ec112c0b..9e400ee45f 100644 --- a/keyboards/planck/ez/info.json +++ b/keyboards/planck/ez/info.json @@ -6,6 +6,8 @@ "vid": "0x3297", "device_version": "0.0.1" }, + "processor": "STM32F303", + "bootloader": "stm32-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], "layouts": { "LAYOUT_planck_1x2uC": { diff --git a/keyboards/planck/ez/rules.mk b/keyboards/planck/ez/rules.mk index 04dbfde189..0bfe083b6c 100644 --- a/keyboards/planck/ez/rules.mk +++ b/keyboards/planck/ez/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = STM32F303 - -# Bootloader selection -BOOTLOADER = stm32-dfu - # Build Options # change yes to no to disable # diff --git a/keyboards/planck/light/info.json b/keyboards/planck/light/info.json index bb0936db63..ed23c14828 100644 --- a/keyboards/planck/light/info.json +++ b/keyboards/planck/light/info.json @@ -8,6 +8,8 @@ "pid": "0xBEA2", "device_version": "0.0.1" }, + "processor": "at90usb1286", + "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], "layouts": { "LAYOUT_planck_1x2uC": { diff --git a/keyboards/planck/light/rules.mk b/keyboards/planck/light/rules.mk index 5344c56d2c..6a6a846ded 100644 --- a/keyboards/planck/light/rules.mk +++ b/keyboards/planck/light/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = at90usb1286 - -# Bootloader selection -BOOTLOADER = atmel-dfu - # Build Options # change yes to no to disable # diff --git a/keyboards/planck/rev1/info.json b/keyboards/planck/rev1/info.json index 0f2291a0d1..6829001b0e 100644 --- a/keyboards/planck/rev1/info.json +++ b/keyboards/planck/rev1/info.json @@ -8,6 +8,8 @@ "pid": "0xAE01", "device_version": "0.0.1" }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], "layouts": { "LAYOUT_planck_1x2uC": { diff --git a/keyboards/planck/rev1/rules.mk b/keyboards/planck/rev1/rules.mk index 3956ffba90..8827627e99 100644 --- a/keyboards/planck/rev1/rules.mk +++ b/keyboards/planck/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/planck/rev2/info.json b/keyboards/planck/rev2/info.json index 118e518201..2f36673b1e 100644 --- a/keyboards/planck/rev2/info.json +++ b/keyboards/planck/rev2/info.json @@ -8,6 +8,8 @@ "pid": "0xAE01", "device_version": "0.0.2" }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], "layouts": { "LAYOUT_planck_1x2uC": { diff --git a/keyboards/planck/rev2/rules.mk b/keyboards/planck/rev2/rules.mk index 3956ffba90..8827627e99 100644 --- a/keyboards/planck/rev2/rules.mk +++ b/keyboards/planck/rev2/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/planck/rev3/info.json b/keyboards/planck/rev3/info.json index 91748bf110..5479a93d93 100644 --- a/keyboards/planck/rev3/info.json +++ b/keyboards/planck/rev3/info.json @@ -8,6 +8,8 @@ "pid": "0xAE01", "device_version": "0.0.3" }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], "layouts": { "LAYOUT_planck_1x2uC": { diff --git a/keyboards/planck/rev3/rules.mk b/keyboards/planck/rev3/rules.mk index 3956ffba90..8827627e99 100644 --- a/keyboards/planck/rev3/rules.mk +++ b/keyboards/planck/rev3/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/planck/rev4/info.json b/keyboards/planck/rev4/info.json index 9d70320a63..2c3c9e842b 100644 --- a/keyboards/planck/rev4/info.json +++ b/keyboards/planck/rev4/info.json @@ -8,6 +8,8 @@ "pid": "0xAE01", "device_version": "0.0.4" }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], "layouts": { "LAYOUT_planck_1x2uC": { diff --git a/keyboards/planck/rev4/rules.mk b/keyboards/planck/rev4/rules.mk index 1d33b8a797..78e1ba9f7b 100644 --- a/keyboards/planck/rev4/rules.mk +++ b/keyboards/planck/rev4/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/planck/rev5/info.json b/keyboards/planck/rev5/info.json index b39d519d82..9e271ec072 100644 --- a/keyboards/planck/rev5/info.json +++ b/keyboards/planck/rev5/info.json @@ -8,6 +8,8 @@ "pid": "0xAE01", "device_version": "0.0.5" }, + "processor": "atmega32u4", + "bootloader": "qmk-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], "layouts": { "LAYOUT_planck_1x2uC": { diff --git a/keyboards/planck/rev5/rules.mk b/keyboards/planck/rev5/rules.mk index 67057c035d..78e1ba9f7b 100644 --- a/keyboards/planck/rev5/rules.mk +++ b/keyboards/planck/rev5/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/planck/rev6/info.json b/keyboards/planck/rev6/info.json index b3696cb7d9..6e46d01954 100644 --- a/keyboards/planck/rev6/info.json +++ b/keyboards/planck/rev6/info.json @@ -8,6 +8,9 @@ "pid": "0xA4F9", "device_version": "0.0.6" }, + "processor": "STM32F303", + "bootloader": "stm32-dfu", + "board": "QMK_PROTON_C", "community_layouts": ["ortho_4x12", "planck_mit"], "layouts": { "LAYOUT_ortho_4x12": { diff --git a/keyboards/planck/rev6/rules.mk b/keyboards/planck/rev6/rules.mk index 886cafd752..2ab8a36fe0 100644 --- a/keyboards/planck/rev6/rules.mk +++ b/keyboards/planck/rev6/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/planck/rev6_drop/info.json b/keyboards/planck/rev6_drop/info.json index e85d44334c..f2a3db5082 100644 --- a/keyboards/planck/rev6_drop/info.json +++ b/keyboards/planck/rev6_drop/info.json @@ -8,6 +8,8 @@ "pid": "0xA4F9", "device_version": "0.0.6" }, + "processor": "STM32F303", + "bootloader": "stm32-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], "layouts": { "LAYOUT_ortho_4x12": { diff --git a/keyboards/planck/rev6_drop/rules.mk b/keyboards/planck/rev6_drop/rules.mk index 5d56d3b7ae..5fdf117649 100644 --- a/keyboards/planck/rev6_drop/rules.mk +++ b/keyboards/planck/rev6_drop/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = STM32F303 - -# Bootloader selection -BOOTLOADER = stm32-dfu - # Build Options # change yes to no to disable # diff --git a/keyboards/planck/thk/info.json b/keyboards/planck/thk/info.json index a678d57af3..8824929a39 100644 --- a/keyboards/planck/thk/info.json +++ b/keyboards/planck/thk/info.json @@ -8,6 +8,8 @@ "pid": "0x25A7", "device_version": "0.0.1" }, + "processor": "atmega32a", + "bootloader": "usbasploader", "layout_aliases": { "LAYOUT_planck_grid": "LAYOUT_ortho_4x12", "LAYOUT_planck_mit": "LAYOUT_planck_1x2uC" diff --git a/keyboards/planck/thk/rules.mk b/keyboards/planck/thk/rules.mk index 1dd5e5657e..417fb95129 100644 --- a/keyboards/planck/thk/rules.mk +++ b/keyboards/planck/thk/rules.mk @@ -1,27 +1,6 @@ -# Copyright 2021 Erovia -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -# MCU name -MCU = atmega32a - # Processor frequency F_CPU = 16000000 -# Bootloader selection -BOOTLOADER = usbasploader - # Build Options # change yes to no to disable # |