Skip to content

Commit

Permalink
Migrate MCU and BOOTLOADER to data-driven (qmk#19529)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpskenn committed Nov 2, 2023
1 parent cdedf58 commit d5fc6cb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 18 deletions.
2 changes: 2 additions & 0 deletions keyboards/sandy/dn0020/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"keyboard_name": "Sandy",
"url": "https://github.com/jpskenn/Sandy",
"maintainer": "jpskenn",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [{"label":"0,0", "x":0, "y":0}, {"label":"5,0", "x":1, "y":0}, {"label":"0,1", "x":2, "y":0}, {"label":"5,1", "x":3, "y":0}, {"label":"0,2", "x":4, "y":0}, {"label":"5,2", "x":5, "y":0}, {"label":"0,3", "x":6, "y":0}, {"label":"5,3", "x":7, "y":0}, {"label":"0,4", "x":8, "y":0}, {"label":"5,4", "x":9, "y":0}, {"label":"0,5", "x":10, "y":0}, {"label":"5,5", "x":11, "y":0}, {"label":"0,6", "x":12, "y":0}, {"label":"5,6", "x":13, "y":0}, {"label":"0,7", "x":14, "y":0}, {"label":"1,0", "x":0, "y":1, "w":1.5}, {"label":"6,0", "x":1.5, "y":1}, {"label":"1,1", "x":2.5, "y":1}, {"label":"6,1", "x":3.5, "y":1}, {"label":"1,2", "x":4.5, "y":1}, {"label":"6,2", "x":5.5, "y":1}, {"label":"1,3", "x":6.5, "y":1}, {"label":"6,3", "x":7.5, "y":1}, {"label":"1,4", "x":8.5, "y":1}, {"label":"6,4", "x":9.5, "y":1}, {"label":"1,5", "x":10.5, "y":1}, {"label":"6,5", "x":11.5, "y":1}, {"label":"1,6", "x":12.5, "y":1}, {"label":"6,6", "x":13.5, "y":1, "w":1.5}, {"label":"2,0", "x":0, "y":2, "w":1.5}, {"label":"7,0", "x":1.5, "y":2}, {"label":"2,1", "x":2.5, "y":2}, {"label":"7,1", "x":3.5, "y":2}, {"label":"2,2", "x":4.5, "y":2}, {"label":"7,2", "x":5.5, "y":2}, {"label":"2,3", "x":6.5, "y":2}, {"label":"7,3", "x":7.5, "y":2}, {"label":"2,4", "x":8.5, "y":2}, {"label":"7,4", "x":9.5, "y":2}, {"label":"2,5", "x":10.5, "y":2}, {"label":"7,5", "x":11.5, "y":2}, {"label":"2,6", "x":12.5, "y":2}, {"label":"7,6", "x":13.5, "y":2, "w":1.5}, {"label":"3,0", "x":0, "y":3}, {"label":"8,0", "x":1, "y":3}, {"label":"3,1", "x":2, "y":3}, {"label":"8,1", "x":3, "y":3}, {"label":"3,2", "x":4, "y":3}, {"label":"8,2", "x":5, "y":3}, {"label":"3,3", "x":6, "y":3}, {"label":"8,3", "x":7, "y":3}, {"label":"3,4", "x":8, "y":3}, {"label":"8,4", "x":9, "y":3}, {"label":"3,5", "x":10, "y":3}, {"label":"8,5", "x":11, "y":3}, {"label":"3,6", "x":12, "y":3}, {"label":"8,6", "x":13, "y":3}, {"label":"3,7", "x":14, "y":3}, {"label":"4,0", "x":0, "y":4}, {"label":"9,0", "x":1, "y":4}, {"label":"4,1", "x":2, "y":4, "w":1.25}, {"label":"9,1", "x":3.25, "y":4, "w":1.25}, {"label":"9,2", "x":4.5, "y":4, "w":1.5}, {"label":"4,3", "x":6, "y":4}, {"label":"9,3", "x":7, "y":4}, {"label":"4,4", "x":8, "y":4}, {"label":"9,4", "x":9, "y":4, "w":1.5}, {"label":"9,5", "x":10.5, "y":4, "w":1.25}, {"label":"4,6", "x":11.75, "y":4, "w":1.25}, {"label":"9,6", "x":13, "y":4}, {"label":"4,7", "x":14, "y":4}, {"label":"5,7", "x":0, "y":5.25}, {"label":"9,7", "x":1, "y":5.25}, {"label":"1,7", "x":7, "y":5.25}, {"label":"4,2", "x":13, "y":5.25}, {"label":"4,5", "x":14, "y":5.25}, {"label":"2,7", "x":6, "y":6.25}, {"label":"8,7", "x":7, "y":6.25}, {"label":"7,7", "x":8, "y":6.25}, {"label":"6,7", "x":7, "y":7.25}]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/sandy/dn0020/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
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes # Mouse keys
Expand Down
2 changes: 2 additions & 0 deletions keyboards/sandy/dn0030/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x3344",
"device_version": "0.3.0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [{"label":"0,0", "x":0, "y":0}, {"label":"5,0", "x":1, "y":0}, {"label":"0,1", "x":2, "y":0}, {"label":"5,1", "x":3, "y":0}, {"label":"0,2", "x":4, "y":0}, {"label":"5,2", "x":5, "y":0}, {"label":"0,3", "x":6, "y":0}, {"label":"5,3", "x":7, "y":0}, {"label":"0,4", "x":8, "y":0}, {"label":"5,4", "x":9, "y":0}, {"label":"0,5", "x":10, "y":0}, {"label":"5,5", "x":11, "y":0}, {"label":"0,6", "x":12, "y":0}, {"label":"5,6", "x":13, "y":0}, {"label":"0,7", "x":14, "y":0}, {"label":"1,0", "x":0, "y":1, "w":1.5}, {"label":"6,0", "x":1.5, "y":1}, {"label":"1,1", "x":2.5, "y":1}, {"label":"6,1", "x":3.5, "y":1}, {"label":"1,2", "x":4.5, "y":1}, {"label":"6,2", "x":5.5, "y":1}, {"label":"1,3", "x":6.5, "y":1}, {"label":"6,3", "x":7.5, "y":1}, {"label":"1,4", "x":8.5, "y":1}, {"label":"6,4", "x":9.5, "y":1}, {"label":"1,5", "x":10.5, "y":1}, {"label":"6,5", "x":11.5, "y":1}, {"label":"1,6", "x":12.5, "y":1}, {"label":"6,6", "x":13.5, "y":1, "w":1.5}, {"label":"2,0", "x":0, "y":2, "w":1.5}, {"label":"7,0", "x":1.5, "y":2}, {"label":"2,1", "x":2.5, "y":2}, {"label":"7,1", "x":3.5, "y":2}, {"label":"2,2", "x":4.5, "y":2}, {"label":"7,2", "x":5.5, "y":2}, {"label":"2,3", "x":6.5, "y":2}, {"label":"7,3", "x":7.5, "y":2}, {"label":"2,4", "x":8.5, "y":2}, {"label":"7,4", "x":9.5, "y":2}, {"label":"2,5", "x":10.5, "y":2}, {"label":"7,5", "x":11.5, "y":2}, {"label":"2,6", "x":12.5, "y":2}, {"label":"7,6", "x":13.5, "y":2, "w":1.5}, {"label":"3,0", "x":0, "y":3}, {"label":"8,0", "x":1, "y":3}, {"label":"3,1", "x":2, "y":3}, {"label":"8,1", "x":3, "y":3}, {"label":"3,2", "x":4, "y":3}, {"label":"8,2", "x":5, "y":3}, {"label":"3,3", "x":6, "y":3}, {"label":"8,3", "x":7, "y":3}, {"label":"3,4", "x":8, "y":3}, {"label":"8,4", "x":9, "y":3}, {"label":"3,5", "x":10, "y":3}, {"label":"8,5", "x":11, "y":3}, {"label":"3,6", "x":12, "y":3}, {"label":"8,6", "x":13, "y":3}, {"label":"3,7", "x":14, "y":3}, {"label":"4,0", "x":0, "y":4}, {"label":"9,0", "x":1, "y":4}, {"label":"4,1", "x":2, "y":4, "w":1.25}, {"label":"9,1", "x":3.25, "y":4, "w":1.25}, {"label":"9,2", "x":4.5, "y":4, "w":1.5}, {"label":"4,3", "x":6, "y":4}, {"label":"9,3", "x":7, "y":4}, {"label":"4,4", "x":8, "y":4}, {"label":"9,4", "x":9, "y":4, "w":1.5}, {"label":"9,5", "x":10.5, "y":4, "w":1.25}, {"label":"4,6", "x":11.75, "y":4, "w":1.25}, {"label":"9,6", "x":13, "y":4}, {"label":"4,7", "x":14, "y":4}, {"label":"5,7", "x":0, "y":5.25}, {"label":"9,7", "x":1, "y":5.25}, {"label":"1,7", "x":7, "y":5.25}, {"label":"4,2", "x":13, "y":5.25}, {"label":"4,5", "x":14, "y":5.25}, {"label":"2,7", "x":6, "y":6.25}, {"label":"8,7", "x":7, "y":6.25}, {"label":"7,7", "x":8, "y":6.25}, {"label":"6,7", "x":7, "y":7.25}]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/sandy/dn0030/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
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes # Mouse keys
Expand Down
2 changes: 2 additions & 0 deletions keyboards/sandy/v01/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"pid": "0x3344",
"device_version": "1.0.0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [{"label":"0,0", "x":0, "y":0}, {"label":"5,0", "x":1, "y":0}, {"label":"0,1", "x":2, "y":0}, {"label":"5,1", "x":3, "y":0}, {"label":"0,2", "x":4, "y":0}, {"label":"5,2", "x":5, "y":0}, {"label":"0,3", "x":6, "y":0}, {"label":"5,3", "x":7, "y":0}, {"label":"0,4", "x":8, "y":0}, {"label":"5,4", "x":9, "y":0}, {"label":"0,5", "x":10, "y":0}, {"label":"5,5", "x":11, "y":0}, {"label":"0,6", "x":12, "y":0}, {"label":"5,6", "x":13, "y":0}, {"label":"0,7", "x":14, "y":0}, {"label":"1,0", "x":0, "y":1, "w":1.5}, {"label":"6,0", "x":1.5, "y":1}, {"label":"1,1", "x":2.5, "y":1}, {"label":"6,1", "x":3.5, "y":1}, {"label":"1,2", "x":4.5, "y":1}, {"label":"6,2", "x":5.5, "y":1}, {"label":"1,3", "x":6.5, "y":1}, {"label":"6,3", "x":7.5, "y":1}, {"label":"1,4", "x":8.5, "y":1}, {"label":"6,4", "x":9.5, "y":1}, {"label":"1,5", "x":10.5, "y":1}, {"label":"6,5", "x":11.5, "y":1}, {"label":"1,6", "x":12.5, "y":1}, {"label":"6,6", "x":13.5, "y":1, "w":1.5}, {"label":"2,0", "x":0, "y":2, "w":1.5}, {"label":"7,0", "x":1.5, "y":2}, {"label":"2,1", "x":2.5, "y":2}, {"label":"7,1", "x":3.5, "y":2}, {"label":"2,2", "x":4.5, "y":2}, {"label":"7,2", "x":5.5, "y":2}, {"label":"2,3", "x":6.5, "y":2}, {"label":"7,3", "x":7.5, "y":2}, {"label":"2,4", "x":8.5, "y":2}, {"label":"7,4", "x":9.5, "y":2}, {"label":"2,5", "x":10.5, "y":2}, {"label":"7,5", "x":11.5, "y":2}, {"label":"2,6", "x":12.5, "y":2}, {"label":"7,6", "x":13.5, "y":2, "w":1.5}, {"label":"3,0", "x":0, "y":3}, {"label":"8,0", "x":1, "y":3}, {"label":"3,1", "x":2, "y":3}, {"label":"8,1", "x":3, "y":3}, {"label":"3,2", "x":4, "y":3}, {"label":"8,2", "x":5, "y":3}, {"label":"3,3", "x":6, "y":3}, {"label":"8,3", "x":7, "y":3}, {"label":"3,4", "x":8, "y":3}, {"label":"8,4", "x":9, "y":3}, {"label":"3,5", "x":10, "y":3}, {"label":"8,5", "x":11, "y":3}, {"label":"3,6", "x":12, "y":3}, {"label":"8,6", "x":13, "y":3}, {"label":"3,7", "x":14, "y":3}, {"label":"4,0", "x":0, "y":4}, {"label":"9,0", "x":1, "y":4}, {"label":"4,1", "x":2, "y":4, "w":1.25}, {"label":"9,1", "x":3.25, "y":4, "w":1.25}, {"label":"9,2", "x":4.5, "y":4, "w":1.5}, {"label":"4,3", "x":6, "y":4}, {"label":"9,3", "x":7, "y":4}, {"label":"4,4", "x":8, "y":4}, {"label":"9,4", "x":9, "y":4, "w":1.5}, {"label":"9,5", "x":10.5, "y":4, "w":1.25}, {"label":"4,6", "x":11.75, "y":4, "w":1.25}, {"label":"9,6", "x":13, "y":4}, {"label":"4,7", "x":14, "y":4}, {"label":"5,7", "x":0, "y":5.25}, {"label":"9,7", "x":1, "y":5.25}, {"label":"1,7", "x":7, "y":5.25}, {"label":"4,2", "x":13, "y":5.25}, {"label":"4,5", "x":14, "y":5.25}, {"label":"2,7", "x":6, "y":6.25}, {"label":"8,7", "x":7, "y":6.25}, {"label":"7,7", "x":8, "y":6.25}, {"label":"6,7", "x":7, "y":7.25}]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/sandy/v01/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
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes # Mouse keys
Expand Down

0 comments on commit d5fc6cb

Please sign in to comment.