aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAJM <poslathian@poslathian.(none)>2010-04-22 23:27:09 -0400
committerbnewbold <bnewbold@robocracy.org>2010-05-20 22:09:15 -0400
commita86ec7c81d7ad2037e900899a0b32c5592cae7c0 (patch)
tree391e3abb0ce95ec6901399bdce628aadf8a0c339 /Makefile
parenta082defb795cc4495139c8b05de4fd48bd66dacd (diff)
downloadlibrambutan-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--Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2a86142..061ea0c 100644
--- a/Makefile
+++ b/Makefile
@@ -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)