From fde8b182aadb0b66acf2c3ac73466cdd1041738b Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 31 Aug 2016 09:01:57 -0700 Subject: [PATCH] add makefile --- layouts/community/ergodox/don/Makefile | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 layouts/community/ergodox/don/Makefile diff --git a/layouts/community/ergodox/don/Makefile b/layouts/community/ergodox/don/Makefile new file mode 100644 index 000000000..4393ea134 --- /dev/null +++ b/layouts/community/ergodox/don/Makefile @@ -0,0 +1,35 @@ +# Build Options +# change to "no" to disable the options, or define them in the Makefile in +# the appropriate keymap folder that will get included automatically +# +BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) +MOUSEKEY_ENABLE = yes # Mouse keys(+4700) +EXTRAKEY_ENABLE = yes # Audio control and System control(+450) +CONSOLE_ENABLE = no # Console for debug(+400) +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +MIDI_ENABLE = no # MIDI controls +AUDIO_ENABLE = no # Audio output on port C6 +UNICODE_ENABLE = yes # Unicode +BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID +RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +VISUALIZER_ENABLE = yes +LCD_BACKLIGHT_ENABLE = yes +LCD_ENABLE = yes + +dfu-util: $(BUILD_DIR)/$(TARGET).bin sizeafter + while true; do \ + sudo dfu-util -l | grep -q "DFU"; \ + if [ $$? -eq 0 ]; then \ + break; \ + fi; \ + sleep 0.1; \ + done; + sudo dfu-util -D $(BUILD_DIR)/$(TARGET).bin + + +ifndef QUANTUM_DIR + include ../../../../Makefile +endif -- 2.39.5