rules.mk 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. # comment out to disable the options.
  13. #
  14. BOOTMAGIC_ENABLE = no # 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. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  20. NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  21. UNICODE_ENABLE = yes # Unicode
  22. SWAP_HANDS_ENABLE= yes # Allow swapping hands of keyboard
  23. RGBLIGHT_ENABLE = no
  24. SPLIT_KEYBOARD = yes
  25. SERIAL_DRIVER = usart
  26. ST7565_ENABLE = yes
  27. LED_MATRIX_ENABLE = yes
  28. LED_MATRIX_DRIVER = IS31FL3731
  29. # Config for Visualizer (set VISUALIZER_ENABLE = yes and ST7565_ENABLE = no to use)
  30. LCD_ENABLE = yes
  31. LCD_BACKLIGHT_ENABLE = yes
  32. LCD_DRIVER = st7565
  33. LCD_WIDTH = 128
  34. LCD_HEIGHT = 32
  35. LAYOUTS = ergodox