summaryrefslogtreecommitdiff
path: root/keyboards/handwired/split65
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 16:40:49 +1100
committerGitHub <noreply@github.com>2023-02-17 16:40:49 +1100
commit8f6c228adbfec98828f0411f62bab07f96e5c020 (patch)
treee3e7c485942dd7a089b34bfb17be8ef644829f12 /keyboards/handwired/split65
parent2da0827d4ffbcba161126d6001f370e97d0172a8 (diff)
Move `SOFT_SERIAL_PIN` to data driven (#19863)
Diffstat (limited to 'keyboards/handwired/split65')
-rw-r--r--keyboards/handwired/split65/promicro/config.h2
-rw-r--r--keyboards/handwired/split65/promicro/info.json3
-rw-r--r--keyboards/handwired/split65/stm32/config.h2
-rw-r--r--keyboards/handwired/split65/stm32/info.json3
4 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/handwired/split65/promicro/config.h b/keyboards/handwired/split65/promicro/config.h
index f020bd9071..7deab0a7db 100644
--- a/keyboards/handwired/split65/promicro/config.h
+++ b/keyboards/handwired/split65/promicro/config.h
@@ -25,8 +25,6 @@
#define MATRIX_IO_DELAY 5
-// Split Keyboard specifics
-#define SOFT_SERIAL_PIN D3
#define SELECT_SOFT_SERIAL_SPEED 1
// Feature diable options
diff --git a/keyboards/handwired/split65/promicro/info.json b/keyboards/handwired/split65/promicro/info.json
index 4369a04103..81738c4d47 100644
--- a/keyboards/handwired/split65/promicro/info.json
+++ b/keyboards/handwired/split65/promicro/info.json
@@ -1,4 +1,7 @@
{
+ "split": {
+ "soft_serial_pin": "D3"
+ },
"processor": "atmega32u4",
"bootloader": "caterina"
}
diff --git a/keyboards/handwired/split65/stm32/config.h b/keyboards/handwired/split65/stm32/config.h
index a55ca198f7..483b897584 100644
--- a/keyboards/handwired/split65/stm32/config.h
+++ b/keyboards/handwired/split65/stm32/config.h
@@ -29,8 +29,6 @@
#define MATRIX_IO_DELAY 5
-// Split Keyboard specifics
-#define SOFT_SERIAL_PIN A9
#define SELECT_SOFT_SERIAL_SPEED 1
#define SERIAL_USART_DRIVER SD1
#define SERIAL_USART_TX_PAL_MODE 7
diff --git a/keyboards/handwired/split65/stm32/info.json b/keyboards/handwired/split65/stm32/info.json
index c06ffbaf06..f497c14c01 100644
--- a/keyboards/handwired/split65/stm32/info.json
+++ b/keyboards/handwired/split65/stm32/info.json
@@ -1,4 +1,7 @@
{
+ "split": {
+ "soft_serial_pin": "A9"
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C"