rules.mk 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # MCU name
  2. MCU = MK20DX256
  3. # Bootloader selection
  4. BOOTLOADER = kiibohd
  5. # Build Options
  6. # comment out to disable the options.
  7. #
  8. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
  9. MOUSEKEY_ENABLE = yes # Mouse keys
  10. EXTRAKEY_ENABLE = yes # Audio control and System control
  11. CONSOLE_ENABLE = no # Console for debug
  12. COMMAND_ENABLE = yes # Commands for debug and configuration
  13. CUSTOM_MATRIX = yes # Custom matrix file for the ErgoDox EZ
  14. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  15. NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  16. UNICODE_ENABLE = yes # Unicode
  17. SWAP_HANDS_ENABLE= yes # Allow swapping hands of keyboard
  18. CUSTOM_MATRIX = yes # Custom matrix file
  19. SERIAL_LINK_ENABLE = yes
  20. VISUALIZER_ENABLE = yes
  21. LCD_ENABLE = yes
  22. LCD_BACKLIGHT_ENABLE = yes
  23. MIDI_ENABLE = no
  24. RGBLIGHT_ENABLE = no
  25. LCD_DRIVER = st7565
  26. LCD_WIDTH = 128
  27. LCD_HEIGHT = 32
  28. LED_MATRIX_ENABLE = yes
  29. LED_MATRIX_DRIVER = IS31FL3731
  30. # project specific files
  31. SRC = matrix.c \
  32. led.c
  33. LAYOUTS = ergodox