rules.mk 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # MCU name
  2. MCU = atmega32a
  3. # Processor frequency
  4. F_USB = 16000000
  5. # Bootloader selection
  6. # Teensy halfkay
  7. # Pro Micro caterina
  8. # Atmel DFU atmel-dfu
  9. # LUFA DFU lufa-dfu
  10. # QMK DFU qmk-dfu
  11. # ATmega32A bootloadHID
  12. # ATmega328P USBasp
  13. BOOTLOADER = USBasp
  14. # Flash program via avrdude, but default command is not suitable.
  15. # You can use coseyfannitutti/discipline:default:program
  16. PROGRAM_CMD = avrdude -c usbasp -p m32 -U flash:w:$(BUILD_DIR)/$(TARGET).hex
  17. # disable debug code
  18. OPT_DEFS = -DDEBUG_LEVEL=0
  19. # Build Options
  20. # change yes to no to disable
  21. #
  22. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  23. MOUSEKEY_ENABLE = no # Mouse keys
  24. EXTRAKEY_ENABLE = yes # Audio control and System control
  25. CONSOLE_ENABLE = no # Console for debug
  26. COMMAND_ENABLE = no # Commands for debug and configuration
  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. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  30. NKRO_ENABLE = no # USB Nkey Rollover
  31. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
  32. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  33. MIDI_ENABLE = no # MIDI support
  34. UNICODE_ENABLE = no # Unicode
  35. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  36. AUDIO_ENABLE = no # Audio output on port C6
  37. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  38. HD44780_ENABLE = no # Enable support for HD44780 based LCDs