]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
add makefile
authorDon Armstrong <don@donarmstrong.com>
Wed, 31 Aug 2016 16:01:57 +0000 (09:01 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 20 Apr 2017 17:32:06 +0000 (12:32 -0500)
keyboards/ergodox/keymaps/don/Makefile [new file with mode: 0644]

diff --git a/keyboards/ergodox/keymaps/don/Makefile b/keyboards/ergodox/keymaps/don/Makefile
new file mode 100644 (file)
index 0000000..4393ea1
--- /dev/null
@@ -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