config.h 465 B

123456789101112131415161718192021
  1. // Copyright 2022 QMK
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #ifndef I2C_DRIVER
  5. # define I2C_DRIVER I2CD2
  6. #endif
  7. #ifndef I2C1_SDA_PIN
  8. # define I2C1_SDA_PIN D1
  9. #endif
  10. #ifndef I2C1_SCL_PIN
  11. # define I2C1_SCL_PIN D0
  12. #endif
  13. #ifndef RP2040_BOOTLOADER_DOUBLE_TAP_RESET
  14. # define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
  15. #endif
  16. #ifndef RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT
  17. # define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
  18. #endif