rules.mk 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 # Virtual DIP switch configuration(+1000)
  17. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  18. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  19. CONSOLE_ENABLE = yes # Console for debug(+400)
  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. MIDI_ENABLE = no # MIDI controls
  24. AUDIO_ENABLE = no # Audio output on port C6
  25. UNICODE_ENABLE = no # Unicode
  26. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  27. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  28. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  29. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  30. #HARDWARE_SERIAL = yes
  31. CUSTOM_MATRIX = yes
  32. SRC += matrix.c led.c
  33. ifdef HARDWARE_SERIAL
  34. SRC += protocol/serial_uart.c
  35. OPT_DEFS += -DHARDWARE_SERIAL
  36. else
  37. SRC += protocol/serial_soft.c
  38. endif
  39. DEFAULT_FOLDER = converter/sun_usb/type5