logo

qmk_firmware

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

chconf.h (2538B)


  1. /* Copyright 2020 QMK
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. /*
  17. * This file was auto-generated by:
  18. * `qmk chibios-confmigrate -i keyboards/handwired/twadlee/tp69/chconf.h -r platforms/chibios/common/configs/chconf.h`
  19. */
  20. #pragma once
  21. #define CH_CFG_ST_FREQUENCY 1000
  22. #define CH_CFG_ST_TIMEDELTA 0
  23. #define CH_CFG_TIME_QUANTUM 20
  24. #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
  25. #define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
  26. #define CH_CFG_FACTORY_SEMAPHORES TRUE
  27. #define CH_CFG_FACTORY_MAILBOXES TRUE
  28. #define CH_CFG_FACTORY_OBJ_FIFOS TRUE
  29. #define CH_CFG_FACTORY_PIPES TRUE
  30. #define CH_DBG_SYSTEM_STATE_CHECK TRUE
  31. #define CH_DBG_ENABLE_CHECKS TRUE
  32. #define CH_DBG_ENABLE_ASSERTS TRUE
  33. #define CH_DBG_ENABLE_STACK_CHECK TRUE
  34. #define CH_DBG_FILL_THREADS TRUE
  35. #define CH_CFG_SYSTEM_EXTRA_FIELDS /* Add threads custom fields here.*/
  36. #define CH_CFG_SYSTEM_INIT_HOOK() \
  37. { /* Add threads initialization code here.*/ }
  38. #define CH_CFG_THREAD_EXTRA_FIELDS /* Add threads custom fields here.*/
  39. #define CH_CFG_THREAD_INIT_HOOK(tp) \
  40. { /* Add threads initialization code here.*/ }
  41. #define CH_CFG_THREAD_EXIT_HOOK(tp) \
  42. { /* Add threads finalization code here.*/ }
  43. #define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) \
  44. { /* Context switch code here.*/ }
  45. #define CH_CFG_IRQ_PROLOGUE_HOOK() \
  46. { /* IRQ prologue code here.*/ }
  47. #define CH_CFG_IRQ_EPILOGUE_HOOK() \
  48. { /* IRQ epilogue code here.*/ }
  49. #define CH_CFG_IDLE_ENTER_HOOK() \
  50. { /* Idle-enter code here.*/ }
  51. #define CH_CFG_IDLE_LEAVE_HOOK() \
  52. { /* Idle-leave code here.*/ }
  53. #define CH_CFG_IDLE_LOOP_HOOK() \
  54. { /* Idle loop code here.*/ }
  55. #define CH_CFG_SYSTEM_TICK_HOOK() \
  56. { /* System tick event code here.*/ }
  57. #define CH_CFG_SYSTEM_HALT_HOOK(reason) \
  58. { /* System halt code here.*/ }
  59. #define CH_CFG_TRACE_HOOK(tep) \
  60. { /* Trace code here.*/ }
  61. #include_next <chconf.h>