mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-28 03:51:15 +00:00
wip getting serial to work
This commit is contained in:
parent
ec0bf7c207
commit
c951c6dd9f
11
keyboards/5x6_split/config.h
Normal file
11
keyboards/5x6_split/config.h
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode.
|
||||||
|
#define SERIAL_USART_TX_PIN GP0 // USART TX pin
|
||||||
|
#define SERIAL_USART_RX_PIN GP1 // USART RX pin
|
||||||
|
|
||||||
|
#define SERIAL_DEBUG
|
||||||
|
|
||||||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET // Activates the double-tap behavior
|
||||||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 200U // Timeout window in ms in which the double tap can occur.
|
||||||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP25 // Specify a optional status led by GPIO number which blinks when entering the bootloader
|
@ -16,21 +16,15 @@
|
|||||||
},
|
},
|
||||||
"split": {
|
"split": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
"main": "right",
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"right": {
|
"right": {
|
||||||
"cols": ["GP10", "GP11", "GP12", "GP13", "GP14", "GP15"],
|
"cols": ["GP10", "GP11", "GP12", "GP13", "GP14", "GP15"],
|
||||||
"rows": ["GP16", "GP17", "GP18", "GP19", "GP20"]
|
"rows": ["GP16", "GP17", "GP18", "GP19", "GP20"]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"serial": {
|
|
||||||
"pin": "GP0",
|
|
||||||
"driver": "vendor"
|
|
||||||
},
|
|
||||||
"transport": {
|
|
||||||
"protocol": "serial",
|
|
||||||
},
|
|
||||||
"usb_detect": {
|
"usb_detect": {
|
||||||
"enabled": true
|
"enabled": true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"processor": "RP2040",
|
"processor": "RP2040",
|
||||||
|
2
keyboards/5x6_split/rules.mk
Normal file
2
keyboards/5x6_split/rules.mk
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SERIAL_DRIVER = vendor
|
||||||
|
BOARD = GENERIC_RP_RP2040
|
Loading…
Reference in New Issue
Block a user