TMK_LUFA_OPTS = -DUSB_DEVICE_ONLY
TMK_LUFA_OPTS += -DUSE_FLASH_DESCRIPTORS
TMK_LUFA_OPTS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
+# Do not enable INTERRUPT_CONTROL_ENDPOINT for converters which requires ISR in particular,
+# it can block other ISRs long like 500-1000us for HID keyboard LED report.
#TMK_LUFA_OPTS += -DINTERRUPT_CONTROL_ENDPOINT
TMK_LUFA_OPTS += -DFIXED_CONTROL_ENDPOINT_SIZE=8
TMK_LUFA_OPTS += -DFIXED_NUM_CONFIGURATIONS=1
TMK_LUFA_OPTS += -DNO_LIMITED_CONTROLLER_CONNECT
endif
-ifeq (yes,$(strip $(LUFA_DEBUG)))
- TMK_LUFA_OPTS += -DLUFA_DEBUG
+ifeq (yes,$(strip $(TMK_LUFA_DEBUG)))
+ TMK_LUFA_OPTS += -DTMK_LUFA_DEBUG
endif
-ifeq (yes,$(strip $(LUFA_DEBUG_SUART)))
+ifeq (yes,$(strip $(TMK_LUFA_DEBUG_SUART)))
SRC += common/avr/suart.S
- TMK_LUFA_OPTS += -DLUFA_DEBUG_SUART
+ TMK_LUFA_OPTS += -DTMK_LUFA_DEBUG_SUART
# Keep print/debug lines when disabling HID console. See common.mk.
DEBUG_PRINT_AVAILABLE = yes
endif
-ifeq (yes,$(strip $(LUFA_DEBUG_UART)))
+ifeq (yes,$(strip $(TMK_LUFA_DEBUG_UART)))
SRC += common/avr/uart.c
- TMK_LUFA_OPTS += -DLUFA_DEBUG_UART
+ TMK_LUFA_OPTS += -DTMK_LUFA_DEBUG_UART
# Keep print/debug lines when disabling HID console. See common.mk.
DEBUG_PRINT_AVAILABLE = yes
endif