summaryrefslogtreecommitdiff
path: root/usb-device-ccid-project
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-31 14:09:50 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-31 14:16:19 +0200
commit390df0f0b66e53c7ea19770a343e8340ed319b77 (patch)
tree4218385c734d4bcd5ace0742d130639a8b032509 /usb-device-ccid-project
parent245e794b26158fded2025508e7c63be52d0e60b4 (diff)
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.
Diffstat (limited to 'usb-device-ccid-project')
-rw-r--r--usb-device-ccid-project/Makefile6
1 files changed, 3 insertions, 3 deletions
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
personal git repositories of Harald Welte. Your mileage may vary