]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/lfkeyboards/mini1800/keymaps/ca178858/rules.mk
Fix the LFKeyboards so they work with the QMK Configurator (#4591)
[qmk_firmware.git] / keyboards / lfkeyboards / mini1800 / keymaps / ca178858 / rules.mk
1 # Build Options
2 #   change to "no" to disable the options, or define them in the Makefile in
3 #   the appropriate keymap folder that will get included automatically
4 #
5
6 BOOTMAGIC_ENABLE = no           # Virtual DIP switch configuration(+1000)
7 MOUSEKEY_ENABLE = no            # Mouse keys(+4700)
8 EXTRAKEY_ENABLE = yes           # Audio control and System control(+450)
9 CONSOLE_ENABLE = no             # Console for debug(+400)
10 COMMAND_ENABLE = no             # Commands for debug and configuration
11 NKRO_ENABLE = yes               # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
12 BACKLIGHT_ENABLE = yes           # Enable keyboard backlight functionality
13 MIDI_ENABLE = no                # MIDI controls
14 AUDIO_ENABLE = yes              # Audio output on port C6
15 UNICODE_ENABLE = no             # Unicode
16 BLUETOOTH_ENABLE = no           # Enable Bluetooth with the Adafruit EZ-Key HID
17 RGBLIGHT_ENABLE = yes           # Enable RGB underlight
18 RGBLIGHT_CUSTOM_DRIVER = yes    # RGB code is implemented in lefkeyboards, not WS2812
19 SLEEP_LED_ENABLE = yes          # Breathing sleep LED during USB suspend
20 TAP_DANCE_ENABLE = yes
21
22 ISSI_ENABLE = yes                       # If the I2C pullup resistors aren't install this must be disabled
23 WATCHDOG_ENABLE = yes           # Resets keyboard if matrix_scan isn't run every 250ms
24
25
26
27 ifeq ($(strip $(ISSI_ENABLE)), yes)
28     TMK_COMMON_DEFS += -DISSI_ENABLE
29 endif
30
31 ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
32     TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
33 endif
34
35
36 # # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired
37 # #
38 # # RevB - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight
39 # # RevC/D - at90usb1286, no audio, ISSI device 0 is backlight, 4 is RGB
40 # #
41 # # Set to B, C or D
42 # LFK_REV = D
43
44 # ifeq ($(LFK_REV), B)
45 #       MCU = atmega32u4
46 # else
47 #       MCU = at90usb1286
48 # endif
49 # OPT_DEFS += -DLFK_REV_$(LFK_REV)
50 # OPT_DEFS += -DUSB_PRODUCT=\"LFK_Rev$(LFK_REV)\"