Add kb2040 and sparkfun rp2040 converters (#17514)

This commit is contained in:
Joel Challis
2022-07-06 19:27:15 +01:00
committed by GitHub
parent 29a2bac469
commit 744af003be
12 changed files with 265 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
// 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
# define I2C1_SDA_PIN D2
#endif
#ifndef I2C1_SCL_PIN
# define I2C1_SCL_PIN D3
#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