config.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* Copyright 2021 kuenhlee, Don Kjer, Tyler Tidman
  2. * Copyright 2021 Simon Arlott
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. #define WAIT_US_TIMER GPTD3
  19. #define MATRIX_ROW_PINS { A0, A1, A2, A3, A4, A5, A6, A7 }
  20. #define MATRIX_COL_PINS { C4, C5, B0, B1, B2, B10, B11, B12, B13, B14, B15, C6, C7, C10, C11, C12 }
  21. /* COL2ROW, ROW2COL*/
  22. #define DIODE_DIRECTION ROW2COL
  23. // Dynamic EEPROM
  24. // Something sensible or else VIA may crash
  25. // Users may enable more if they wish
  26. #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 4095
  27. #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
  28. /* LED indicator pins */
  29. #define LED_WIN_LOCK_PIN A9
  30. #define LED_MR_LOCK_PIN A10
  31. /* Original hardware "reset" button on pin D2 */
  32. #define HARDWARE_RESET_PIN D2