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/bastardkb/dilemma | |
parent | 2da0827d4ffbcba161126d6001f370e97d0172a8 (diff) |
Move `SOFT_SERIAL_PIN` to data driven (#19863)
Diffstat (limited to 'keyboards/bastardkb/dilemma')
6 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/bastardkb/dilemma/3x5_2/assembled/config.h b/keyboards/bastardkb/dilemma/3x5_2/assembled/config.h index 8420898f4e..3a5898c546 100644 --- a/keyboards/bastardkb/dilemma/3x5_2/assembled/config.h +++ b/keyboards/bastardkb/dilemma/3x5_2/assembled/config.h @@ -27,9 +27,6 @@ #define SPLIT_HAND_PIN GP29 #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* serial.c configuration (for split keyboard). */ -#define SOFT_SERIAL_PIN GP1 - /* CRC. */ #define CRC8_USE_TABLE #define CRC8_OPTIMIZE_SPEED diff --git a/keyboards/bastardkb/dilemma/3x5_2/assembled/info.json b/keyboards/bastardkb/dilemma/3x5_2/assembled/info.json index eec856a51f..e4f48e6c7e 100644 --- a/keyboards/bastardkb/dilemma/3x5_2/assembled/info.json +++ b/keyboards/bastardkb/dilemma/3x5_2/assembled/info.json @@ -1,5 +1,8 @@ { "keyboard_name": "Dilemma (3x5+2) Assembled", + "split": { + "soft_serial_pin": "GP1" + }, "processor": "RP2040", "bootloader": "rp2040" } diff --git a/keyboards/bastardkb/dilemma/3x5_2/splinky/config.h b/keyboards/bastardkb/dilemma/3x5_2/splinky/config.h index 4ac28ed1f9..67e9646845 100644 --- a/keyboards/bastardkb/dilemma/3x5_2/splinky/config.h +++ b/keyboards/bastardkb/dilemma/3x5_2/splinky/config.h @@ -33,9 +33,6 @@ // left one, uncomment the following line. //#define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* serial.c configuration (for split keyboard). */ -#define SOFT_SERIAL_PIN GP1 - /* CRC. */ #define CRC8_USE_TABLE #define CRC8_OPTIMIZE_SPEED diff --git a/keyboards/bastardkb/dilemma/3x5_2/splinky/info.json b/keyboards/bastardkb/dilemma/3x5_2/splinky/info.json index 4944cc2090..aec0957ed6 100644 --- a/keyboards/bastardkb/dilemma/3x5_2/splinky/info.json +++ b/keyboards/bastardkb/dilemma/3x5_2/splinky/info.json @@ -1,5 +1,8 @@ { "keyboard_name": "Dilemma (3x5+2) Splinky", + "split": { + "soft_serial_pin": "GP1" + }, "processor": "RP2040", "bootloader": "rp2040" } diff --git a/keyboards/bastardkb/dilemma/3x5_3/config.h b/keyboards/bastardkb/dilemma/3x5_3/config.h index 985d622fb6..a30b98a10a 100644 --- a/keyboards/bastardkb/dilemma/3x5_3/config.h +++ b/keyboards/bastardkb/dilemma/3x5_3/config.h @@ -27,9 +27,6 @@ #define SPLIT_HAND_PIN GP29 #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 // Per-key. // #define RGB_DI_PIN GP10 // Underglow. diff --git a/keyboards/bastardkb/dilemma/3x5_3/info.json b/keyboards/bastardkb/dilemma/3x5_3/info.json index 0b7332e236..a4fe592587 100644 --- a/keyboards/bastardkb/dilemma/3x5_3/info.json +++ b/keyboards/bastardkb/dilemma/3x5_3/info.json @@ -4,6 +4,9 @@ "device_version": "2.0.0", "pid": "0x1835" }, + "split": { + "soft_serial_pin": "GP1" + }, "processor": "RP2040", "bootloader": "rp2040", "community_layouts": ["split_3x5_3"], |