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/ai03 | |
parent | 2da0827d4ffbcba161126d6001f370e97d0172a8 (diff) |
Move `SOFT_SERIAL_PIN` to data driven (#19863)
Diffstat (limited to 'keyboards/ai03')
-rw-r--r-- | keyboards/ai03/orbit/config.h | 4 | ||||
-rw-r--r-- | keyboards/ai03/orbit/info.json | 3 | ||||
-rw-r--r-- | keyboards/ai03/orbit_x/config.h | 4 | ||||
-rw-r--r-- | keyboards/ai03/orbit_x/info.json | 3 |
4 files changed, 6 insertions, 8 deletions
diff --git a/keyboards/ai03/orbit/config.h b/keyboards/ai03/orbit/config.h index 531232b92a..79c29a77b6 100644 --- a/keyboards/ai03/orbit/config.h +++ b/keyboards/ai03/orbit/config.h @@ -36,10 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* 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 D0 // or D1, D2, D3, E6 #define SELECT_SOFT_SERIAL_SPEED 1 #define SPLIT_LED_STATE_ENABLE diff --git a/keyboards/ai03/orbit/info.json b/keyboards/ai03/orbit/info.json index 5690c56e85..c6cd6407c4 100644 --- a/keyboards/ai03/orbit/info.json +++ b/keyboards/ai03/orbit/info.json @@ -8,6 +8,9 @@ "pid": "0x0003", "device_version": "0.0.3" }, + "split": { + "soft_serial_pin": "D0" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/ai03/orbit_x/config.h b/keyboards/ai03/orbit_x/config.h index 31fc8515e9..27a383f7bb 100644 --- a/keyboards/ai03/orbit_x/config.h +++ b/keyboards/ai03/orbit_x/config.h @@ -36,10 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* 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 D0 // or D1, D2, D3, E6 #define SPLIT_HAND_PIN D5 #define SPLIT_USB_DETECT #define SPLIT_USB_TIMEOUT 2500 diff --git a/keyboards/ai03/orbit_x/info.json b/keyboards/ai03/orbit_x/info.json index ccf4c484d9..fdb26bddf4 100644 --- a/keyboards/ai03/orbit_x/info.json +++ b/keyboards/ai03/orbit_x/info.json @@ -8,6 +8,9 @@ "pid": "0x0014", "device_version": "0.0.1" }, + "split": { + "soft_serial_pin": "D0" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { |