diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-06-06 19:39:38 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-06-06 19:39:38 +0000 |
| commit | 79374d710c93b4880f2f9c3f3692884d368c6d1a (patch) | |
| tree | a2c48cdcf6dd7200fbebc8edb0bfb64396b673a8 /BuildTests/SingleUSBModeTest | |
| parent | bff40bff0d65836003376b006ebb766aca12a06f (diff) | |
Fix errors in the SingleUSBModeTest build test. Fix logic errors in USBMode.h.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2315 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'BuildTests/SingleUSBModeTest')
| -rw-r--r-- | BuildTests/SingleUSBModeTest/Dummy.S | 3 | ||||
| -rw-r--r-- | BuildTests/SingleUSBModeTest/makefile | 10 |
2 files changed, 7 insertions, 6 deletions
diff --git a/BuildTests/SingleUSBModeTest/Dummy.S b/BuildTests/SingleUSBModeTest/Dummy.S index bc13b31e..5ed1b4a2 100644 --- a/BuildTests/SingleUSBModeTest/Dummy.S +++ b/BuildTests/SingleUSBModeTest/Dummy.S @@ -34,7 +34,8 @@ # Mandatory entry point for successful compilation and link
.global main
main:
-
+ # Force code generation of the base USB stack
+ call USB_Init
# Mandatory callback needed for base compile of the USB driver
.global CALLBACK_USB_GetDescriptor
diff --git a/BuildTests/SingleUSBModeTest/makefile b/BuildTests/SingleUSBModeTest/makefile index 56231c06..53bdbe0d 100644 --- a/BuildTests/SingleUSBModeTest/makefile +++ b/BuildTests/SingleUSBModeTest/makefile @@ -25,13 +25,13 @@ end: @echo
compile:
- $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_DEVICE_ONLY'
- $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_HOST_ONLY'
+ $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CC_FLAGS='-D USB_DEVICE_ONLY'
+ $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CC_FLAGS='-D USB_HOST_ONLY'
- $(MAKE) -s -f makefile.test clean elf ARCH=XMEGA MCU=atxmega128a1u CCFLAGS='-D USB_DEVICE_ONLY'
+ $(MAKE) -s -f makefile.test clean elf ARCH=XMEGA MCU=atxmega128a1u CC_FLAGS='-D USB_DEVICE_ONLY'
- $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_DEVICE_ONLY'
- $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_HOST_ONLY'
+ $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CC_FLAGS='-D USB_DEVICE_ONLY'
+ $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CC_FLAGS='-D USB_HOST_ONLY'
clean:
$(MAKE) -s -f makefile.test clean ARCH=AVR8 MCU=at90usb1287
|
