summaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/tbkmini
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/bastardkb/tbkmini
parent2da0827d4ffbcba161126d6001f370e97d0172a8 (diff)
Move `SOFT_SERIAL_PIN` to data driven (#19863)
Diffstat (limited to 'keyboards/bastardkb/tbkmini')
-rw-r--r--keyboards/bastardkb/tbkmini/v1/elitec/config.h3
-rw-r--r--keyboards/bastardkb/tbkmini/v1/elitec/info.json3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/elitec/config.h3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/elitec/info.json3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_2/config.h3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_2/info.json3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_3/config.h3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_3/info.json3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/stemcell/config.h3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/stemcell/info.json3
10 files changed, 15 insertions, 15 deletions
diff --git a/keyboards/bastardkb/tbkmini/v1/elitec/config.h b/keyboards/bastardkb/tbkmini/v1/elitec/config.h
index 5a9ff87efa..c17e20b3d7 100644
--- a/keyboards/bastardkb/tbkmini/v1/elitec/config.h
+++ b/keyboards/bastardkb/tbkmini/v1/elitec/config.h
@@ -27,8 +27,5 @@
/* Handedness. */
#define MASTER_RIGHT
-/* serial.c configuration (for split keyboard). */
-#define SOFT_SERIAL_PIN D0
-
/* RGB settings. */
#define RGB_DI_PIN D2
diff --git a/keyboards/bastardkb/tbkmini/v1/elitec/info.json b/keyboards/bastardkb/tbkmini/v1/elitec/info.json
index 51fc9a9a54..4fee403604 100644
--- a/keyboards/bastardkb/tbkmini/v1/elitec/info.json
+++ b/keyboards/bastardkb/tbkmini/v1/elitec/info.json
@@ -3,6 +3,9 @@
"usb": {
"device_version": "1.0.0"
},
+ "split": {
+ "soft_serial_pin": "D0"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
diff --git a/keyboards/bastardkb/tbkmini/v2/elitec/config.h b/keyboards/bastardkb/tbkmini/v2/elitec/config.h
index 1feeac092b..01ce7edc7c 100644
--- a/keyboards/bastardkb/tbkmini/v2/elitec/config.h
+++ b/keyboards/bastardkb/tbkmini/v2/elitec/config.h
@@ -26,8 +26,5 @@
/* Handedness. */
#define MASTER_RIGHT
-/* serial.c configuration (for split keyboard). */
-#define SOFT_SERIAL_PIN D2
-
/* RGB settings. */
#define RGB_DI_PIN D3
diff --git a/keyboards/bastardkb/tbkmini/v2/elitec/info.json b/keyboards/bastardkb/tbkmini/v2/elitec/info.json
index 83964b727f..d91729481f 100644
--- a/keyboards/bastardkb/tbkmini/v2/elitec/info.json
+++ b/keyboards/bastardkb/tbkmini/v2/elitec/info.json
@@ -3,6 +3,9 @@
"usb": {
"device_version": "2.0.0"
},
+ "split": {
+ "soft_serial_pin": "D2"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h b/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h
index ed0b4a6a54..d5da5febdf 100644
--- a/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h
+++ b/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h
@@ -31,9 +31,6 @@
// #define SPLIT_HAND_PIN GP13
// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
-/* serial.c configuration (for split keyboard). */
-#define SOFT_SERIAL_PIN GP1
-
/* RGB settings. */
#define RGB_DI_PIN GP0
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_2/info.json b/keyboards/bastardkb/tbkmini/v2/splinky_2/info.json
index 63b44040ae..870f9db26e 100644
--- a/keyboards/bastardkb/tbkmini/v2/splinky_2/info.json
+++ b/keyboards/bastardkb/tbkmini/v2/splinky_2/info.json
@@ -3,6 +3,9 @@
"usb": {
"device_version": "2.0.0"
},
+ "split": {
+ "soft_serial_pin": "GP1"
+ },
"processor": "RP2040",
"bootloader": "rp2040"
}
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h b/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h
index 849fcec968..8d60f74a6f 100644
--- a/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h
+++ b/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h
@@ -31,9 +31,6 @@
// #define SPLIT_HAND_PIN GP15
// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
-/* serial.c configuration (for split keyboard). */
-#define SOFT_SERIAL_PIN GP1
-
/* RGB settings. */
#define RGB_DI_PIN GP0
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_3/info.json b/keyboards/bastardkb/tbkmini/v2/splinky_3/info.json
index 63b44040ae..870f9db26e 100644
--- a/keyboards/bastardkb/tbkmini/v2/splinky_3/info.json
+++ b/keyboards/bastardkb/tbkmini/v2/splinky_3/info.json
@@ -3,6 +3,9 @@
"usb": {
"device_version": "2.0.0"
},
+ "split": {
+ "soft_serial_pin": "GP1"
+ },
"processor": "RP2040",
"bootloader": "rp2040"
}
diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/config.h b/keyboards/bastardkb/tbkmini/v2/stemcell/config.h
index 0c66a8075b..e40513cae8 100644
--- a/keyboards/bastardkb/tbkmini/v2/stemcell/config.h
+++ b/keyboards/bastardkb/tbkmini/v2/stemcell/config.h
@@ -32,9 +32,6 @@
// #define SPLIT_HAND_PIN A0
// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
-/* serial.c configuration (for split keyboard). */
-#define SOFT_SERIAL_PIN D2
-
/* RGB settings. */
#define RGB_DI_PIN D3
#define WS2812_PWM_DRIVER PWMD2
diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/info.json b/keyboards/bastardkb/tbkmini/v2/stemcell/info.json
index a07d65bdd3..f8901144af 100644
--- a/keyboards/bastardkb/tbkmini/v2/stemcell/info.json
+++ b/keyboards/bastardkb/tbkmini/v2/stemcell/info.json
@@ -3,6 +3,9 @@
"usb": {
"device_version": "2.0.0"
},
+ "split": {
+ "soft_serial_pin": "D2"
+ },
"processor": "STM32F411",
"bootloader": "stm32-dfu"
}