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/hs60 | |
| parent | 3499677b6a5a9ee5845122382f93f0500dfd8429 (diff) | |
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/hs60')
| -rw-r--r-- | keyboards/hs60/v1/info.json | 2 | ||||
| -rw-r--r-- | keyboards/hs60/v1/rules.mk | 6 | ||||
| -rw-r--r-- | keyboards/hs60/v2/ansi/info.json | 3 | ||||
| -rw-r--r-- | keyboards/hs60/v2/ansi/rules.mk | 7 | ||||
| -rw-r--r-- | keyboards/hs60/v2/hhkb/info.json | 3 | ||||
| -rw-r--r-- | keyboards/hs60/v2/hhkb/rules.mk | 7 | ||||
| -rw-r--r-- | keyboards/hs60/v2/iso/info.json | 3 | ||||
| -rw-r--r-- | keyboards/hs60/v2/iso/rules.mk | 7 |
8 files changed, 11 insertions, 27 deletions
diff --git a/keyboards/hs60/v1/info.json b/keyboards/hs60/v1/info.json index 46222da73c..2c723f58b5 100644 --- a/keyboards/hs60/v1/info.json +++ b/keyboards/hs60/v1/info.json | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | "pid": "0x0257", | 8 | "pid": "0x0257", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "processor": "atmega32u4", | ||
| 12 | "bootloader": "qmk-dfu", | ||
| 11 | "community_layouts": ["60_ansi", "60_iso"], | 13 | "community_layouts": ["60_ansi", "60_iso"], |
| 12 | "layouts": { | 14 | "layouts": { |
| 13 | "LAYOUT_60_iso": { | 15 | "LAYOUT_60_iso": { |
diff --git a/keyboards/hs60/v1/rules.mk b/keyboards/hs60/v1/rules.mk index d5d8ff6eed..91c36443cd 100644 --- a/keyboards/hs60/v1/rules.mk +++ b/keyboards/hs60/v1/rules.mk | |||
| @@ -1,9 +1,3 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = qmk-dfu | ||
| 6 | |||
| 7 | # Do not put the microcontroller into power saving mode | 1 | # Do not put the microcontroller into power saving mode |
| 8 | # when we get USB suspend event. We want it to keep updating | 2 | # when we get USB suspend event. We want it to keep updating |
| 9 | # backlight effects. | 3 | # backlight effects. |
diff --git a/keyboards/hs60/v2/ansi/info.json b/keyboards/hs60/v2/ansi/info.json index 762a5892e6..cf96570800 100644 --- a/keyboards/hs60/v2/ansi/info.json +++ b/keyboards/hs60/v2/ansi/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4854", | 8 | "pid": "0x4854", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "processor": "STM32F303", | ||
| 12 | "bootloader": "stm32-dfu", | ||
| 13 | "board": "QMK_PROTON_C", | ||
| 11 | "community_layouts": ["60_ansi"], | 14 | "community_layouts": ["60_ansi"], |
| 12 | "layouts": { | 15 | "layouts": { |
| 13 | "LAYOUT_60_ansi": { | 16 | "LAYOUT_60_ansi": { |
diff --git a/keyboards/hs60/v2/ansi/rules.mk b/keyboards/hs60/v2/ansi/rules.mk index 8dedad03df..a231765dff 100644 --- a/keyboards/hs60/v2/ansi/rules.mk +++ b/keyboards/hs60/v2/ansi/rules.mk | |||
| @@ -1,10 +1,3 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = STM32F303 | ||
| 3 | BOARD = QMK_PROTON_C | ||
| 4 | |||
| 5 | # Bootloader selection | ||
| 6 | BOOTLOADER = stm32-dfu | ||
| 7 | |||
| 8 | # Do not put the microcontroller into power saving mode | 1 | # Do not put the microcontroller into power saving mode |
| 9 | # when we get USB suspend event. We want it to keep updating | 2 | # when we get USB suspend event. We want it to keep updating |
| 10 | # backlight effects. | 3 | # backlight effects. |
diff --git a/keyboards/hs60/v2/hhkb/info.json b/keyboards/hs60/v2/hhkb/info.json index 5e43f8bdba..10fb020eb7 100644 --- a/keyboards/hs60/v2/hhkb/info.json +++ b/keyboards/hs60/v2/hhkb/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4855", | 8 | "pid": "0x4855", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "processor": "STM32F303", | ||
| 12 | "bootloader": "stm32-dfu", | ||
| 13 | "board": "QMK_PROTON_C", | ||
| 11 | "layouts": { | 14 | "layouts": { |
| 12 | "LAYOUT_60_hhkb": { | 15 | "LAYOUT_60_hhkb": { |
| 13 | "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":6, "y":0}, {"x":7, "y":0}, {"x":8, "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, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1, "w":1.5}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2}, {"x":12.75, "y":2, "w":2.25}, {"x":0, "y":3, "w":2.25}, {"x":2.25, "y":3}, {"x":3.25, "y":3}, {"x":4.25, "y":3}, {"x":5.25, "y":3}, {"x":6.25, "y":3}, {"x":7.25, "y":3}, {"x":8.25, "y":3}, {"x":9.25, "y":3}, {"x":10.25, "y":3}, {"x":11.25, "y":3}, {"x":12.25, "y":3, "w":1.75}, {"x":14, "y":3}, {"x":0, "y":4, "w":1.5}, {"x":1.5, "y":4}, {"x":2.5, "y":4, "w":1.5}, {"x":4, "y":4, "w":7}, {"x":11, "y":4, "w":1.5}, {"x":12.5, "y":4}, {"x":13.5, "y":4, "w":1.5}] | 16 | "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":6, "y":0}, {"x":7, "y":0}, {"x":8, "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, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1, "w":1.5}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2}, {"x":12.75, "y":2, "w":2.25}, {"x":0, "y":3, "w":2.25}, {"x":2.25, "y":3}, {"x":3.25, "y":3}, {"x":4.25, "y":3}, {"x":5.25, "y":3}, {"x":6.25, "y":3}, {"x":7.25, "y":3}, {"x":8.25, "y":3}, {"x":9.25, "y":3}, {"x":10.25, "y":3}, {"x":11.25, "y":3}, {"x":12.25, "y":3, "w":1.75}, {"x":14, "y":3}, {"x":0, "y":4, "w":1.5}, {"x":1.5, "y":4}, {"x":2.5, "y":4, "w":1.5}, {"x":4, "y":4, "w":7}, {"x":11, "y":4, "w":1.5}, {"x":12.5, "y":4}, {"x":13.5, "y":4, "w":1.5}] |
diff --git a/keyboards/hs60/v2/hhkb/rules.mk b/keyboards/hs60/v2/hhkb/rules.mk index 8dedad03df..a231765dff 100644 --- a/keyboards/hs60/v2/hhkb/rules.mk +++ b/keyboards/hs60/v2/hhkb/rules.mk | |||
| @@ -1,10 +1,3 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = STM32F303 | ||
| 3 | BOARD = QMK_PROTON_C | ||
| 4 | |||
| 5 | # Bootloader selection | ||
| 6 | BOOTLOADER = stm32-dfu | ||
| 7 | |||
| 8 | # Do not put the microcontroller into power saving mode | 1 | # Do not put the microcontroller into power saving mode |
| 9 | # when we get USB suspend event. We want it to keep updating | 2 | # when we get USB suspend event. We want it to keep updating |
| 10 | # backlight effects. | 3 | # backlight effects. |
diff --git a/keyboards/hs60/v2/iso/info.json b/keyboards/hs60/v2/iso/info.json index 42a9b6381a..771c44bd69 100644 --- a/keyboards/hs60/v2/iso/info.json +++ b/keyboards/hs60/v2/iso/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4853", | 8 | "pid": "0x4853", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "processor": "STM32F303", | ||
| 12 | "bootloader": "stm32-dfu", | ||
| 13 | "board": "QMK_PROTON_C", | ||
| 11 | "community_layouts": ["60_iso"], | 14 | "community_layouts": ["60_iso"], |
| 12 | "layouts": { | 15 | "layouts": { |
| 13 | "LAYOUT_60_iso": { | 16 | "LAYOUT_60_iso": { |
diff --git a/keyboards/hs60/v2/iso/rules.mk b/keyboards/hs60/v2/iso/rules.mk index 8dedad03df..a231765dff 100644 --- a/keyboards/hs60/v2/iso/rules.mk +++ b/keyboards/hs60/v2/iso/rules.mk | |||
| @@ -1,10 +1,3 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = STM32F303 | ||
| 3 | BOARD = QMK_PROTON_C | ||
| 4 | |||
| 5 | # Bootloader selection | ||
| 6 | BOOTLOADER = stm32-dfu | ||
| 7 | |||
| 8 | # Do not put the microcontroller into power saving mode | 1 | # Do not put the microcontroller into power saving mode |
| 9 | # when we get USB suspend event. We want it to keep updating | 2 | # when we get USB suspend event. We want it to keep updating |
| 10 | # backlight effects. | 3 | # backlight effects. |
