18 lines
440 B
C
18 lines
440 B
C
// Copyright 2022 Danny Nguyen (danny@keeb.io)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#define USB_VBUS_PIN GP12
|
|
|
|
#define SERIAL_USART_FULL_DUPLEX
|
|
#define SERIAL_USART_TX_PIN GP0
|
|
#define SERIAL_USART_RX_PIN GP1
|
|
#define SERIAL_USART_PIN_SWAP
|
|
|
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
|
|
|
#define I2C_DRIVER I2CD2
|
|
#define I2C1_SCL_PIN GP22
|
|
#define I2C1_SDA_PIN GP23
|