diff options
Diffstat (limited to 'protocol/vusb.mk')
-rw-r--r-- | protocol/vusb.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/protocol/vusb.mk b/protocol/vusb.mk new file mode 100644 index 0000000000..9426efb25a --- /dev/null +++ b/protocol/vusb.mk @@ -0,0 +1,19 @@ +OPT_DEFS += -DHOST_VUSB + +SRC += vusb.c \ + usbdrv.c \ + usbdrvasm.S \ + oddebug.c \ + bootloader_usbasp.c \ + + +ifdef NO_UART +SRC += sendchar_null.c +else +SRC += sendchar_uart.c \ + uart.c +endif + + +# Search Path +VPATH += $(COMMON_DIR)/vusb:$(COMMON_DIR)/vusb/usbdrv |