rules.mk 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. #
  11. # This uses usbaspbootloader
  12. # BOOTLOADER = atmel-dfu
  13. # If you don't know the bootloader type, then you can specify the
  14. # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
  15. # Teensy halfKay 512
  16. # Teensy++ halfKay 1024
  17. # Atmel DFU loader 4096
  18. # LUFA bootloader 4096
  19. # USBaspLoader 2048
  20. # OPT_DEFS += -DBOOTLOADER_SIZE=4096
  21. OPT_DEFS += -DBOOTLOADER_SIZE=2048
  22. # Flash program via avrdude, but default command is not suitable.
  23. # You can use plaid:default:program
  24. PROGRAM_CMD = avrdude -c usbasp -p m328p -U flash:w:$(BUILD_DIR)/$(TARGET).hex
  25. # disable debug code
  26. OPT_DEFS = -DDEBUG_LEVEL=0
  27. # Build Options
  28. # change yes to no to disable
  29. #
  30. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  31. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  32. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  33. CONSOLE_ENABLE = no # Console for debug(+400)
  34. COMMAND_ENABLE = no # Commands for debug and configuration
  35. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  36. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  37. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  38. NKRO_ENABLE = no # USB Nkey Rollover
  39. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
  40. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  41. MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
  42. UNICODE_ENABLE = no # Unicode
  43. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  44. AUDIO_ENABLE = no # Audio output on port C6
  45. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  46. HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
  47. LAYOUTS = ortho_4x12 planck_mit
  48. LAYOUTS_HAS_RGB = no