2023-05-18 12:29:06 +02:00
|
|
|
// Copyright 2022 Danny Nguyen (danny@keeb.io)
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define SPLIT_HAND_PIN GP4
|
2024-02-01 13:05:29 +01:00
|
|
|
|
2023-05-18 12:29:06 +02:00
|
|
|
#define USB_VBUS_PIN GP12
|
2024-02-01 13:05:29 +01:00
|
|
|
|
2023-05-18 12:29:06 +02:00
|
|
|
#define SERIAL_USART_FULL_DUPLEX
|
|
|
|
#define SERIAL_USART_TX_PIN GP0
|
|
|
|
#define SERIAL_USART_RX_PIN GP1
|
|
|
|
#define SERIAL_USART_PIN_SWAP
|
2024-02-01 13:05:29 +01:00
|
|
|
|
2023-05-18 12:29:06 +02:00
|
|
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
|
|
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
2024-02-01 13:05:29 +01:00
|
|
|
|
2023-05-18 12:29:06 +02:00
|
|
|
#define I2C_DRIVER I2CD2
|
|
|
|
#define I2C1_SCL_PIN GP22
|
|
|
|
#define I2C1_SDA_PIN GP23
|