Skip to content

Commit

Permalink
Migrate MCU and BOOTLOADER to data-driven (#19529)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Feb 8, 2023
1 parent 3499677 commit f9aeea6
Show file tree
Hide file tree
Showing 4,886 changed files with 5,301 additions and 14,866 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions keyboards/0xc7/61key/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x6161",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
"LAYOUT": "LAYOUT_60_ansi"
},
Expand Down
6 changes: 0 additions & 6 deletions keyboards/0xc7/61key/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/0xcb/1337/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x1337",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/0xcb/1337/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = qmk-dfu

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/0xcb/static/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0xA455",
"device_version": "0.0.1"
},
"processor": "atmega328p",
"bootloader": "usbasploader",
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
},
Expand Down
6 changes: 0 additions & 6 deletions keyboards/0xcb/static/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega328p

# Bootloader selection
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/0xcb/tutelpad/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0xF09F",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/0xcb/tutelpad/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
## MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = caterina

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/10bleoledhub/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x7C99",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/10bleoledhub/rules.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# MCU name
MCU = atmega32u4

# Processor frequency
F_CPU = 8000000

# Bootloader selection
BOOTLOADER = caterina

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/1upkeyboards/1up60hse/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x6873",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi"],
"layouts": {
"LAYOUT_60_ansi": {
Expand Down
6 changes: 0 additions & 6 deletions keyboards/1upkeyboards/1up60hse/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/1upkeyboards/1up60hte/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x6874",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
"LAYOUT_tsangan": "LAYOUT_60_tsangan_hhkb"
},
Expand Down
6 changes: 0 additions & 6 deletions keyboards/1upkeyboards/1up60hte/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/1upkeyboards/1up60rgb/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x7267",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"],
"layouts": {
"LAYOUT_all": {
Expand Down
6 changes: 0 additions & 6 deletions keyboards/1upkeyboards/1up60rgb/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/1upkeyboards/pi40/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"pid": "0x5600",
"device_version": "0.0.1"
},
"processor": "RP2040",
"bootloader": "rp2040",
"board": "GENERIC_RP_RP2040",
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
5 changes: 0 additions & 5 deletions keyboards/1upkeyboards/pi40/rules.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# MCU name
MCU = RP2040
BOOTLOADER = rp2040
BOARD = GENERIC_RP_RP2040

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/1upkeyboards/super16/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x5516",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_4x4", "numpad_4x4"],
"layouts": {
"LAYOUT_ortho_4x4": {
Expand Down
6 changes: 0 additions & 6 deletions keyboards/1upkeyboards/super16/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = caterina

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/1upkeyboards/super16v2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x5517",
"device_version": "0.0.1"
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_ortho_4x4": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/1upkeyboards/super16v2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u2

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
Expand Down
4 changes: 3 additions & 1 deletion keyboards/1upkeyboards/sweet16/v1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
"usb": {
"pid": "0x0161",
"device_version": "0.0.1"
}
},
"processor": "atmega32u4",
"bootloader": "caterina"
}
6 changes: 0 additions & 6 deletions keyboards/1upkeyboards/sweet16/v1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = caterina

RGBLIGHT_ENABLE = yes
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality

Expand Down
4 changes: 3 additions & 1 deletion keyboards/25keys/aleth42/rev0/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"usb": {
"device_version": "0.0.0"
}
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu"
}
6 changes: 0 additions & 6 deletions keyboards/25keys/aleth42/rev0/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u2

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
Expand Down
4 changes: 3 additions & 1 deletion keyboards/25keys/aleth42/rev1/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"usb": {
"device_version": "0.0.1"
}
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
6 changes: 0 additions & 6 deletions keyboards/25keys/aleth42/rev1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/25keys/cassette42/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0xCA42",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [{"x":0.5, "y":0.75}, {"x":2.5, "y":0.75}, {"x":0, "y":1.75}, {"x":1, "y":1.75}, {"x":2, "y":1.75}, {"x":3, "y":1.75}]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/25keys/cassette42/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = caterina

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/25keys/zinc/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"pid": "0xEA3B",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":14, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/25keys/zinc/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = caterina

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/2key2crawl/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x6090",
"device_version": "0.0.2"
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/2key2crawl/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u2

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/30wer/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x5678",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/30wer/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = caterina

# Build Options
# change yes to no to disable
#
Expand Down
2 changes: 2 additions & 0 deletions keyboards/3keyecosystem/2key2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x3304",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/3keyecosystem/2key2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = caterina

# Build Options
# change yes to no to disable
#
Expand Down
4 changes: 3 additions & 1 deletion keyboards/3w6/rev1/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"usb": {
"device_version": "0.0.1"
}
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
6 changes: 0 additions & 6 deletions keyboards/3w6/rev1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
Expand Down
4 changes: 3 additions & 1 deletion keyboards/3w6/rev2/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"usb": {
"device_version": "0.0.2"
}
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
Loading

0 comments on commit f9aeea6

Please sign in to comment.