rules.mk 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. # MCU name
  2. MCU = atmega32u4
  3. # Bootloader selection
  4. BOOTLOADER = caterina
  5. # Build Options
  6. # change to "no" to disable the options, or define them in the Makefile in
  7. # the appropriate keymap folder that will get included automatically
  8. #
  9. BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
  10. MOUSEKEY_ENABLE = no # Mouse keys
  11. EXTRAKEY_ENABLE = no # Audio control and System control
  12. CONSOLE_ENABLE = yes # Console for debug
  13. COMMAND_ENABLE = yes # Commands for debug and configuration
  14. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  15. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  16. AUDIO_ENABLE = no # Audio output
  17. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  18. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  19. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  20. #HARDWARE_SERIAL = yes
  21. CUSTOM_MATRIX = yes
  22. SRC += matrix.c
  23. ifdef HARDWARE_SERIAL
  24. # Untested with palm_usb
  25. SRC += protocol/serial_uart.c
  26. OPT_DEFS += -DHARDWARE_SERIAL
  27. else
  28. SRC += protocol/serial_soft.c
  29. endif
  30. DEFAULT_FOLDER = converter/palm_usb/stowaway