qmk_firmware/platforms/chibios/boards/QMK_BLOK/configs/config.h

46 lines
861 B
C

// Copyright 2022 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/**======================
** I2C Driver
*========================**/
#ifndef I2C_DRIVER
# define I2C_DRIVER I2CD0
#endif
#ifndef I2C1_SDA_PIN
# define I2C1_SDA_PIN D1
#endif
#ifndef I2C1_SCL_PIN
# define I2C1_SCL_PIN D0
#endif
/**======================
** UART Driver
*========================**/
#ifndef UART_DRIVER
# define UART_DRIVER SIOD0
#endif
#ifndef UART_TX_PIN
# define UART_TX_PIN D3
#endif
#ifndef UART_RX_PIN
# define UART_RX_PIN D2
#endif
/**======================
** Double-tap
*========================**/
#ifndef RP2040_BOOTLOADER_DOUBLE_TAP_RESET
# define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#endif
#ifndef RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT
# define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
#endif