From 390df0f0b66e53c7ea19770a343e8340ed319b77 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 31 Jul 2011 14:09:50 +0200 Subject: AT91LIB: Add DFU interface descriptors to CCID A board can now define BOARD_USB_DFU which will cause the USB DFU interface descriptors for the sam7dfu bootloader to be appended automatically. --- usb-device-ccid-project/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usb-device-ccid-project') diff --git a/usb-device-ccid-project/Makefile b/usb-device-ccid-project/Makefile index 337ecd9..4cb38b4 100644 --- a/usb-device-ccid-project/Makefile +++ b/usb-device-ccid-project/Makefile @@ -68,7 +68,7 @@ OBJ = obj #------------------------------------------------------------------------------- # Tool suffix when cross-compiling -CROSS_COMPILE = arm-none-eabi- +CROSS_COMPILE = arm-elf- # Compilation tools CC = $(CROSS_COMPILE)gcc @@ -97,7 +97,7 @@ UTILITY = $(AT91LIB)/utility USB = $(AT91LIB)/usb COMP = $(AT91LIB)/components -VPATH += $(USB)/common/core $(USB)/device/core +VPATH += $(USB)/common/core $(USB)/device/core $(USB)/device/dfu VPATH += $(UTILITY) VPATH += $(PERIPH)/dbgu $(PERIPH)/pio $(PERIPH)/pit $(PERIPH)/aic $(PERIPH)/pmc VPATH += $(PERIPH)/cp15 @@ -116,7 +116,7 @@ C_OBJECTS += USBDDriverCb_IfSettingChanged.o C_OBJECTS += USBSetAddressRequest.o USBGenericDescriptor.o USBInterfaceRequest.o C_OBJECTS += USBGenericRequest.o USBGetDescriptorRequest.o C_OBJECTS += USBSetConfigurationRequest.o USBFeatureRequest.o -C_OBJECTS += USBEndpointDescriptor.o USBConfigurationDescriptor.o +C_OBJECTS += USBEndpointDescriptor.o USBConfigurationDescriptor.o dfu.o C_OBJECTS += led.o math.o stdio.o C_OBJECTS += aic.o dbgu.o pio.o pio_it.o pit.o pmc.o cp15.o C_OBJECTS += board_memories.o board_lowlevel.o -- cgit v1.2.3