Migrate MCU and BOOTLOADER to data-driven (#19529)

This commit is contained in:
Ryan
2023-02-08 18:41:46 +11:00
committed by GitHub
parent 3499677b6a
commit f9aeea64c1
4886 changed files with 5301 additions and 14866 deletions

View File

@@ -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": {

View File

@@ -1,9 +1,3 @@
# MCU name
MCU = STM32F303
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#

View File

@@ -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": {

View File

@@ -1,9 +1,3 @@
# MCU name
MCU = at90usb1286
# Bootloader selection
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#

View File

@@ -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": {

View File

@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#

View File

@@ -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": {

View File

@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#

View File

@@ -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": {

View File

@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#

View File

@@ -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": {

View File

@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#

View File

@@ -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": {

View File

@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = qmk-dfu
# Build Options
# change yes to no to disable
#

View File

@@ -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": {

View File

@@ -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
#

View File

@@ -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": {

View File

@@ -1,9 +1,3 @@
# MCU name
MCU = STM32F303
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#

View File

@@ -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"

View File

@@ -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
#