From f9aeea64c1f85d388485503e52035b5f7533ed26 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 8 Feb 2023 18:41:46 +1100 Subject: Migrate `MCU` and `BOOTLOADER` to data-driven (#19529) --- keyboards/crkbd/info.json | 1 + keyboards/crkbd/r2g/info.json | 3 +++ keyboards/crkbd/r2g/rules.mk | 3 --- keyboards/crkbd/rev1/info.json | 3 +++ keyboards/crkbd/rules.mk | 6 ------ 5 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 keyboards/crkbd/r2g/info.json create mode 100644 keyboards/crkbd/rev1/info.json (limited to 'keyboards/crkbd') diff --git a/keyboards/crkbd/info.json b/keyboards/crkbd/info.json index fedc37b61c..778b33c565 100644 --- a/keyboards/crkbd/info.json +++ b/keyboards/crkbd/info.json @@ -8,6 +8,7 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "processor": "atmega32u4", "community_layouts": ["split_3x5_3", "split_3x6_3"], "layouts": { "LAYOUT_split_3x6_3": { diff --git a/keyboards/crkbd/r2g/info.json b/keyboards/crkbd/r2g/info.json new file mode 100644 index 0000000000..606784570c --- /dev/null +++ b/keyboards/crkbd/r2g/info.json @@ -0,0 +1,3 @@ +{ + "bootloader": "atmel-dfu" +} diff --git a/keyboards/crkbd/r2g/rules.mk b/keyboards/crkbd/r2g/rules.mk index a3ee1b46b3..7cf008d003 100644 --- a/keyboards/crkbd/r2g/rules.mk +++ b/keyboards/crkbd/r2g/rules.mk @@ -1,9 +1,6 @@ -BOOTLOADER = atmel-dfu OLED_ENABLE = yes OLED_DRIVER = SSD1306 LTO_ENABLE = yes RGBLIGHT_ENABLE = yes - SPLIT_KEYBOARD = yes - diff --git a/keyboards/crkbd/rev1/info.json b/keyboards/crkbd/rev1/info.json new file mode 100644 index 0000000000..56062f7ad3 --- /dev/null +++ b/keyboards/crkbd/rev1/info.json @@ -0,0 +1,3 @@ +{ + "bootloader": "caterina" +} diff --git a/keyboards/crkbd/rules.mk b/keyboards/crkbd/rules.mk index ba7d68ad92..8feaf50a07 100644 --- a/keyboards/crkbd/rules.mk +++ b/keyboards/crkbd/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - # Build Options # change yes to no to disable # -- cgit v1.2.3