1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
561 changed files with 845 additions and 885 deletions

View file

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

View file

@ -2,6 +2,9 @@
"usb": {
"device_version": "1.0.1"
},
"split": {
"soft_serial_pin": "B6"
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C"