X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/35bdada24b49c4dd1900a78a1595077b99814cf9..00d0883507efdc17688abafa75e81bf62f83d777:/LUFA/ManPages/CompileTimeTokens.txt diff --git a/LUFA/ManPages/CompileTimeTokens.txt b/LUFA/ManPages/CompileTimeTokens.txt index d8a7cf74a..e1f248d8f 100644 --- a/LUFA/ManPages/CompileTimeTokens.txt +++ b/LUFA/ManPages/CompileTimeTokens.txt @@ -80,6 +80,14 @@ * compatibility. If this token is defined, the structure element names are switched to the LUFA-specific but more descriptive * names documented in the StdDescriptors.h source file. * + * USE_INTERNAL_SERIAL - ( \ref Group_Descriptors ) \n + * Some AVR models contain a unique 20-digit serial number which can be used as the device serial number, while in device mode. This + * allows the host to uniquely identify the device regardless of if it is moved between USB ports on the same computer, allowing + * allocated resources (such as drivers, COM Port number allocations) to be preserved. To make the library use this value for the + * device's serial number, define this token in the project makefile, set it to a unique string descriptor index (i.e. one not used + * elsewhere in the device for a string descriptor) and set the Device Descriptor's serial number descriptor index entry to the + * USE_INTERNAL_SERIAL value. + * * FIXED_CONTROL_ENDPOINT_SIZE - ( \ref Group_EndpointManagement ) \n * By default, the library determines the size of the control endpoint (when in device mode) by reading the device descriptor. * Normally this reduces the amount of configuration required for the library, allows the value to change dynamically (if