diff options
author | AJM <poslathian@poslathian.(none)> | 2010-04-22 23:27:09 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-05-20 22:09:15 -0400 |
commit | a86ec7c81d7ad2037e900899a0b32c5592cae7c0 (patch) | |
tree | 391e3abb0ce95ec6901399bdce628aadf8a0c339 /Makefile | |
parent | a082defb795cc4495139c8b05de4fd48bd66dacd (diff) | |
download | librambutan-a86ec7c81d7ad2037e900899a0b32c5592cae7c0.tar.gz librambutan-a86ec7c81d7ad2037e900899a0b32c5592cae7c0.zip |
c++ ified all of the usb_core files, added the auto-reset feature to the virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -28,13 +28,17 @@ LIB_PATH = libmaple OUTDIRS = $(BUILD_PATH)/$(LIB_PATH)\ $(BUILD_PATH)/wirish \ - $(BUILD_PATH)/wirish/comm + $(BUILD_PATH)/wirish/comm \ + $(BUILD_PATH)/wirish/usb \ + $(BUILD_PATH)/wirish/usb_lib INCLUDES = -I$(LIB_PATH) \ -I./ \ -Iwirish \ - -Iwirish/comm + -Iwirish/comm \ + -Iwirish/usb \ + -Iwirish/usb_lib # default is to upload to flash #DEFFLAGS = VECT_TAB_BASE @@ -78,6 +82,15 @@ CSRC = libmaple/systick.c \ wirish/pwm.c \ wirish/ext_interrupts.c \ wirish/wirish_digital.c + wirish/usb/usb.c \ + wirish/usb/usb_callbacks.c \ + wirish/usb/usb_hardware.c \ + wirish/usb/descriptors.c \ + wirish/usb/usb_lib/usb_core.c \ + wirish/usb/usb_lib/usb_init.c \ + wirish/usb/usb_lib/usb_int.c \ + wirish/usb/usb_lib/usb_mem.c \ + wirish/usb/usb_lib/usb_regs.c \ CPPSRC = wirish/wirish_math.cpp \ wirish/Print.cpp \ @@ -85,7 +98,6 @@ CPPSRC = wirish/wirish_math.cpp \ wirish/comm/HardwareUsb.cpp \ wirish/comm/HardwareSPI.cpp \ wirish/cxxabi-compat.cpp \ - main.cpp # i really have no idea what i'm doing meep += $(CSRC) |