Added ability to set the serial baud rate via the user's terminal in the XPLAINBridge...
[pub/lufa.git] / Bootloaders / CDC / makefile
index 7321989..9b43f6d 100644 (file)
@@ -85,7 +85,9 @@ F_CPU = 8000000
 F_CLOCK = $(F_CPU)
 
 
-# Starting byte address of the bootloader
+# Starting byte address of the bootloader, as a byte address. Note that the address given
+# in the AVRStudio fuse programming dialogue uses word addresses, which will have to be
+# doubled to obtain the starting byte address of the bootloader section.
 BOOT_START = 0x1E000
 
 
@@ -123,6 +125,7 @@ LUFA_OPTS += -D NO_DEVICE_REMOTE_WAKEUP
 SRC = $(TARGET).c                                                 \
          Descriptors.c                                               \
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c        \
+         $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Device.c             \
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c           \
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c               \
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/HostChapter9.c       \
@@ -710,4 +713,4 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
 showtarget begin finish end sizebefore sizeafter  \
 gccversion build elf hex eep lss sym coff extcoff \
 program clean debug clean_list clean_binary       \
-gdb-config doxygen
\ No newline at end of file
+clean_doxygen gdb-config doxygen
\ No newline at end of file