summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa.mk
diff options
context:
space:
mode:
authorJason Green <jason@jasg.org>2016-08-01 05:02:52 +0000
committerJason Green <jason@jasg.org>2016-08-23 04:16:35 +0000
commit80d10bef073e3d32149aa4a137d8016ac999dffc (patch)
tree763014f6f4484073e1c9c139f3ff9feb8189204e /tmk_core/protocol/lufa.mk
parentd8c5041f0a3849c96d7e0bfcf7b22e1aba98ac04 (diff)
Added USB Virtual Serial support
Diffstat (limited to 'tmk_core/protocol/lufa.mk')
-rw-r--r--tmk_core/protocol/lufa.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/protocol/lufa.mk b/tmk_core/protocol/lufa.mk
index 0eeace44ec..5b1e3d19d0 100644
--- a/tmk_core/protocol/lufa.mk
+++ b/tmk_core/protocol/lufa.mk
@@ -26,6 +26,10 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
$(TMK_DIR)/protocol/serial_uart.c
endif
+ifeq ($(strip $(VIRTSER_ENABLE)), yes)
+ LUFA_SRC += $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/CDCClassDevice.c
+endif
+
SRC += $(LUFA_SRC)
# Search Path