Move SOFT_SERIAL_PIN to data driven (#19863)

This commit is contained in:
Ryan
2023-02-17 16:40:49 +11:00
committed by GitHub
parent 2da0827d4f
commit 8f6c228adb
561 changed files with 845 additions and 885 deletions

View File

@@ -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

View File

@@ -1,5 +1,8 @@
{
"keyboard_name": "Dilemma (3x5+2) Assembled",
"split": {
"soft_serial_pin": "GP1"
},
"processor": "RP2040",
"bootloader": "rp2040"
}

View File

@@ -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

View File

@@ -1,5 +1,8 @@
{
"keyboard_name": "Dilemma (3x5+2) Splinky",
"split": {
"soft_serial_pin": "GP1"
},
"processor": "RP2040",
"bootloader": "rp2040"
}

View File

@@ -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.

View File

@@ -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"],