rules.mk 917 B

1234567891011121314151617181920212223242526
  1. # Processor frequency
  2. F_CPU = 8000000
  3. SRC += usart.c \
  4. ble.c \
  5. main.c
  6. OPT_DEFS += -DPROTOCOL_BLE
  7. OPT_DEFS += -DUART_RX1_BUFFER_SIZE=16 -DUART_TX1_BUFFER_SIZE=16
  8. OPT_DEFS += -DUSART1_ENABLED
  9. # Build Options
  10. # change yes to no to disable
  11. #
  12. BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
  13. MOUSEKEY_ENABLE = no # Mouse keys
  14. EXTRAKEY_ENABLE = yes # Audio control and System control
  15. CONSOLE_ENABLE = no # Console for debug
  16. COMMAND_ENABLE = yes # Commands for debug and configuration
  17. NKRO_ENABLE = no # Enable N-Key Rollover
  18. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
  19. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  20. AUDIO_ENABLE = no # Audio output
  21. LTO_ENABLE = yes # Reduce firmware size
  22. VIA_ENABLE = yes # VIA support should be enabled here due to the main() loop will be compiled first.