1 SRC += matrix.c TWIlib.c issi.c lighting.c
11 # Target architecture (see library "Board Types" documentation).
14 # Input clock frequency.
15 # This will define a symbol, F_USB, in all source code files equal to the
16 # input clock frequency (before any prescaling is performed) in Hz. This value may
17 # differ from F_CPU if prescaling is used on the latter, and is required as the
18 # raw input clock is fed directly to the PLL sections of the AVR for high speed
19 # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
20 # at the end, this will be done automatically to create a 32-bit value in your
23 # If no clock division is performed on the input clock inside the AVR (via the
24 # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
28 # This definition is optional, and if your keyboard supports multiple bootloaders of
29 # different sizes, comment this out, and the correct address will be loaded
30 # automatically (+60). See bootloader.mk for all options.
33 # Interrupt driven control endpoint task(+60)
34 OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
37 # Boot Section Size in *bytes*
39 # Teensy++ halfKay 1024
40 # Atmel DFU loader 4096
41 # LUFA bootloader 4096
43 OPT_DEFS += -DBOOTLOADER_SIZE=4096
47 # change yes to no to disable
49 BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
50 MOUSEKEY_ENABLE = no # Mouse keys(+4700)
51 EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
52 CONSOLE_ENABLE = no # Console for debug(+400)
53 COMMAND_ENABLE = no # Commands for debug and configuration
54 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
55 SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
56 # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
57 NKRO_ENABLE = no # USB Nkey Rollover
58 MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
59 UNICODE_ENABLE = no # Unicode
60 BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
61 AUDIO_ENABLE = no # Audio output on port C6
62 RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
63 FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
64 BACKLIGHT_CUSTOM_DRIVER = yes
65 BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality, also set ISSI_ENABLE below for Miera
66 ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
70 #ifeq ($(strip $(ISSI_ENABLE)), yes)
71 # TMK_COMMON_DEFS += -DISSI_ENABLE
74 #ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
75 # TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
78 DEFAULT_FOLDER = meira/promicro