logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (861B)


  1. // Copyright 2022 QMK
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. /**======================
  5. ** I2C Driver
  6. *========================**/
  7. #ifndef I2C_DRIVER
  8. # define I2C_DRIVER I2CD1
  9. #endif
  10. #ifndef I2C1_SDA_PIN
  11. # define I2C1_SDA_PIN D1
  12. #endif
  13. #ifndef I2C1_SCL_PIN
  14. # define I2C1_SCL_PIN D0
  15. #endif
  16. /**======================
  17. ** UART Driver
  18. *========================**/
  19. #ifndef UART_DRIVER
  20. # define UART_DRIVER SIOD0
  21. #endif
  22. #ifndef UART_TX_PIN
  23. # define UART_TX_PIN D3
  24. #endif
  25. #ifndef UART_RX_PIN
  26. # define UART_RX_PIN D2
  27. #endif
  28. /**======================
  29. ** Double-tap
  30. *========================**/
  31. #ifndef RP2040_BOOTLOADER_DOUBLE_TAP_RESET
  32. # define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
  33. #endif
  34. #ifndef RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT
  35. # define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
  36. #endif