diff --git a/keyboards/5x6_split/config.h b/keyboards/5x6_split/config.h new file mode 100644 index 00000000000..c9e36f08dc0 --- /dev/null +++ b/keyboards/5x6_split/config.h @@ -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 diff --git a/keyboards/5x6_split/keyboard.json b/keyboards/5x6_split/keyboard.json index 0254d5ca5f7..ed151530485 100644 --- a/keyboards/5x6_split/keyboard.json +++ b/keyboards/5x6_split/keyboard.json @@ -16,21 +16,15 @@ }, "split": { "enabled": true, + "main": "right", "matrix_pins": { "right": { "cols": ["GP10", "GP11", "GP12", "GP13", "GP14", "GP15"], "rows": ["GP16", "GP17", "GP18", "GP19", "GP20"] }, }, - "serial": { - "pin": "GP0", - "driver": "vendor" - }, - "transport": { - "protocol": "serial", - }, "usb_detect": { - "enabled": true + "enabled": true, } }, "processor": "RP2040", diff --git a/keyboards/5x6_split/rules.mk b/keyboards/5x6_split/rules.mk new file mode 100644 index 00000000000..d14e9f7aae7 --- /dev/null +++ b/keyboards/5x6_split/rules.mk @@ -0,0 +1,2 @@ +SERIAL_DRIVER = vendor +BOARD = GENERIC_RP_RP2040