aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Build
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-06-02 19:56:50 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-06-02 19:56:50 +0000
commit450ff51b7e3e8c5c8a39760bc05fb763abf780c0 (patch)
treee714e4dfacb9a64049696c6816930a775273b886 /LUFA/Build
parent0d888458e17a57473e2d41229302ab401a815545 (diff)
downloadlufa-450ff51b7e3e8c5c8a39760bc05fb763abf780c0.tar.gz
lufa-450ff51b7e3e8c5c8a39760bc05fb763abf780c0.tar.bz2
lufa-450ff51b7e3e8c5c8a39760bc05fb763abf780c0.zip
Add platform driver dispatch header and makefile module source variable.
Diffstat (limited to 'LUFA/Build')
-rw-r--r--LUFA/Build/lufa.sources.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/LUFA/Build/lufa.sources.in b/LUFA/Build/lufa.sources.in
index 9b7f6676a..c189e792f 100644
--- a/LUFA/Build/lufa.sources.in
+++ b/LUFA/Build/lufa.sources.in
@@ -76,9 +76,16 @@ LUFA_SRC_TEMPERATURE = $(LUFA_ROOT_PATH)/Drivers/Board/Temperature.c
LUFA_SRC_SERIAL = $(LUFA_ROOT_PATH)/Drivers/Peripheral/$(ARCH)/Serial_$(ARCH).c
LUFA_SRC_TWI = $(LUFA_ROOT_PATH)/Drivers/Peripheral/$(ARCH)/TWI_$(ARCH).c
+ifeq ($(ARCH), UC3)
+ LUFA_SRC_PLATFORM = $(LUFA_PATH)/Platform/UC3/Exception.S $(LUFA_PATH)/Platform/UC3/InterruptManagement.c
+else
+ LUFA_SRC_PLATFORM =
+endif
+
# Build a list of all available module sources
LUFA_SRC_ALL_FILES = $(LUFA_SRC_USB) \
$(LUFA_SRC_USBCLASS) \
$(LUFA_SRC_TEMPERATURE) \
$(LUFA_SRC_SERIAL) \
- $(LUFA_SRC_TWI) \ No newline at end of file
+ $(LUFA_SRC_TWI) \
+ $(LUFA_SRC_PLATFORM) \ No newline at end of file