logo

qmk_firmware

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

config.h (642B)


  1. // Copyright 2018-2022 Nick Brassel (@tzarc)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. // Split configuration
  5. #ifdef USE_PLUG_DETECT_PIN
  6. # define USB_VBUS_PIN B12
  7. #endif
  8. #define SERIAL_USART_DRIVER SD3
  9. #define SERIAL_USART_TX_PAL_MODE 7
  10. #ifndef SERIAL_USART_SPEED
  11. # define SERIAL_USART_SPEED 640000
  12. #endif // SERIAL_USART_SPEED
  13. // RGB configuration
  14. #define RGB_POWER_ENABLE_PIN B1
  15. #define RGB_CURR_1500mA_OK_PIN B0
  16. #define RGB_CURR_3000mA_OK_PIN C5
  17. // EEPROM configuration
  18. #define EEPROM_SPI_MB85RS64V
  19. #define EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN B5
  20. #define EXTERNAL_EEPROM_SPI_CLOCK_DIVISOR 8 // (160MHz/8) => 20MHz