2
0

rules.mk 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. SRC = TWIlib.c issi.c lighting.c
  2. MCU = atmega32u4
  3. OPT_DEFS += -DBOOTLOADER_SIZE=4096
  4. F_CPU = 16000000
  5. F_USB = $(F_CPU)
  6. ARCH = AVR8
  7. # Interrupt driven control endpoint task(+60)
  8. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
  9. LAYOUTS = numpad_6x4
  10. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  11. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  12. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  13. CONSOLE_ENABLE = no # Console for debug(+400)
  14. COMMAND_ENABLE = no # Commands for debug and configuration
  15. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  16. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  17. MIDI_ENABLE = no # MIDI controls
  18. AUDIO_ENABLE = no # Audio output on port C6
  19. UNICODE_ENABLE = no # Unicode
  20. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  21. RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
  22. RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base
  23. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  24. TAP_DANCE_ENABLE = no
  25. ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
  26. WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
  27. ifeq ($(strip $(ISSI_ENABLE)), yes)
  28. TMK_COMMON_DEFS += -DISSI_ENABLE
  29. endif
  30. ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
  31. TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
  32. endif