logo

qmk_firmware

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

mcuconf.h (1148B)


  1. /*
  2. * Copyright 2020 Nick Brassel (tzarc)
  3. * Copyright 2021 Stefan Kerkmann (@KarlK90)
  4. * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #pragma once
  20. #include_next <mcuconf.h>
  21. #undef STM32_SPI_USE_SPI1
  22. #define STM32_SPI_USE_SPI1 TRUE
  23. #undef STM32_PWM_USE_TIM2
  24. #define STM32_PWM_USE_TIM2 TRUE
  25. #undef STM32_SERIAL_USE_USART1
  26. #define STM32_SERIAL_USE_USART1 TRUE
  27. #undef STM32_GPT_USE_TIM3
  28. #define STM32_GPT_USE_TIM3 TRUE
  29. #undef STM32_ST_USE_TIMER
  30. #define STM32_ST_USE_TIMER 5