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

@@ -42,11 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
/* Set 0 if debouncing isn't needed */
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
#define EE_HANDS
//#define SPLIT_HAND_PIN B7

View File

@@ -12,6 +12,7 @@
"matrix": [0, 6]
},
"split": {
"soft_serial_pin": "D0",
"bootmagic": {
"matrix": [5, 0]
}

View File

@@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Pro Micro Pins RX1
#define SPLIT_HAND_PIN D2
// Pro Micro Pins RX1
#define SOFT_SERIAL_PIN D0
#define DIODE_DIRECTION COL2ROW
#define LOCKING_SUPPORT_ENABLE

View File

@@ -8,6 +8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -8,6 +8,9 @@
"pid": "0x3536",
"device_version": "0.0.3"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["split_3x5_3"],

View File

@@ -8,6 +8,9 @@
"pid": "0x3435",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -8,6 +8,9 @@
"pid": "0x3435",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -8,6 +8,9 @@
"pid": "0x3436",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -8,6 +8,9 @@
"pid": "0x3436",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -8,6 +8,9 @@
"pid": "0x3536",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.3"
},
"split": {
"soft_serial_pin": "D0",
"bootmagic": {
"matrix": [6, 5]
}

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.2"
},
"split": {
"soft_serial_pin": "D0",
"bootmagic": {
"matrix": [6, 5]
}

View File

@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#undef SOFT_SERIAL_PIN
#define SOFT_SERIAL_PIN D3
// wiring of each half
#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
#define MATRIX_ROW_PINS { F5, F6, F7, B1, B3, B2, B6 }

View File

@@ -8,6 +8,9 @@
"pid": "0x3536",
"device_version": "0.0.3"
},
"split": {
"soft_serial_pin": "D3"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -10,6 +10,9 @@
"pid": "0x0016",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
"rows": ["F6", "F7", "B1", "B3", "B2", "B6"]

View File

@@ -8,6 +8,9 @@
"pid": "0x3537",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -16,9 +16,6 @@
#pragma once
#undef SOFT_SERIAL_PIN
#define MATRIX_ROW_PINS { B12, B13, B14, B15, A8 , A9, A10}
#define MATRIX_COL_PINS { B1, B0, A7, A6, A5, A4}
/* COL2ROW, ROW2COL */
@@ -31,9 +28,8 @@
/* connection */
#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode.
#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 SELECT_SOFT_SERIAL_SPEED 1 // or 0, 2, 3, 4, 5
// 0: 460800 baud

View File

@@ -1,5 +1,6 @@
{
"split": {
"soft_serial_pin": "B6",
"bootmagic": {
"matrix": [7, 0]
}

View File

@@ -1,4 +1,7 @@
{
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina"
}

View File

@@ -8,6 +8,9 @@
"pid": "0x3636",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -8,6 +8,9 @@
"pid": "0x3636",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -8,6 +8,9 @@
"pid": "0x3636",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -10,6 +10,9 @@
"pid": "0x3632",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"layouts": {
"LAYOUT_62key": {
"layout": [

View File

@@ -32,9 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,9 @@
"pid": "0x3060",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* layer config */
#define TAPPING_TOGGLE 1
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

@@ -8,6 +8,9 @@
"pid": "0x3060",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -25,10 +25,6 @@ Copyright 2021 Yaroslav Smirnov <elorenn@bk.ru>
#define DIODE_DIRECTION COL2ROW
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
/* disable debug print */
// #define NO_DEBUG

View File

@@ -8,6 +8,9 @@
"pid": "0x3436",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
/* ws2812 RGB LED */
#define RGB_DI_PIN D4
#if !defined(RGBLED_NUM)

View File

@@ -8,6 +8,9 @@
"pid": "0x0602",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"debounce": 3,

View File

@@ -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
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */

View File

@@ -8,6 +8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -32,9 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,9 @@
"pid": "0x3061",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -9,7 +9,6 @@
// Comunication and Split Detection
#define SOFT_SERIAL_PIN D3
#define SELECT_SOFT_SERIAL_SPEED 1
#define SPLIT_USB_DETECT
#define EE_HANDS

View File

@@ -8,6 +8,9 @@
"pid": "0x6060",
"device_version": "1.0.0"
},
"split": {
"soft_serial_pin": "D3"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"debounce": 0,

View File

@@ -25,11 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D7, E6, B4, B5 }
#define MATRIX_COL_PINS { B6, B2, B3, B1, F7, D4 }
/*
* 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 EE_HANDS
#define MASTER_LEFT

View File

@@ -8,6 +8,9 @@
"pid": "0x3060",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -1,4 +1 @@
#pragma once
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0

View File

@@ -8,6 +8,9 @@
"pid": "0x0C60",
"device_version": "1.0.0"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -18,9 +18,6 @@
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,9 @@
"pid": "0x3060",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -25,8 +25,6 @@
#define MATRIX_IO_DELAY 5
// Split Keyboard specifics
#define SOFT_SERIAL_PIN D3
#define SELECT_SOFT_SERIAL_SPEED 1
// Feature diable options

View File

@@ -1,4 +1,7 @@
{
"split": {
"soft_serial_pin": "D3"
},
"processor": "atmega32u4",
"bootloader": "caterina"
}

View File

@@ -29,8 +29,6 @@
#define MATRIX_IO_DELAY 5
// Split Keyboard specifics
#define SOFT_SERIAL_PIN A9
#define SELECT_SOFT_SERIAL_SPEED 1
#define SERIAL_USART_DRIVER SD1
#define SERIAL_USART_TX_PAL_MODE 7

View File

@@ -1,4 +1,7 @@
{
"split": {
"soft_serial_pin": "A9"
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C"

View File

@@ -41,12 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* handedness */
/*
* 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
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -24,7 +24,6 @@
#define MATRIX_ROW_PINS { B3 }
#define MATRIX_COL_PINS { B6 }
#define SPLIT_HAND_PIN F6
#define SOFT_SERIAL_PIN D1
/* ws2812 RGB LED */
#define RGB_DI_PIN D3

View File

@@ -1,4 +1,7 @@
{
"split": {
"soft_serial_pin": "D1"
},
"processor": "atmega32u4",
"bootloader": "caterina"
}

View File

@@ -24,7 +24,6 @@
#define MATRIX_ROW_PINS { F5 }
#define MATRIX_COL_PINS { F7 }
#define SPLIT_HAND_PIN F0
#define SOFT_SERIAL_PIN D1
/* ws2812 RGB LED */
#define RGB_DI_PIN D3

View File

@@ -1,4 +1,7 @@
{
"split": {
"soft_serial_pin": "D1"
},
"processor": "atmega32u4",
"bootloader": "halfkay"
}

View File

@@ -8,6 +8,9 @@
"pid": "0x6063",
"device_version": "1.0.0"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -28,10 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -44,11 +44,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
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -1,5 +1,8 @@
{
"keyboard_name": "Symmetric70 prototype promicro",
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina"
}

View File

@@ -49,8 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DYNAMIC_KEYMAP_LAYER_COUNT 16
#define LAYER_STATE_16BIT
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D3
#define EE_HANDS
/* disable action features */

View File

@@ -7,6 +7,7 @@
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D3",
"bootmagic": {
"matrix": [4, 5]
}

View File

@@ -28,9 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
/* serial.c configuration for split keyboard */
//#undef USE_I2C
#define SOFT_SERIAL_PIN D0
#define MASTER_RIGHT
/* PMW3360 Settings */

View File

@@ -1,5 +1,8 @@
{
"keyboard_name": "Tractyl Manuform(5x6) Arduino Micro (r)/ Pro Micro (l)",
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina"
}

View File

@@ -36,8 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_PIN C6
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D2
#define EE_HANDS
#define ENCODERS_PAD_A \

View File

@@ -1,5 +1,8 @@
{
"keyboard_name": "Tractyl Manuform (5x6) Elite-C",
"split": {
"soft_serial_pin": "D2"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}

View File

@@ -40,8 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_PIN C6
#define AUDIO_PIN_ALT B7
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D2
#define EE_HANDS
#define ENCODERS_PAD_A \

View File

@@ -1,5 +1,8 @@
{
"keyboard_name": "Tractyl Manuform (5x6) Teensy 2.0++",
"split": {
"soft_serial_pin": "D2"
},
"processor": "at90usb1286",
"bootloader": "halfkay"
}

View File

@@ -30,12 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or 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
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,9 @@
"pid": "0x3060",
"device_version": "0.0.1"
},
"split": {
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {