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

@@ -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": [