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

@@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define QUICK_TAP_TERM 0
#define TAPPING_TERM 100
/* Soft Serial defines */
#define SOFT_SERIAL_PIN D2
#define SERIAL_SLAVE_BUFFER_LENGTH ((MATRIX_ROWS)/2)
#define SERIAL_MASTER_BUFFER_LENGTH ((MATRIX_ROWS)/2)

View File

@@ -8,6 +8,9 @@
"pid": "0x0001",
"device_version": "0.0.2"
},
"split": {
"soft_serial_pin": "D2"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE
/* Soft Serial defines */
#define SOFT_SERIAL_PIN D2
/* Select hand configuration */
#define MASTER_LEFT
// #define MASTER_RIGHT

View File

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

View File

@@ -46,11 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Dip switch on matrix grid */
#define DIP_SWITCH_MATRIX_GRID { {0,6}, {1,6}, {5,6}, {6,6} }
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
#define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6
#define RGB_DI_PIN D3
#define RGBLED_NUM 50 // Number of LEDs

View File

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

View File

@@ -46,11 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Dip switch on matrix grid */
#define DIP_SWITCH_MATRIX_GRID { {0,6}, {1,6}, {5,6}, {6,6} }
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
#define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6
#define RGB_DI_PIN D3
#define RGBLED_NUM 64 // Number of LEDs

View File

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