rules.mk 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # MCU name
  2. MCU = MK20DX256
  3. # Bootloader selection
  4. BOOTLOADER = kiibohd
  5. # Board: it should exist either in <chibios>/os/hal/boards/
  6. # or <this_dir>/boards
  7. # This board was copied from PJRC_TEENSY_3_1. The only difference should be a
  8. # hack to ensure the watchdog has started before trying to disable it, and an
  9. # override to disable restart of USB driver after returning from suspend.
  10. BOARD = IC_TEENSY_3_1
  11. # Build Options
  12. # change yes to no to disable
  13. #
  14. BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
  15. MOUSEKEY_ENABLE = yes # Mouse keys
  16. EXTRAKEY_ENABLE = yes # Audio control and System control
  17. CONSOLE_ENABLE = no # Console for debug
  18. COMMAND_ENABLE = yes # Commands for debug and configuration
  19. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  20. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  21. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  22. NKRO_ENABLE = yes # USB Nkey Rollover
  23. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  24. BLUETOOTH_ENABLE = no # Enable Bluetooth
  25. AUDIO_ENABLE = no # Audio output
  26. LED_MATRIX_ENABLE = yes
  27. LED_MATRIX_DRIVER = IS31FL3731
  28. LAYOUTS = 65_ansi 65_ansi_blocker 65_ansi_blocker_split_bs 65_iso 65_iso_blocker 65_iso_blocker_split_bs
  29. # Enter lower-power sleep mode when on the ChibiOS idle thread
  30. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE