wip getting serial to work

This commit is contained in:
wholteza 2025-06-26 22:22:11 +02:00
parent ec0bf7c207
commit c951c6dd9f
3 changed files with 15 additions and 8 deletions

View 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

View File

@ -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",

View File

@ -0,0 +1,2 @@
SERIAL_DRIVER = vendor
BOARD = GENERIC_RP_RP2040