From: Don Armstrong Date: Wed, 31 Aug 2016 16:01:57 +0000 (-0700) Subject: add makefile X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3b97c03a7fb2b6f3e1e87dc54139038a18b76001;p=qmk_firmware.git add makefile --- diff --git a/keyboards/ergodox/keymaps/don/Makefile b/keyboards/ergodox/keymaps/don/Makefile new file mode 100644 index 000000000..4393ea134 --- /dev/null +++ b/keyboards/ergodox/keymaps/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