logo

qmk_firmware

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

config.h (730B)


  1. // Copyright 2022 Stefan Kerkmann
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #define QMK_WAITING_TEST_BUSY_PIN GP8
  5. #define QMK_WAITING_TEST_YIELD_PIN GP9
  6. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
  7. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP25
  8. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
  9. // settings for the oled keyboard demo with Adafruit 0.91" OLED display on the Stemma QT port
  10. #define OLED_DISPLAY_128X32
  11. #define I2C_DRIVER I2CD0
  12. #define I2C1_SDA_PIN GP12
  13. #define I2C1_SCL_PIN GP13
  14. /* LCD configs */
  15. #define LCD_RST_PIN GP0
  16. #define LCD_DC_PIN GP1
  17. #define LCD_CS_PIN GP2
  18. /* SPI pins */
  19. #define SPI_DRIVER SPID0
  20. #define SPI_SCK_PIN GP18
  21. #define SPI_MOSI_PIN GP19
  22. #define SPI_MISO_PIN GP20