summaryrefslogtreecommitdiff
path: root/keyboards/sofle
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/sofle
parent2da0827d4ffbcba161126d6001f370e97d0172a8 (diff)
Move `SOFT_SERIAL_PIN` to data driven (#19863)
Diffstat (limited to 'keyboards/sofle')
-rwxr-xr-xkeyboards/sofle/keyhive/config.h3
-rw-r--r--keyboards/sofle/keyhive/info.json3
-rw-r--r--keyboards/sofle/rev1/config.h3
-rw-r--r--keyboards/sofle/rev1/info.json3
4 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/sofle/keyhive/config.h b/keyboards/sofle/keyhive/config.h
index 127dbc38d5..a3caf29ac4 100755
--- a/keyboards/sofle/keyhive/config.h
+++ b/keyboards/sofle/keyhive/config.h
@@ -36,9 +36,6 @@
#define TAP_CODE_DELAY 10
-// Communication between sides
-#define SOFT_SERIAL_PIN D2
-
// OLED settings
#define OLED_TIMEOUT 80000
#define OLED_BRIGHTNESS 90
diff --git a/keyboards/sofle/keyhive/info.json b/keyboards/sofle/keyhive/info.json
index ac6dd82fcd..b8e0cccbab 100644
--- a/keyboards/sofle/keyhive/info.json
+++ b/keyboards/sofle/keyhive/info.json
@@ -6,6 +6,9 @@
"pid": "0x1287",
"device_version": "0.0.2"
},
+ "split": {
+ "soft_serial_pin": "D2"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/sofle/rev1/config.h b/keyboards/sofle/rev1/config.h
index 32f4c1efca..8d928df4c6 100644
--- a/keyboards/sofle/rev1/config.h
+++ b/keyboards/sofle/rev1/config.h
@@ -15,6 +15,3 @@
#define ENCODER_RESOLUTION 2
#define TAP_CODE_DELAY 10
-
-/* communication between sides */
-#define SOFT_SERIAL_PIN D2
diff --git a/keyboards/sofle/rev1/info.json b/keyboards/sofle/rev1/info.json
index 971ef6e955..911f90ccbc 100644
--- a/keyboards/sofle/rev1/info.json
+++ b/keyboards/sofle/rev1/info.json
@@ -8,6 +8,9 @@
"pid": "0x0287",
"device_version": "0.0.1"
},
+ "split": {
+ "soft_serial_pin": "D2"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {