summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/vusb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-23 00:07:28 +1000
committerGitHub <noreply@github.com>2023-06-22 15:07:28 +0100
commitaad57466827c6aac8f612f5fbbb5adcea6fc5975 (patch)
tree45940a49fe72a1b56a77cf54555c872f00210138 /tmk_core/protocol/vusb
parentfb76c941ee9d0713c5fc2d2609b8381de14df184 (diff)
Move protocol makefiles into their respective folders (#21332)
* Move protocol makefiles into their respective folders * Fix USB-USB converter
Diffstat (limited to 'tmk_core/protocol/vusb')
-rw-r--r--tmk_core/protocol/vusb/vusb.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/tmk_core/protocol/vusb/vusb.mk b/tmk_core/protocol/vusb/vusb.mk
new file mode 100644
index 0000000000..5572597e21
--- /dev/null
+++ b/tmk_core/protocol/vusb/vusb.mk
@@ -0,0 +1,17 @@
+VUSB_DIR = protocol/vusb
+
+# Path to the V-USB library
+VUSB_PATH = $(LIB_PATH)/vusb
+
+SRC += $(VUSB_DIR)/protocol.c \
+ $(VUSB_DIR)/vusb.c \
+ $(VUSB_DIR)/usb_util.c \
+ $(VUSB_PATH)/usbdrv/usbdrv.c \
+ $(VUSB_PATH)/usbdrv/usbdrvasm.S \
+ $(VUSB_PATH)/usbdrv/oddebug.c
+
+# Search Path
+VPATH += $(TMK_PATH)/$(VUSB_DIR)
+VPATH += $(VUSB_PATH)
+
+OPT_DEFS += -DPROTOCOL_VUSB