rules.mk 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # MCU name
  2. MCU = atmega32u4
  3. # Bootloader selection
  4. # Teensy halfkay
  5. # Pro Micro caterina
  6. # Atmel DFU atmel-dfu
  7. # LUFA DFU lufa-dfu
  8. # QMK DFU qmk-dfu
  9. # ATmega32A bootloadHID
  10. # ATmega328P USBasp
  11. BOOTLOADER = lufa-dfu
  12. # Build Options
  13. # change to "no" to disable the options, or define them in the Makefile in
  14. # the appropriate keymap folder that will get included automatically
  15. #
  16. BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
  17. MOUSEKEY_ENABLE = yes # Mouse keys
  18. EXTRAKEY_ENABLE = yes # Audio control and System control
  19. CONSOLE_ENABLE = yes # Console for debug
  20. COMMAND_ENABLE = yes # Commands for debug and configuration
  21. NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  22. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  23. AUDIO_ENABLE = no # Audio output on port C6
  24. UNICODE_ENABLE = no # Unicode
  25. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  26. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  27. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  28. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  29. #HARDWARE_SERIAL = yes
  30. CUSTOM_MATRIX = yes
  31. SRC += matrix.c led.c
  32. ifdef HARDWARE_SERIAL
  33. SRC += protocol/serial_uart.c
  34. OPT_DEFS += -DHARDWARE_SERIAL
  35. else
  36. SRC += protocol/serial_soft.c
  37. endif
  38. DEFAULT_FOLDER = converter/sun_usb/type5