logo

qmk_firmware

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

config.h (530B)


  1. // Copyright 2023 Cole Smith (@boardsource)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
  5. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 200U
  6. #define AUDIO_PIN GP29
  7. #define AUDIO_PWM_DRIVER PWMD6
  8. #define AUDIO_PWM_CHANNEL RP2040_PWM_CHANNEL_B
  9. #define AUDIO_INIT_DELAY
  10. // SPI Configuration
  11. #define SPI_DRIVER SPID1
  12. #define SPI_SCK_PIN GP26
  13. #define SPI_MOSI_PIN GP27
  14. // Display Configuration
  15. #define OLED_CS_PIN GP25
  16. #define OLED_DC_PIN GP20
  17. #define OLED_RST_PIN GP28