]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/crkbd/rules.mk
Merge pull request #7276 from zvecr/feature/backlight_driver_config
[qmk_firmware.git] / keyboards / crkbd / rules.mk
1 # MCU name
2 MCU = atmega32u4
3
4 # Bootloader selection
5 #   Teensy       halfkay
6 #   Pro Micro    caterina
7 #   Atmel DFU    atmel-dfu
8 #   LUFA DFU     lufa-dfu
9 #   QMK DFU      qmk-dfu
10 #   ATmega32A    bootloadHID
11 #   ATmega328P   USBasp
12 BOOTLOADER = caterina
13
14 # Build Options
15 #   change to "no" to disable the options, or define them in the Makefile in
16 #   the appropriate keymap folder that will get included automatically
17 #
18 BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration(+1000)
19 MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
20 EXTRAKEY_ENABLE = no       # Audio control and System control(+450)
21 CONSOLE_ENABLE = no         # Console for debug(+400)
22 COMMAND_ENABLE = no        # Commands for debug and configuration
23 NKRO_ENABLE = no            # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
24 BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
25 MIDI_ENABLE = no            # MIDI controls
26 AUDIO_ENABLE = no           # Audio output on port C6
27 UNICODE_ENABLE = no         # Unicode
28 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
29 RGBLIGHT_ENABLE = no       # Enable WS2812 RGB underlight.
30
31 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
32 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
33
34 CUSTOM_MATRIX = yes
35 QUANTUM_LIB_SRC +=      i2c.c \
36                                         serial.c
37 SRC += ssd1306.c
38
39 # if firmware size over limit, try this option
40 # CFLAGS += -flto
41
42 DEFAULT_FOLDER = crkbd/rev1