summaryrefslogtreecommitdiff
path: root/platforms/chibios/boards/QMK_PM2040/configs/config.h
blob: 8c773f8b193281cea04c15cbaf08ad0210179b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 D1
#endif
#ifndef I2C1_SCL_PIN
#    define I2C1_SCL_PIN D0
#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