aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests/SingleUSBModeTest
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-06-05 18:35:05 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-06-05 18:35:05 +0000
commit000c4c6c5ccc2c136f25fc4bcede6de093b301c6 (patch)
treed71683cba376f98d8ce41b1822d636ee13b89060 /BuildTests/SingleUSBModeTest
parentd887c0c73cbfc16a1e51207041fd94399de70c29 (diff)
downloadlufa-000c4c6c5ccc2c136f25fc4bcede6de093b301c6.tar.gz
lufa-000c4c6c5ccc2c136f25fc4bcede6de093b301c6.tar.bz2
lufa-000c4c6c5ccc2c136f25fc4bcede6de093b301c6.zip
Strip out BuildTest sub-makefile contents as much as possible. Remove old UC3 build test makefile from the ModuleTest build test. Add platform module to the example LUFA makefile.
Diffstat (limited to 'BuildTests/SingleUSBModeTest')
-rw-r--r--BuildTests/SingleUSBModeTest/makefile15
-rw-r--r--BuildTests/SingleUSBModeTest/makefile.test6
2 files changed, 10 insertions, 11 deletions
diff --git a/BuildTests/SingleUSBModeTest/makefile b/BuildTests/SingleUSBModeTest/makefile
index 096d4b3d1..56231c06a 100644
--- a/BuildTests/SingleUSBModeTest/makefile
+++ b/BuildTests/SingleUSBModeTest/makefile
@@ -6,11 +6,10 @@
# www.lufa-lib.org
#
-# Makefile for the module build test. This test
-# attempts to build as many modules as possible
-# under all supported architectures, and include
-# all module headers in a simple C and C++
-# application.
+# Makefile for the single USB mode build test.
+# This test attempts to build the USB module
+# under fixed device and fixed host modes under
+# all supported architectures
# Path to the LUFA library core
LUFA_PATH = ../../LUFA/
@@ -35,9 +34,9 @@ compile:
$(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_HOST_ONLY'
clean:
- $(MAKE) -s -f makefile.test clean ARCH=AVR8
- $(MAKE) -s -f makefile.test clean ARCH=XMEGA
- $(MAKE) -s -f makefile.test clean ARCH=UC3
+ $(MAKE) -s -f makefile.test clean ARCH=AVR8 MCU=at90usb1287
+ $(MAKE) -s -f makefile.test clean ARCH=XMEGA MCU=atxmega128a1u
+ $(MAKE) -s -f makefile.test clean ARCH=UC3 MCU=uc3a0256
%:
diff --git a/BuildTests/SingleUSBModeTest/makefile.test b/BuildTests/SingleUSBModeTest/makefile.test
index 0a0c0be3b..d8b9be5b4 100644
--- a/BuildTests/SingleUSBModeTest/makefile.test
+++ b/BuildTests/SingleUSBModeTest/makefile.test
@@ -9,10 +9,10 @@
# LUFA Project Makefile.
# --------------------------------------
-MCU = at90usb1287
-ARCH = AVR8
+MCU =
+ARCH =
BOARD = NONE
-F_CPU = 8000000
+F_CPU = $(F_USB)
ifeq ($(ARCH), AVR8)
F_USB = 8000000