diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-17 16:40:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 16:40:49 +1100 |
commit | 8f6c228adbfec98828f0411f62bab07f96e5c020 (patch) | |
tree | e3e7c485942dd7a089b34bfb17be8ef644829f12 /keyboards/lily58 | |
parent | 2da0827d4ffbcba161126d6001f370e97d0172a8 (diff) |
Move `SOFT_SERIAL_PIN` to data driven (#19863)
Diffstat (limited to 'keyboards/lily58')
-rw-r--r-- | keyboards/lily58/config.h | 5 | ||||
-rw-r--r-- | keyboards/lily58/glow_enc/config.h | 2 | ||||
-rw-r--r-- | keyboards/lily58/glow_enc/info.json | 3 | ||||
-rw-r--r-- | keyboards/lily58/light/config.h | 2 | ||||
-rw-r--r-- | keyboards/lily58/light/info.json | 3 | ||||
-rw-r--r-- | keyboards/lily58/rev1/config.h | 2 | ||||
-rw-r--r-- | keyboards/lily58/rev1/info.json | 3 |
7 files changed, 9 insertions, 11 deletions
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 <http://www.gnu.org/licenses/>. #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 <http://www.gnu.org/licenses/>. #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 <http://www.gnu.org/licenses/>. #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 <http://www.gnu.org/licenses/>. #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": { |