]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ergodox/keymaps/don/Makefile
actually support switching the left LEDs in my keyboard
[qmk_firmware.git] / keyboards / ergodox / keymaps / don / Makefile
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 BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration(+1000)
6 MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
7 EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
8 CONSOLE_ENABLE = no         # Console for debug(+400)
9 COMMAND_ENABLE = yes        # Commands for debug and configuration
10 NKRO_ENABLE = yes           # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11 BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
12 MIDI_ENABLE = no            # MIDI controls
13 AUDIO_ENABLE = no           # Audio output on port C6
14 UNICODE_ENABLE = yes         # Unicode
15 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
16 RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.  Do not enable this with audio at the same time.
17 SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
18 ifeq ($(SUBPROJECT_DIR),'infinity')
19 VISUALIZER_ENABLE = yes
20 LCD_BACKLIGHT_ENABLE = yes
21 LCD_ENABLE = yes
22 else
23 OPT_DEFS+= -DLEFT_LEDS
24 RGBLIGHT_ENABLE = no
25 endif
26
27 dfu-util: $(BUILD_DIR)/$(TARGET).bin sizeafter
28         while true; do \
29           sudo dfu-util -l | grep -q "DFU"; \
30           if [ $$? -eq 0 ]; then \
31                   break; \
32           fi; \
33           sleep 0.1; \
34         done;
35         sudo dfu-util --device DFU -D $(BUILD_DIR)/$(TARGET).bin
36
37
38 ifndef QUANTUM_DIR
39         include ../../../../Makefile
40 endif