You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.7 KiB

  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. # Build Options
  13. # change to "no" to disable the options, or define them in the Makefile in
  14. # the appropriate keymap folder that will get included automatically
  15. #
  16. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
  17. MOUSEKEY_ENABLE = no # Mouse keys
  18. EXTRAKEY_ENABLE = no # Audio control and System control
  19. CONSOLE_ENABLE = no # Console for debug
  20. COMMAND_ENABLE = no # Commands for debug and configuration
  21. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  22. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  23. MIDI_ENABLE = no # MIDI controls
  24. AUDIO_ENABLE = no # Audio output on port C6
  25. UNICODE_ENABLE = no # Unicode
  26. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  27. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  28. SUBPROJECT_rev1 = no
  29. USE_I2C = no # i2c is not supported
  30. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  31. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  32. CUSTOM_MATRIX = yes
  33. SRC += matrix.c serial.c split_util.c
  34. # ergoinu configs
  35. DISABLE_PROMICRO_LEDs = yes
  36. ifneq ($(strip $(ERGOINU)),)
  37. ifeq ($(findstring promicroled, $(ERGOINU)), promicroled)
  38. DISABLE_PROMICRO_LEDs = no
  39. endif
  40. endif
  41. ifeq ($(strip $(DISABLE_PROMICRO_LEDs)), yes)
  42. OPT_DEFS += -DDISABLE_PROMICRO_LEDs
  43. endif