From 376160e2c072a7d76560f1a864c02730ee684e62 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 1 Sep 2012 22:08:59 +0000 Subject: Add human readable license information and add some missing module documentation briefs. --- LUFA.pnproj | 2 +- LUFA/DoxygenPages/LicenseInfo.txt | 29 ++++++++++++++++++++++---- LUFA/Drivers/USB/Class/AndroidAccessoryClass.h | 1 + LUFA/Drivers/USB/Class/AudioClass.h | 1 + LUFA/Drivers/USB/Class/CDCClass.h | 1 + LUFA/Drivers/USB/Class/HIDClass.h | 1 + LUFA/Drivers/USB/Class/MIDIClass.h | 1 + LUFA/Drivers/USB/Class/MassStorageClass.h | 1 + LUFA/Drivers/USB/Class/PrinterClass.h | 1 + LUFA/Drivers/USB/Class/RNDISClass.h | 1 + LUFA/Drivers/USB/Class/StillImageClass.h | 1 + LUFA/Drivers/USB/Core/ConfigDescriptors.h | 16 +++++++------- 12 files changed, 43 insertions(+), 13 deletions(-) diff --git a/LUFA.pnproj b/LUFA.pnproj index 19110cfaa..0ea3b28f2 100644 --- a/LUFA.pnproj +++ b/LUFA.pnproj @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/LUFA/DoxygenPages/LicenseInfo.txt b/LUFA/DoxygenPages/LicenseInfo.txt index 447bec68c..a3b4793f5 100644 --- a/LUFA/DoxygenPages/LicenseInfo.txt +++ b/LUFA/DoxygenPages/LicenseInfo.txt @@ -9,14 +9,35 @@ * * The LUFA library is currently released under the MIT license, included below. * + * \section Sec_LicenseForHumans License Sumary for Human Beings + * Everyone is free to use LUFA without payment - even in commercial applications + * where the product source code is not publically disclosed. However, use of the + * library must be in accordance with the library license conditions. + * + * If you wish to use LUFA without payment, you must include a copy of the + * full license text below with your product or project - on your website, and in + * an accompanying manual or other materials for the product. As long as the entire + * license text is made available and obvious to the users of your product, you + * are free to incorporate the LUFA library into your product without special + * additional licensing. + * + * \section Sec_CommercialLicenses Commercial Licensing + * In some instances the small requirement for public disclosure of LUFA within a + * product is unwanted; in these instances a commecial license is offered up as an + * alternative to the standard LUFA license. + * * Commercial entities can opt out of the public disclosure clause in this license - * for a one-time US$1500 payment. This provides a non-exclusive modified MIT licensed which - * allows for the free use of the LUFA library, bootloaders and (where the sole copyright - * is attributed to Dean Camera) demos without public disclosure within an organization, in - * addition to three free hours of consultation with the library author, and priority support. + * for a one-time US$1500 payment. This provides a non-exclusive modified MIT + * licensed which allows for the free use of the LUFA library, bootloaders and + * (where the sole copyright is attributed to Dean Camera) demos without public + * disclosure within an organization, in addition to three free hours of consultation + * with the library author, and priority support. + * * Please visit the Commercial License link on \ref Page_Resources for more information on * ordering a commercial license for your company. * + * \section Sec_LicenseText LUFA License Text + * * \verbinclude License.txt */ diff --git a/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h b/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h index 7b1fbfcc2..1629dae65 100644 --- a/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h +++ b/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h @@ -39,6 +39,7 @@ /** \ingroup Group_USBClassDrivers * \defgroup Group_USBClassAOA Android Open Accessory Class Driver + * \brief USB class driver for the Google Android Open Accessory class standard. * * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: diff --git a/LUFA/Drivers/USB/Class/AudioClass.h b/LUFA/Drivers/USB/Class/AudioClass.h index 03b12512d..8ff0486df 100644 --- a/LUFA/Drivers/USB/Class/AudioClass.h +++ b/LUFA/Drivers/USB/Class/AudioClass.h @@ -39,6 +39,7 @@ /** \ingroup Group_USBClassDrivers * \defgroup Group_USBClassAudio Audio 1.0 Class Driver + * \brief USB class driver for the USB-IF Audio 1.0 class standard. * * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: diff --git a/LUFA/Drivers/USB/Class/CDCClass.h b/LUFA/Drivers/USB/Class/CDCClass.h index baa52be08..226e4354c 100644 --- a/LUFA/Drivers/USB/Class/CDCClass.h +++ b/LUFA/Drivers/USB/Class/CDCClass.h @@ -39,6 +39,7 @@ /** \ingroup Group_USBClassDrivers * \defgroup Group_USBClassCDC CDC-ACM (Virtual Serial) Class Driver + * \brief USB class driver for the USB-IF CDC-ACM (Virtual Serial) class standard. * * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: diff --git a/LUFA/Drivers/USB/Class/HIDClass.h b/LUFA/Drivers/USB/Class/HIDClass.h index 04d5db289..9832f0024 100644 --- a/LUFA/Drivers/USB/Class/HIDClass.h +++ b/LUFA/Drivers/USB/Class/HIDClass.h @@ -39,6 +39,7 @@ /** \ingroup Group_USBClassDrivers * \defgroup Group_USBClassHID HID Class Driver + * \brief USB class driver for the USB-IF Human Interface Device (HID) class standard. * * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: diff --git a/LUFA/Drivers/USB/Class/MIDIClass.h b/LUFA/Drivers/USB/Class/MIDIClass.h index 06bd27caa..b0e05c1e2 100644 --- a/LUFA/Drivers/USB/Class/MIDIClass.h +++ b/LUFA/Drivers/USB/Class/MIDIClass.h @@ -39,6 +39,7 @@ /** \ingroup Group_USBClassDrivers * \defgroup Group_USBClassMIDI MIDI Class Driver + * \brief USB class driver for the USB-IF MIDI class standard. * * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: diff --git a/LUFA/Drivers/USB/Class/MassStorageClass.h b/LUFA/Drivers/USB/Class/MassStorageClass.h index 9cf0e6f26..7b4565282 100644 --- a/LUFA/Drivers/USB/Class/MassStorageClass.h +++ b/LUFA/Drivers/USB/Class/MassStorageClass.h @@ -39,6 +39,7 @@ /** \ingroup Group_USBClassDrivers * \defgroup Group_USBClassMS Mass Storage Class Driver + * \brief USB class driver for the USB-IF Bulk-Only Transport Mass Storage class standard. * * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: diff --git a/LUFA/Drivers/USB/Class/PrinterClass.h b/LUFA/Drivers/USB/Class/PrinterClass.h index 45284053d..b52fb4af9 100644 --- a/LUFA/Drivers/USB/Class/PrinterClass.h +++ b/LUFA/Drivers/USB/Class/PrinterClass.h @@ -39,6 +39,7 @@ /** \ingroup Group_USBClassDrivers * \defgroup Group_USBClassPrinter Printer Class Driver + * \brief USB class driver for the USB-IF Printer class standard. * * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: diff --git a/LUFA/Drivers/USB/Class/RNDISClass.h b/LUFA/Drivers/USB/Class/RNDISClass.h index 63deefdb4..ee21d455f 100644 --- a/LUFA/Drivers/USB/Class/RNDISClass.h +++ b/LUFA/Drivers/USB/Class/RNDISClass.h @@ -39,6 +39,7 @@ /** \ingroup Group_USBClassDrivers * \defgroup Group_USBClassRNDIS RNDIS (Networking) Class Driver + * \brief USB class driver for the Microsoft Remote Network Driver Interface Specification (RNDIS) class standard. * * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: diff --git a/LUFA/Drivers/USB/Class/StillImageClass.h b/LUFA/Drivers/USB/Class/StillImageClass.h index 2c8f58998..476a2dbe4 100644 --- a/LUFA/Drivers/USB/Class/StillImageClass.h +++ b/LUFA/Drivers/USB/Class/StillImageClass.h @@ -39,6 +39,7 @@ /** \ingroup Group_USBClassDrivers * \defgroup Group_USBClassSI Still Image Class Driver + * \brief USB class driver for the USB-IF Still Image (PIMA-compliant) class standard. * * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: diff --git a/LUFA/Drivers/USB/Core/ConfigDescriptors.h b/LUFA/Drivers/USB/Core/ConfigDescriptors.h index 97fb39b57..0a80e7fd8 100644 --- a/LUFA/Drivers/USB/Core/ConfigDescriptors.h +++ b/LUFA/Drivers/USB/Core/ConfigDescriptors.h @@ -47,8 +47,8 @@ * @{ */ -#ifndef __CONFIGDESCRIPTOR_H__ -#define __CONFIGDESCRIPTOR_H__ +#ifndef __CONFIGDESCRIPTORS_H__ +#define __CONFIGDESCRIPTORS_H__ /* Includes: */ #include "../../../Common/Common.h" @@ -119,16 +119,16 @@ { HOST_GETCONFIG_Successful = 0, /**< No error occurred while retrieving the configuration descriptor. */ HOST_GETCONFIG_DeviceDisconnect = 1, /**< The attached device was disconnected while retrieving the configuration - * descriptor. - */ + * descriptor. + */ HOST_GETCONFIG_PipeError = 2, /**< An error occurred in the pipe while sending the request. */ HOST_GETCONFIG_SetupStalled = 3, /**< The attached device stalled the request to retrieve the configuration - * descriptor. - */ + * descriptor. + */ HOST_GETCONFIG_SoftwareTimeOut = 4, /**< The request or data transfer timed out. */ HOST_GETCONFIG_BuffOverflow = 5, /**< The device's configuration descriptor is too large to fit into the allocated - * buffer. - */ + * buffer. + */ HOST_GETCONFIG_InvalidData = 6, /**< The device returned invalid configuration descriptor data. */ }; -- cgit v1.2.3