qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

rules.mk (2025B)


      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           # Disable keyboard backlight functionality
     13 MIDI_ENABLE = no                # MIDI controls
     14 AUDIO_ENABLE = no               # Audio output on port C6
     15 UNICODE_ENABLE = no             # Unicode
     16 BLUETOOTH_ENABLE = no           # Disable Bluetooth with the Adafruit EZ-Key HID
     17 RGBLIGHT_ENABLE = yes          	# Disable 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 = no
     21 
     22 ISSI_ENABLE = yes               # If the I2C pullup resistors aren't install this must be disabled
     23 WATCHDOG_ENABLE = no           # Resets keyboard if matrix_scan isn't run every 250ms
     24 
     25 
     26 ifeq ($(strip $(ISSI_ENABLE)), yes)
     27     TMK_COMMON_DEFS += -DISSI_ENABLE
     28 endif
     29 
     30 ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
     31     TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
     32 endif
     33 
     34 
     35 # # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired
     36 # #
     37 # # RevB - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight
     38 # # RevC/D - at90usb1286, no audio, ISSI device 0 is backlight, 4 is RGB
     39 # #
     40 # # Set to B, C or D
     41 # LFK_REV = D
     42 
     43 # ifeq ($(LFK_REV), B)
     44 # 	MCU = atmega32u4
     45 # else
     46 # 	MCU = at90usb1286
     47 # endif
     48 # OPT_DEFS += -DLFK_REV_$(LFK_REV)
     49 # OPT_DEFS += -DUSB_PRODUCT=\"LFK_Rev$(LFK_REV)\"