rules.mk 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # MCU name
  2. MCU = atmega328p
  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 = USBasp
  12. # Flash program via avrdude, but default command is not suitable.
  13. # You can use plaid:default:program
  14. PROGRAM_CMD = avrdude -c usbasp -p m328p -U flash:w:$(BUILD_DIR)/$(TARGET).hex
  15. # disable debug code
  16. OPT_DEFS = -DDEBUG_LEVEL=0
  17. # Build Options
  18. # change yes to no to disable
  19. #
  20. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  21. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  22. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  23. CONSOLE_ENABLE = no # Console for debug(+400)
  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. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  31. MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
  32. UNICODE_ENABLE = no # Unicode
  33. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  34. AUDIO_ENABLE = no # Audio output on port C6
  35. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  36. HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
  37. LAYOUTS = ortho_4x12 planck_mit
  38. LAYOUTS_HAS_RGB = no