Move SOFT_SERIAL_PIN
to data driven (#19863)
This commit is contained in:
parent
2da0827d4f
commit
8f6c228adb
561 changed files with 845 additions and 885 deletions
|
@ -14,15 +14,9 @@
|
|||
|
||||
/* serial.c configuration for split keyboard */
|
||||
#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode.
|
||||
/*
|
||||
Because the rev1 config defines SOFT_SERIAL_PIN, we need to undef it, redefine it, and also assign
|
||||
it to avoid a redefine error.
|
||||
*/
|
||||
#undef SOFT_SERIAL_PIN
|
||||
#define SOFT_SERIAL_PIN B6 // USART TX pin
|
||||
|
||||
#define SERIAL_USART_RX_PIN B7 // USART RX pin
|
||||
#define SERIAL_USART_TX_PIN SOFT_SERIAL_PIN // USART TX pin
|
||||
#define SERIAL_USART_TX_PIN B6 // USART TX pin
|
||||
|
||||
#define SERIAL_USART_PIN_SWAP // Swap TX and RX pins if keyboard is master halve.
|
||||
// Check if this feature is necessary with your keyboard design and available on the mcu.
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
"usb": {
|
||||
"device_version": "1.0.1"
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "B6"
|
||||
},
|
||||
"processor": "STM32F303",
|
||||
"bootloader": "stm32-dfu",
|
||||
"board": "QMK_PROTON_C"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue