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/obosob/arch_36/config.h | 5 ----- keyboards/obosob/arch_36/info.json | 3 +++ keyboards/obosob/steal_this_keyboard/config.h | 3 --- keyboards/obosob/steal_this_keyboard/info.json | 1 + 4 files changed, 4 insertions(+), 8 deletions(-) (limited to 'keyboards/obosob') diff --git a/keyboards/obosob/arch_36/config.h b/keyboards/obosob/arch_36/config.h index 8bd2787fcb..ae2913396b 100644 --- a/keyboards/obosob/arch_36/config.h +++ b/keyboards/obosob/arch_36/config.h @@ -24,11 +24,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -/* - * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. - */ -#define SOFT_SERIAL_PIN D2 - #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN D3 #define RGBLED_SPLIT { 6, 6 } diff --git a/keyboards/obosob/arch_36/info.json b/keyboards/obosob/arch_36/info.json index 5172163172..63736c9a21 100644 --- a/keyboards/obosob/arch_36/info.json +++ b/keyboards/obosob/arch_36/info.json @@ -8,6 +8,9 @@ "pid": "0x9CE3", "device_version": "0.0.1" }, + "split": { + "soft_serial_pin": "D2" + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["split_3x5_3"], diff --git a/keyboards/obosob/steal_this_keyboard/config.h b/keyboards/obosob/steal_this_keyboard/config.h index bf4064bd31..546afc4c50 100644 --- a/keyboards/obosob/steal_this_keyboard/config.h +++ b/keyboards/obosob/steal_this_keyboard/config.h @@ -16,7 +16,4 @@ along with this program. If not, see . #pragma once -/* serial.c configuration for split keyboard */ -#define SOFT_SERIAL_PIN D2 - #define EE_HANDS diff --git a/keyboards/obosob/steal_this_keyboard/info.json b/keyboards/obosob/steal_this_keyboard/info.json index 5a80a0b17c..9c06492dbe 100644 --- a/keyboards/obosob/steal_this_keyboard/info.json +++ b/keyboards/obosob/steal_this_keyboard/info.json @@ -19,6 +19,7 @@ ] }, "split": { + "soft_serial_pin": "D2", "matrix_pins": { "right": { "direct": [ -- cgit v1.2.3