From 8f6c228adbfec98828f0411f62bab07f96e5c020 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 17 Feb 2023 16:40:49 +1100 Subject: Move `SOFT_SERIAL_PIN` to data driven (#19863) --- keyboards/lily58/config.h | 5 ----- keyboards/lily58/glow_enc/config.h | 2 -- keyboards/lily58/glow_enc/info.json | 3 +++ keyboards/lily58/light/config.h | 2 -- keyboards/lily58/light/info.json | 3 +++ keyboards/lily58/rev1/config.h | 2 -- keyboards/lily58/rev1/info.json | 3 +++ 7 files changed, 9 insertions(+), 11 deletions(-) (limited to 'keyboards/lily58') diff --git a/keyboards/lily58/config.h b/keyboards/lily58/config.h index c484543bdf..a67e22b876 100644 --- a/keyboards/lily58/config.h +++ b/keyboards/lily58/config.h @@ -18,11 +18,6 @@ along with this program. If not, see . #pragma once - -#ifndef SOFT_SERIAL_PIN -#define SOFT_SERIAL_PIN D2 -#endif - #define DIODE_DIRECTION COL2ROW // Use the lily version to get the Lily58 logo instead of the qmk logo diff --git a/keyboards/lily58/glow_enc/config.h b/keyboards/lily58/glow_enc/config.h index 3867e25f2b..443139c824 100644 --- a/keyboards/lily58/glow_enc/config.h +++ b/keyboards/lily58/glow_enc/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 } -#define SOFT_SERIAL_PIN D2 - #define RGB_DI_PIN F4 #define RGBLED_NUM 72 // Number of LEDs diff --git a/keyboards/lily58/glow_enc/info.json b/keyboards/lily58/glow_enc/info.json index 9fcf2de6cd..ef53c7f2d5 100644 --- a/keyboards/lily58/glow_enc/info.json +++ b/keyboards/lily58/glow_enc/info.json @@ -8,6 +8,9 @@ "pid": "0x0059", "device_version": "1.0.0" }, + "split": { + "soft_serial_pin": "D2" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/lily58/light/config.h b/keyboards/lily58/light/config.h index 64063e9076..0b11be778a 100644 --- a/keyboards/lily58/light/config.h +++ b/keyboards/lily58/light/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 } -#define SOFT_SERIAL_PIN D2 - #define RGB_DI_PIN D3 #define RGBLED_SPLIT { 35, 35 } #define RGBLED_NUM 70 diff --git a/keyboards/lily58/light/info.json b/keyboards/lily58/light/info.json index 5bd6b3de3c..18e16cd469 100644 --- a/keyboards/lily58/light/info.json +++ b/keyboards/lily58/light/info.json @@ -8,6 +8,9 @@ "pid": "0x4C4C", "device_version": "1.0.0" }, + "split": { + "soft_serial_pin": "D2" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/lily58/rev1/config.h b/keyboards/lily58/rev1/config.h index 8a99c48540..1e6d2d08fc 100644 --- a/keyboards/lily58/rev1/config.h +++ b/keyboards/lily58/rev1/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 } -#define SOFT_SERIAL_PIN D2 - /* ws2812 RGB LED */ #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs diff --git a/keyboards/lily58/rev1/info.json b/keyboards/lily58/rev1/info.json index 6bbaa4203e..793386b664 100644 --- a/keyboards/lily58/rev1/info.json +++ b/keyboards/lily58/rev1/info.json @@ -8,6 +8,9 @@ "pid": "0xEB2D", "device_version": "1.0.0" }, + "split": { + "soft_serial_pin": "D2" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { -- cgit v1.2.3