2022-07-06 18:27:15 +00: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 17:24:34 +00:00
|
|
|
# define I2C1_SDA_PIN D1
|
2022-07-06 18:27:15 +00:00
|
|
|
#endif
|
|
|
|
#ifndef I2C1_SCL_PIN
|
2022-07-20 17:24:34 +00:00
|
|
|
# define I2C1_SCL_PIN D0
|
2022-07-06 18:27:15 +00: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
|