]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/hhkb/Makefile.lufa
Fix debug code of serial_soft.c
[max/tmk_keyboard.git] / keyboard / hhkb / Makefile.lufa
index cdd68f40abcfe02c2eb95e5a013dc8cbf24810b0..afd413d019561b63a69693a8a67e36d1eeb579a0 100644 (file)
@@ -93,12 +93,16 @@ ARCH = AVR8
 #     CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
 F_USB = $(F_CPU)
 
+# Interrupt driven control endpoint task
+OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
+
 
 # Build Options
 #   comment out to disable the options.
 #
 MOUSEKEY_ENABLE = yes  # Mouse keys
-EXTRAKEY_ENABLE = yes  # Audio control and System control
+EXTRAKEY_ENABLE = yes  # Media control and System control
+CONSOLE_ENABLE = yes   # Console for debug
 #NKRO_ENABLE = yes     # USB Nkey Rollover
 #PS2_MOUSE_ENABLE = yes        # PS/2 mouse(TrackPoint) support
 
@@ -117,3 +121,6 @@ VPATH += $(TOP_DIR)
 include $(TOP_DIR)/protocol/lufa.mk
 include $(TOP_DIR)/common.mk
 include $(TOP_DIR)/rules.mk
+
+debug-on: EXTRAFLAGS += -DDEBUG
+debug-on: all