rules.mk 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 = caterina
  12. F_CPU = 8000000
  13. # Feather uses the caterina bootloader
  14. OPT_DEFS += -DBOOTLOADER_SIZE=4096 -DCATERINA_BOOTLOADER
  15. # Build Options
  16. # change yes to no to disable
  17. #
  18. # Build Options
  19. # change yes to no to disable
  20. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
  21. MOUSEKEY_ENABLE = yes # Mouse keys
  22. EXTRAKEY_ENABLE = yes # Audio control and System control
  23. CONSOLE_ENABLE = no # Console for debug
  24. COMMAND_ENABLE = no # Commands for debug and configuration
  25. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  26. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  27. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  28. NKRO_ENABLE = no # USB Nkey Rollover
  29. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
  30. MIDI_ENABLE = no # MIDI controls
  31. UNICODE_ENABLE = no # Unicode
  32. AUDIO_ENABLE = no # Audio output on port C6
  33. BLUETOOTH = AdafruitBLE
  34. LAYOUTS = pad
  35. RGBLIGHT_ENABLE = yes
  36. OLED_DRIVER_ENABLE = yes
  37. ENCODER_ENABLE = yes