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/ghs | |
parent | 3499677b6a5a9ee5845122382f93f0500dfd8429 (diff) |
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529)
Diffstat (limited to 'keyboards/ghs')
-rw-r--r-- | keyboards/ghs/rar/info.json | 2 | ||||
-rw-r--r-- | keyboards/ghs/rar/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/ghs/xls/info.json | 2 | ||||
-rw-r--r-- | keyboards/ghs/xls/rules.mk | 6 |
4 files changed, 4 insertions, 12 deletions
diff --git a/keyboards/ghs/rar/info.json b/keyboards/ghs/rar/info.json index 2f5a75a4f4..1a8b534e56 100644 --- a/keyboards/ghs/rar/info.json +++ b/keyboards/ghs/rar/info.json @@ -8,6 +8,8 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "layouts": { "LAYOUT_ansi": { "layout": [ diff --git a/keyboards/ghs/rar/rules.mk b/keyboards/ghs/rar/rules.mk index 4c9451f9a1..8288dff376 100644 --- a/keyboards/ghs/rar/rules.mk +++ b/keyboards/ghs/rar/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/ghs/xls/info.json b/keyboards/ghs/xls/info.json index 6530893229..87ed376500 100644 --- a/keyboards/ghs/xls/info.json +++ b/keyboards/ghs/xls/info.json @@ -25,6 +25,8 @@ "pid": "0x0002", "vid": "0x0645" }, + "processor": "STM32F072", + "bootloader": "stm32-dfu", "encoder": { "rotary": [ { "pin_a": "B3", "pin_b": "A15" }, diff --git a/keyboards/ghs/xls/rules.mk b/keyboards/ghs/xls/rules.mk index 6b37928327..a92b099328 100644 --- a/keyboards/ghs/xls/rules.mk +++ b/keyboards/ghs/xls/rules.mk @@ -1,8 +1,2 @@ -# MCU name -MCU = STM32F072 - -# Bootloader selection -BOOTLOADER = stm32-dfu - # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |