Merge in latest trunk.
This commit is contained in:
		
						commit
						063474561d
					
				
					 291 changed files with 3887 additions and 4040 deletions
				
			
		| 
						 | 
				
			
			@ -10,10 +10,10 @@
 | 
			
		|||
 *
 | 
			
		||||
 *  The following list indicates what microcontrollers are compatible with this demo.
 | 
			
		||||
 *
 | 
			
		||||
 *  - Series 7 USB AVRs (AT90USBxxx7)
 | 
			
		||||
 *  - Series 6 USB AVRs (AT90USBxxx6)
 | 
			
		||||
 *  - Series 4 USB AVRs (ATMEGAxxU4)
 | 
			
		||||
 *  - Series 2 USB AVRs (AT90USBxx2, ATMEGAxxU2)
 | 
			
		||||
 *  \li Series 7 USB AVRs (AT90USBxxx7)
 | 
			
		||||
 *  \li Series 6 USB AVRs (AT90USBxxx6)
 | 
			
		||||
 *  \li Series 4 USB AVRs (ATMEGAxxU4)
 | 
			
		||||
 *  \li Series 2 USB AVRs (AT90USBxx2, ATMEGAxxU2)
 | 
			
		||||
 *
 | 
			
		||||
 *  \section Sec_Info USB Information:
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			@ -37,7 +37,7 @@
 | 
			
		|||
 *   <td>USBIF DFU Class Standard, Atmel USB Bootloader Datasheet</td>
 | 
			
		||||
 *  </tr>
 | 
			
		||||
 *  <tr>
 | 
			
		||||
 *   <td><b>Usable Speeds:</b></td>
 | 
			
		||||
 *   <td><b>Supported USB Speeds:</b></td>
 | 
			
		||||
 *   <td>Full Speed Mode</td>
 | 
			
		||||
 *  </tr>
 | 
			
		||||
 * </table>
 | 
			
		||||
| 
						 | 
				
			
			@ -103,7 +103,7 @@
 | 
			
		|||
 *  #define BOOTLOADER_API_TABLE_SIZE          32
 | 
			
		||||
 *  #define BOOTLOADER_API_TABLE_START         ((FLASHEND + 1UL) - BOOTLOADER_API_TABLE_SIZE)
 | 
			
		||||
 *  #define BOOTLOADER_API_CALL(Index)         (void*)((BOOTLOADER_API_TABLE_START + (Index * 2)) / 2)
 | 
			
		||||
 *
 | 
			
		||||
 *  
 | 
			
		||||
 *  void    (*BootloaderAPI_ErasePage)(uint32_t Address)               = BOOTLOADER_API_CALL(0);
 | 
			
		||||
 *  void    (*BootloaderAPI_WritePage)(uint32_t Address)               = BOOTLOADER_API_CALL(1);
 | 
			
		||||
 *  void    (*BootloaderAPI_FillWord)(uint32_t Address, uint16_t Word) = BOOTLOADER_API_CALL(2);
 | 
			
		||||
| 
						 | 
				
			
			@ -111,13 +111,13 @@
 | 
			
		|||
 *  uint8_t (*BootloaderAPI_ReadFuse)(uint16_t Address)                = BOOTLOADER_API_CALL(4);
 | 
			
		||||
 *  uint8_t (*BootloaderAPI_ReadLock)(void)                            = BOOTLOADER_API_CALL(5);
 | 
			
		||||
 *  void    (*BootloaderAPI_WriteLock)(uint8_t LockBits)               = BOOTLOADER_API_CALL(6);
 | 
			
		||||
 *
 | 
			
		||||
 *  
 | 
			
		||||
 *  #define BOOTLOADER_MAGIC_SIGNATURE_START   (BOOTLOADER_API_TABLE_START + (BOOTLOADER_API_TABLE_SIZE - 2))
 | 
			
		||||
 *  #define BOOTLOADER_MAGIC_SIGNATURE         0xDCFB
 | 
			
		||||
 *
 | 
			
		||||
 *  
 | 
			
		||||
 *  #define BOOTLOADER_CLASS_SIGNATURE_START   (BOOTLOADER_API_TABLE_START + (BOOTLOADER_API_TABLE_SIZE - 4))
 | 
			
		||||
 *  #define BOOTLOADER_CDC_SIGNATURE           0xDFB1
 | 
			
		||||
 *
 | 
			
		||||
 *  
 | 
			
		||||
 *  #define BOOTLOADER_ADDRESS_START           (BOOTLOADER_API_TABLE_START + (BOOTLOADER_API_TABLE_SIZE - 8))
 | 
			
		||||
 *  #define BOOTLOADER_ADDRESS_LENGTH          4
 | 
			
		||||
 *  \endcode
 | 
			
		||||
| 
						 | 
				
			
			@ -128,6 +128,44 @@
 | 
			
		|||
 *  to the value \c BOOTLOADER_CDC_SIGNATURE. The start address of the bootloader can be retrieved by reading the bytes of FLASH
 | 
			
		||||
 *  memory starting from address \c BOOTLOADER_ADDRESS_START.
 | 
			
		||||
 *
 | 
			
		||||
 *  \subsection SSec_API_MemLayout Device Memory Map
 | 
			
		||||
 *  The following illustration indicates the final memory map of the device when loaded with the bootloader.
 | 
			
		||||
 *
 | 
			
		||||
 *  \verbatim
 | 
			
		||||
 *  +----------------------------+ 0x0000
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |      User Application      |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  +----------------------------+ FLASHEND - BOOT_SECTION_SIZE
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  |   Bootloader Application   |
 | 
			
		||||
 *  | (Not User App. Accessible) |
 | 
			
		||||
 *  |                            |
 | 
			
		||||
 *  +----------------------------+ FLASHEND - 96
 | 
			
		||||
 *  |   API Table Trampolines    |
 | 
			
		||||
 *  | (Not User App. Accessible) |
 | 
			
		||||
 *  +----------------------------+ FLASHEND - 32
 | 
			
		||||
 *  |    Bootloader API Table    |
 | 
			
		||||
 *  |   (User App. Accessible)   |
 | 
			
		||||
 *  +----------------------------+ FLASHEND - 8
 | 
			
		||||
 *  |   Bootloader ID Constants  |
 | 
			
		||||
 *  |   (User App. Accessible)   |
 | 
			
		||||
 *  +----------------------------+ FLASHEND
 | 
			
		||||
 *  \endverbatim
 | 
			
		||||
 *
 | 
			
		||||
 *  \section Sec_Options Project Options
 | 
			
		||||
 *
 | 
			
		||||
 *  The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# Doxyfile 1.8.0
 | 
			
		||||
# Doxyfile 1.8.1
 | 
			
		||||
 | 
			
		||||
# This file describes the settings to be used by the documentation system
 | 
			
		||||
# doxygen (www.doxygen.org) for a project.
 | 
			
		||||
| 
						 | 
				
			
			@ -32,7 +32,7 @@ PROJECT_NAME           = "LUFA Library - DFU Class Bootloader"
 | 
			
		|||
# This could be handy for archiving the generated documentation or
 | 
			
		||||
# if some version control system is used.
 | 
			
		||||
 | 
			
		||||
PROJECT_NUMBER         = 0.0.0
 | 
			
		||||
PROJECT_NUMBER         =
 | 
			
		||||
 | 
			
		||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
 | 
			
		||||
# for a project that appears at the top of each page and should give viewer
 | 
			
		||||
| 
						 | 
				
			
			@ -563,12 +563,6 @@ MAX_INITIALIZER_LINES  = 30
 | 
			
		|||
 | 
			
		||||
SHOW_USED_FILES        = YES
 | 
			
		||||
 | 
			
		||||
# If the sources in your project are distributed over multiple directories
 | 
			
		||||
# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
 | 
			
		||||
# in the documentation. The default is NO.
 | 
			
		||||
 | 
			
		||||
SHOW_DIRECTORIES       = YES
 | 
			
		||||
 | 
			
		||||
# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
 | 
			
		||||
# This will remove the Files entry from the Quick Index and from the
 | 
			
		||||
# Folder Tree View (if specified). The default is YES.
 | 
			
		||||
| 
						 | 
				
			
			@ -960,12 +954,6 @@ HTML_COLORSTYLE_GAMMA  = 80
 | 
			
		|||
 | 
			
		||||
HTML_TIMESTAMP         = NO
 | 
			
		||||
 | 
			
		||||
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
 | 
			
		||||
# files or namespaces will be aligned in HTML using tables. If set to
 | 
			
		||||
# NO a bullet list will be used.
 | 
			
		||||
 | 
			
		||||
HTML_ALIGN_MEMBERS     = YES
 | 
			
		||||
 | 
			
		||||
# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
 | 
			
		||||
# documentation will contain sections that can be hidden and shown after the
 | 
			
		||||
# page has loaded. For this to work a browser that supports
 | 
			
		||||
| 
						 | 
				
			
			@ -974,6 +962,17 @@ HTML_ALIGN_MEMBERS     = YES
 | 
			
		|||
 | 
			
		||||
HTML_DYNAMIC_SECTIONS  = YES
 | 
			
		||||
 | 
			
		||||
# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of
 | 
			
		||||
# entries shown in the various tree structured indices initially; the user
 | 
			
		||||
# can expand and collapse entries dynamically later on. Doxygen will expand
 | 
			
		||||
# the tree to such a level that at most the specified number of entries are
 | 
			
		||||
# visible (unless a fully collapsed tree already exceeds this amount).
 | 
			
		||||
# So setting the number of entries 1 will produce a full collapsed tree by
 | 
			
		||||
# default. 0 is a special value representing an infinite number of entries
 | 
			
		||||
# and will result in a full expanded tree by default.
 | 
			
		||||
 | 
			
		||||
HTML_INDEX_NUM_ENTRIES = 100
 | 
			
		||||
 | 
			
		||||
# If the GENERATE_DOCSET tag is set to YES, additional index files
 | 
			
		||||
# will be generated that can be used as input for Apple's Xcode 3
 | 
			
		||||
# integrated development environment, introduced with OSX 10.5 (Leopard).
 | 
			
		||||
| 
						 | 
				
			
			@ -1131,7 +1130,7 @@ ECLIPSE_DOC_ID         = org.doxygen.Project
 | 
			
		|||
# navigation tree you can set this option to NO if you already set
 | 
			
		||||
# GENERATE_TREEVIEW to YES.
 | 
			
		||||
 | 
			
		||||
DISABLE_INDEX          = NO
 | 
			
		||||
DISABLE_INDEX          = YES
 | 
			
		||||
 | 
			
		||||
# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
 | 
			
		||||
# structure should be generated to display hierarchical information.
 | 
			
		||||
| 
						 | 
				
			
			@ -1152,11 +1151,6 @@ GENERATE_TREEVIEW      = YES
 | 
			
		|||
 | 
			
		||||
ENUM_VALUES_PER_LINE   = 1
 | 
			
		||||
 | 
			
		||||
# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
 | 
			
		||||
# and Class Hierarchy pages using a tree view instead of an ordered list.
 | 
			
		||||
 | 
			
		||||
USE_INLINE_TREES       = NO
 | 
			
		||||
 | 
			
		||||
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
 | 
			
		||||
# used to set the initial width (in pixels) of the frame in which the tree
 | 
			
		||||
# is shown.
 | 
			
		||||
| 
						 | 
				
			
			@ -1532,7 +1526,7 @@ INCLUDE_FILE_PATTERNS  =
 | 
			
		|||
 | 
			
		||||
PREDEFINED             = __DOXYGEN__ \
 | 
			
		||||
                         PROGMEM \
 | 
			
		||||
						 ATTR_NO_INIT
 | 
			
		||||
                         ATTR_NO_INIT
 | 
			
		||||
 | 
			
		||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
 | 
			
		||||
# this tag can be used to specify a list of macro names that should be expanded.
 | 
			
		||||
| 
						 | 
				
			
			@ -1726,7 +1720,7 @@ CALLER_GRAPH           = NO
 | 
			
		|||
 | 
			
		||||
GRAPHICAL_HIERARCHY    = NO
 | 
			
		||||
 | 
			
		||||
# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
 | 
			
		||||
# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES
 | 
			
		||||
# then doxygen will show the dependencies a directory has on other directories
 | 
			
		||||
# in a graphical way. The dependency relations are determined by the #include
 | 
			
		||||
# relations between the files in the directories.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -679,7 +679,7 @@ clean_list :
 | 
			
		|||
 | 
			
		||||
doxygen:
 | 
			
		||||
	@echo Generating Project Documentation \($(TARGET)\)...
 | 
			
		||||
	@if ( doxygen Doxygen.conf 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \
 | 
			
		||||
	@if ( ( cat Doxygen.conf ; echo "HTML_STYLESHEET=$(LUFA_PATH)/LUFA/DoxygenPages/Style/Style.css" ) | doxygen - 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \
 | 
			
		||||
	  exit 1; \
 | 
			
		||||
	fi;
 | 
			
		||||
	@echo Documentation Generation Complete.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue