2022-07-06 20:27:15 +02:00
|
|
|
// Copyright 2022 QMK
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef I2C_DRIVER
|
|
|
|
# define I2C_DRIVER I2CD2
|
|
|
|
#endif
|
|
|
|
#ifndef I2C1_SDA_PIN
|
2022-07-20 19:24:34 +02:00
|
|
|
# define I2C1_SDA_PIN D1
|
2022-07-06 20:27:15 +02:00
|
|
|
#endif
|
|
|
|
#ifndef I2C1_SCL_PIN
|
2022-07-20 19:24:34 +02:00
|
|
|
# define I2C1_SCL_PIN D0
|
2022-07-06 20:27:15 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#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
|