X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/3b95b8dedced6c118cfb2cd7fc72c696c076119e..bea72a8412f99b294c00341fa16a8308bcc66f15:/LUFA/ManPages/ChangeLog.txt diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 638d8a119..e16a33de5 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -8,9 +8,85 @@ * * \section Sec_ChangeLogXXXXXX Version XXXXXX * New: + * - Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage class driver, to indicate when a previously + * not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger) + * - Moved the Pipe and Endpoint stream related code to two new USB library core source files EndpointStream.c and PipeStream.c + * - Added board hardware driver support for the Olimex AVR-USB-162 development board (thanks to Steve Fawcett) + * - Added board hardware driver support for the Kernel Concepts USBFOO development board + * - Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() functions to retrieve the current USB frame number + * - Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application + * handling of USB Start of Frame events while in USB Host mode + * - Added new PRNT_Host_BytesReceived(), PRNT_Host_ReceiveByte(), PRNT_Host_SendByte() and PRNT_Host_Flush() functions to the + * Print Host Class driver + * - Added class specific descriptor alternative struct type defines with standard USB-IF element naming + * - Added new project makefile template to the library and moved board driver stub files into in a new "CodeTemplates" directory + * - Added board hardware driver support for the Linnix UDIP development board + * - Added board hardware driver support for the Busware BUI development board + * - Added board hardware driver support for the Arduino Uno development board + * - Added board hardware driver support for the Busware CUL V3 868MHZ radio board + * + * Changed: + * - Removed complicated logic for the Endpoint_ConfigureEndpoint() function to use inlined or function called versions + * depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing + * with basic code + * - Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints + * - Added missing DataflashManager_CheckDataflashOperation() function to the MassStorageKeyboard demo, removed redundant + * SCSI_Codes.h file as these values are part of the MassStorage Class Driver + * - Added compile time error to the AVRISP-MKII project when built for the U4 chips, as the default VTARGET detection ADC channel + * does not exist on these chips (thanks to Marco) + * - Changed all Device mode LowLevel demos and Device Class drivers so that the control request is acknowledged and any data + * transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will + * not break communications with the host by exceeding the maximum control request stage timeout period + * - Changed the signature of the CALLBACK_USB_GetDescriptor() callback function so that the descriptor pointer is const, to remove + * the need for extra casting inside the callback (thanks to Jonathan Kollasch) + * - Reduced HOST_DEVICE_SETTLE_DELAY_MS to 1000ms down from 1500ms to improve device compatibility while in USB Host mode + * - Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible + * to free up the Start of Frame flag for interrupt use in the user application + * - All project makefiles now correctly clean intermediate build files from assembly and C++ sources (thanks to Daniel Czigany) + * - Removed the EVENT_USB_InitFailure() event, not specifying a USB mode correctly now defaults to UID selection mode + * - Renamed and moved class driver common constant definitions to make the naming scheme more uniform + * - Changed default value for the reset polarity parameter in the AVRISP-MKII project so that it defaults to active low drive + * - Changed configuration descriptor parser for all host mode projects and class drivers to ensure better compatibility with devices + * + * Fixed: + * - Fixed USB_GetHIDReportItemInfo() function modifying the given report item's data when the report item does not exist + * within the supplied report of a multiple report HID device + * - Fixed MassStorage based demos and projects resetting the SCSI sense values before the command is executed, leading to + * missed SCSI sense values when the host retrieves the sense key (thanks to Martin Degelsegger) + * - Fixed critical pipe/endpoint memory allocation issue where the bank memory address space could be silently overlapped + * in the USB controller if the endpoints or pipes were allocated in anything other than ascending order (thanks to Martin Degelsegger) + * - Fixed USBtoSerial and Benito project SetLineEncoding calls failing if the USART is busy, due to the RX ISR delaying the control + * request handler + * - Fixed LowLevel PrinterHost demo not sending control requests to the attached printer with the correct printer interface wIndex value + * - Added LEDs_ToggleLEDs() function to several board LED drivers which were missing it (thanks to Andrei Krainev) + * - Fixed SET FEATURE and CLEAR FEATURE control requests directed at an unconfigured endpoint causing request timeouts + * - Fixed incorrect signature reported in the CDC class bootloader for the ATMEGA32U2 + * - Fixed USB_Host_ClearPipeStall() incorrectly determining the endpoint direction from the currently selected pipe + * - Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode + * - Fixed endpoint selection within the CALLBACK_HID_Device_CreateHIDReport() callback function causing broken GET REPORT requests + * - Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target + * - Fixed BootloaderCDC project failing on some operating systems due to removed Line Encoding options (thanks to Alexey Belyaev) + * - Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver + * - Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set + * - Fixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when writing in non-paged mode and the polling byte cannot be used + * - Fixed SPI driver not explicitly setting /SS and MISO pins as inputs when SPI_Init() is called + * - Fixed ISR definition conflict in the XPLAIN bridge between the software UART and the AVRISP-MKII ISP modules + * + * \section Sec_ChangeLog100807 Version 100807 + * New: * - Added new ADC_DisableChannel() function (thanks to Mich Davis) * - Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to the AVRISP-MKII programmer project to set * the VTARGET reference voltage and scale factor + * - Added new pgm_read_ptr() macro to Common.h for reading of pointers out of flash memory space + * - Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time + * - Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros + * - Added new AVRStudio 4 project files for all library demos, projects and bootloaders + * - Added ability to set the serial baud rate via the user's terminal in the XPLAINBridge project + * - Added new LUFA module variables for the different source modules in the core library makefile to simplify project makefiles + * - Added start of a new Test and Measurement class demo (thanks to Peter Lawrence) + * - Added new SPI_ORDER_* data order masks to the SPI peripheral driver + * - Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz via a new software SPI driver + * - Added support for the new button/LED on the latest model USBTINY-MKII * * Changed: * - The RingBuff library code has been replaced in the XPLAINBridge, Benito and USBtoSerial projects with an ultra lightweight @@ -20,6 +96,20 @@ * - Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile * parameters to EEPROM to preserve its lifespan * - Removed unused line encoding data and control requests from the CDC Bootloader code, to save space + * - Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT() + * - The USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros have been deleted, as they are now obsolete + * - Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() functions so that they compile down in most instances to + * minimal loads and stores rather than complicated shifts + * - The software UART in the XPLAINBridge has been largely altered to try to improve upon its performance and reliability + * - The USBtoSerial and Benito projects now flushes received data via a flush timer, so that several bytes can be transmitted at once + * - Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistencies between the + * behaviour of the command line tools used to perform the check on each platform + * - Internal USB driver source files renamed and moved to ease future possible architecture ports + * - All internal pseudo-function macros have been converted to true inline functions for type-safety and readability + * - Changed LED indicator masks for the AVRISP-MKII project, so that there are defined roles for each LED + * - Altered the CDC Device and Host Class drivers' receive byte routines, so that no data is indicated by the function returning a + * negative value (thanks to Andreas Paulin) + * - Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer * * Fixed: * - Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs after programming or reading from @@ -29,6 +119,22 @@ * - Fixed RNDISEthernet demos crashing when calculating checksums for Ethernet/TCP packets of more than ~500 bytes due to * an overflow in the checksum calculation loop (thanks to Kevin Malec) * - Fixed XPLAINBridge project not correctly reading the XMEGA's supply voltage when reporting back to the host + * - Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks to Axel Rohde) + * - Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs (thanks to Axel Rohde) + * - Fixed void pointer arithmetic in ConfigDescriptor.h breaking C++ compatibility (thanks to Michael Hennebry) + * - Fixed broken PDI EEPROM Section Erase functionality in the AVRISP-MKII project + * - Fixed USB_Device_SendRemoteWakeup() not working when the USB clock was frozen during USB bus suspend (thanks to Brian Dickman) + * - Fixed occasional lockup of the AVRISP project due to the timeout extension code incorrectly extending the timeout in + * PDI and TPI programming modes infinitely + * - Fixed HID device class driver still using PrevReportINBuffer for GetReport control requests even when it has been + * set to NULL by the user application (thanks to Axel Rohde) + * - Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint to become ready (thanks to Robin Green) + * - Fixed Benito and USBtoSerial projects not turning off the USART before reconfiguring it, which could cause incorrect + * operation to occur (thanks to Bob Paddock) + * - Fixed Serial peripheral driver not turning off the USART before reconfiguring it, which would cause incorrect operation + * to occur (thanks to Bob Paddock) + * - Fixed software application start command broken in the DFU class bootloader when dfu-programmer is used due to application + * start address corruption * * \section Sec_ChangeLog100513 Version 100513 * New: @@ -63,7 +169,7 @@ * - Removed the cast to uint16_t on the set baud rate in the USBtoSerial project, so that the higher >1M baud rates can be * selected (thanks to Steffan Woltjer) * - Removed software PDI and TPI emulation from the AVRISP-MKII clone project as it was very buggy and slow - PDI and TPI must - * now be implemented via seperate programming headers + * now be implemented via separate programming headers * - The CDC class bootloader now uses a watchdog reset rather than a soft-reset when exited to ensure that all hardware is * properly reset to their defaults * - Device mode class driver callbacks are now fired before the control request status stage is sent to prevent the host from @@ -76,7 +182,7 @@ * - Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and the control endpoint is not properly * selected when the ISR completes * - Fixed AVRISP-MKII clone project not correctly issuing LOAD EXTENDED ADDRESS commands when the extended address - * boundary is crossed during programming or readback (thanks to Gerard Sexton) + * boundary is crossed during programming or read back (thanks to Gerard Sexton) * - Fixed warnings when building the AVRISP-MKII clone project with the ENABLE_XPROG_PROTOCOL compile time option disabled * - Fixed software PDI/TPI programming mode in the AVRISP project not correctly toggling just the clock pin * - Fixed TWI_StartTransmission() corrupting the contents of the GPIOR0 register @@ -101,7 +207,7 @@ * - Fixed Set Configuration requests not being stalled until the host has set the device's address * - Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the * HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set - * - Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occuring while the control endpoint + * - Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occurring while the control endpoint * request is being processed, causing possible lockups if a USB interrupt occurs during a transfer * - Remove incorrect Abstract Call Management class specific descriptor from the CDC demos, bootloaders and projects * @@ -120,7 +226,7 @@ * - Added ADC MUX masks for the standard ADC input channels on all AVR models with an ADC, altered demos to use these masks * as on some models, the channel number is not identical to its single-ended ADC MUX mask * - New Webserver project, a RNDIS host USB webserver using the open source uIP TCP/IP network stack and FatFS library - * - New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will remove all board hardware drivers which + * - New BOARD value option BOARD_NONE (equivalent to not specifying BOARD) which will remove all board hardware drivers which * do not adversely affect the code operation (currently only the LEDs driver) * - Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) and LED report masks (KEYBOARD_LED_*) to the HID class driver and * Keyboard demos @@ -151,7 +257,7 @@ * - Fixed Benito project not resetting the target AVR automatically when programming has completed * - Fixed DFU bootloader programming not discarding the correct number of filler bytes from the host when non-aligned programming * ranges are specified (thanks to Thomas Bleeker) - * - Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe + * - Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two separate pipes, not one half-duplex pipe * - Fixed Pipe_IsEndpointBound() not taking the endpoint's direction into account * - Fixed EEPROM and FLASH ISP programming in the AVRISP project * - Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen) @@ -159,7 +265,7 @@ * - Fixed SerialStream driver not setting stdin to the created serial stream (thanks to Mike Alexander) * - Fixed USB_GetHIDReportSize() returning the number of bits in the specified report instead of bytes * - Fixed AVRISP project not extending the command delay after each successful page/word/byte program - * - Fixed accuracy of the SERIAL_UBBRVAL() and SERIAL_2X_UBBRVAL() macros for higher baudrates (thanks to Renaud Cerrato) + * - Fixed accuracy of the SERIAL_UBBRVAL() and SERIAL_2X_UBBRVAL() macros for higher baud rates (thanks to Renaud Cerrato) * * \section Sec_ChangeLog091223 Version 091223 * @@ -183,7 +289,7 @@ * - Added new NO_DEVICE_REMOTE_WAKEUP and NO_DEVICE_SELF_POWER compile time options * * Changed: - * - Removed code in the Keyboard demos to send zeroed reports between two reports with differing numbers of keycodes + * - Removed code in the Keyboard demos to send zeroed reports between two reports with differing numbers of key codes * as this relied on non-standard OS driver behaviour to repeat key groups * - The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class * driver common defines, rather than being defined in the Host mode Class driver section only @@ -193,7 +299,7 @@ * - All Class Drivers now return false or the "DeviceDisconnected" error code of their respective error enums when a function * is called when no host/device is connected where possible * - The HOST_SENDCONTROL_DeviceDisconnect enum value has been renamed to HOST_SENDCONTROL_DeviceDisconnected to be in line - * with the rest of the library errorcodes + * with the rest of the library error codes * - Make MIDI device demos also turn off the on board LEDs if MIDI Note On messages are sent with a velocity of zero, * which some devices use instead of Note Off messages (thanks to Robin Green) * - The CDC demos are now named "VirtualSerial" instead to indicate the demos' function rather than its implemented USB class, @@ -241,7 +347,7 @@ * - Added new stream creation function to the CDC Class drivers, to easily make standard I/O streams from CDC Class driver instances * * Changed: - * - Removed mostly useless "TestApp" demo, as it was mainly useful only for checking for sytax errors in the library + * - Removed mostly useless "TestApp" demo, as it was mainly useful only for checking for syntax errors in the library * - MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs * - Cleanups to the Device mode Mass Storage demo application SCSI routines * - Changed Audio Class driver sample read/write functions to be inline, to reduce the number of cycles needed to transfer @@ -254,12 +360,12 @@ * - Changed MouseHostWithParser demos to check that the report items have a Mouse usage collection as a parent at some point, * to prevent Joysticks from enumerating with the demo * - Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function to USB_Host_GetDeviceConfigDescriptor(). - * - Keyboard LowLevel/ClassDriver demos now support multiple simultaneous keypresses (up to 6) per report + * - Keyboard LowLevel/ClassDriver demos now support multiple simultaneous key presses (up to 6) per report * * Fixed: * - Fixed PrinterHost demo returning invalid Device ID data when the attached device does not have a * device ID (thanks to Andrei Krainev) - * - Changed LUFA_VERSION_INTEGER define to use BCD values, to make comparisons eaiser + * - Changed LUFA_VERSION_INTEGER define to use BCD values, to make comparisons easier * - Fixed issue in the HID Host class driver's HID_Host_SendReportByID() routine using the incorrect mode (control/pipe) * to send report to the attached device * - Fixed ClassDriver AudioOutput device demo not selecting an audio output mode @@ -279,7 +385,7 @@ * - Added new host mode class drivers and matching demos to the library for rapid application development * - Added flag to the HID report parser to indicate if a device has multiple reports * - Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new USB_Device_EnableSOFEvents() and - * USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode + * USB_Device_DisableSOFEvents() macros to give bus-synchronized millisecond interrupts when in USB device mode * - Added new Endpoint_SetEndpointDirection() macro for bidirectional endpoints * - Added new AVRISP project, a LUFA powered clone of the Atmel AVRISP-MKII programmer * - Added ShutDown() functions for all hardware peripheral drivers, so that peripherals can be turned off after use @@ -299,7 +405,7 @@ * - Added return values to the CDC and MIDI class driver transmit functions * - Optimized Endpoint_Read_Word_* and Pipe_Read_Word_* macros to reduce compiled size * - Added non-null function parameter pointer restrictions to USB Class drivers to improve user code reliability - * - Added new "Common" section to the class drivers, to hold all mode-independant definitions for clarity + * - Added new "Common" section to the class drivers, to hold all mode-independent definitions for clarity * - Moved SCSI command/sense constants into the Mass Storage Class driver, instead of the user-code * - Altered the SCSI commands in the LowLevel Mass Storage Host to save on FLASH space by reducing function calls * - Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() function so that it now performs size checks @@ -311,7 +417,7 @@ * - Add in new invalid event hook check targets to project makefiles to produce compilation errors when invalid event names * are used in a project * - The HID Report Parser now gives information on the total length of each report within a HID interface - * - The USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token has been removed - there are now seperate USB_Descriptor_* and + * - The USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token has been removed - there are now separate USB_Descriptor_* and * USB_StdDescriptor_* structures for both the LUFA and standardized element naming conventions so both may be used * * Fixed: @@ -322,7 +428,7 @@ * - Fixed HID report parser not resetting the FEATURE item count when a REPORT ID item is encountered * - Fixed USBtoSerial demos not reading in UDR1 when the USART receives data but the USB interface is not enumerated, * causing continuous USART receive interrupts - * - Fixed misspelt event name in the Class driver USBtoSerial demo, preventing correct operation + * - Fixed misspelled event name in the Class driver USBtoSerial demo, preventing correct operation * - Fixed invalid data being returned when a GetStatus request is issued in Device mode with an unhandled data recipient * - Added hardware USART receive interrupt and software buffering to the Benito project to ensure received data is not * missed or corrupted @@ -345,7 +451,7 @@ * New: * - Added new device class drivers and matching demos to the library for rapid application development * - Added new PrinterHost demo (thanks to John Andrews) - * - Added USB Missle Launcher project, submitted by Dave Fletcher + * - Added USB Missile Launcher project, submitted by Dave Fletcher * - Added new Benito Arduino Programmer project * - Added incomplete device and host mode demos for later enhancement * - Updated MassStorage device block write routines to use ping-pong Dataflash buffering to increase throughput by around 30% @@ -372,7 +478,7 @@ * - Added 404 Not Found errors to the webserver in the RNDIS demos to indicate invalid URLs * * Changed: - * - Deprecated psuedo-scheduler and removed dynamic memory allocator from the library (first no longer needed and second unused) + * - Deprecated pseudo-scheduler and removed dynamic memory allocator from the library (first no longer needed and second unused) * - The device-mode CALLBACK_USB_GetDescriptor() function now has an extra parameter so that the memory space in which the requested * descriptor is located can be specified. This means that descriptors can now be located in multiple memory spaces within a device. * - Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality @@ -387,21 +493,22 @@ * the existing Pipe_SetFiniteINRequests() function * - Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case * - Host mode demos now use sane terminal escape codes, so that text is always readable and events/program output is visually distinguished - * from oneanother using foreground colours + * from one another using foreground colours * - Internal per-device preprocessing conditions changed to per-device series rather than per-controller group for finer-grain * internal control * - Interrupts are no longer disabled during the processing of Control Requests on the default endpoint while in device mode * - AudioOutput demos now always output to board LEDs, regardless of output mode (removed AUDIO_OUT_LEDS project option) - * - Removed SINGLE_DEVICE_CONFIGURATION compile time option in favour of the new FIXED_NUM_CONFIGURATIONS option so that the exact number + * - Removed SINGLE_DEVICE_CONFIGURATION compile time option in favor of the new FIXED_NUM_CONFIGURATIONS option so that the exact number * of device configurations can be defined statically * - Removed VBUS events, as they are already exposed to the user application via the regular device connection and disconnection events - * - Renamed and altered existing events to properly seperate out Host and Device mode events + * - Renamed and altered existing events to properly separate out Host and Device mode events + * - All demos switched over from GNU99 standards mode to C99 standards mode, to reduce the dependancies on GCC-only language extensions * * Fixed: * - Changed bootloaders to use FLASHEND rather than the existence of RAMPZ to determine if far FLASH pointers are needed to fix - * bootloaders on some of the USB AVR devices where avr-libc erronously defines RAMPZ + * bootloaders on some of the USB AVR devices where avr-libc erroneously defines RAMPZ * - Fixes to MassStorageHost for better device compatibility (increase command timeout, change MassStore_WaitForDataReceived() - * to only unfreeze and check one data pipe at a time) to prevent incorrect device enumerations and freezes while trasferring data + * to only unfreeze and check one data pipe at a time) to prevent incorrect device enumerations and freezes while transferring data * - Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is * cleared to prevent endpoint type corruption * - Fixed issue opening CDC-ACM ports on hosts when the CDC device tries to send data before the host has set the line encoding @@ -420,7 +527,7 @@ * - Fixed HID Report Descriptor Parser not correctly resetting internal states when a REPORT ID element is encountered * - Fixed incorrect BUTTONS_BUTTON1 for the STK526 target * - Fixed RNDIS demos freezing when more than one connection was attempted simultaneously, causing memory corruption - * - Fixed USBtoSerial demo receiving noise from the USART due to pullup not being enabled + * - Fixed USBtoSerial demo receiving noise from the USART due to pull-up not being enabled * * * \section Sec_ChangeLog090605 Version 090605 @@ -436,7 +543,7 @@ * interface is skipped * - Clarified the size of library tokens which accept integer values in the Compile Time Tokens page, values now use the smallest datatype * inside the library that is able to hold their defined value to save space - * - Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only served to obfuscate code + * - Removed DESCRIPTOR_ADDRESS() macro as it was largely superfluous and only served to obfuscate code * - Rewritten event system to remove all macros, to make user code clearer * - Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley) * - Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code @@ -444,10 +551,10 @@ * - USB_IsConnected is now cleared before the USB_Disconnect() event is fired in response to VBUS being removed * - Fixed incorrect PID value being used in the USBtoSerial project (thanks to Phill) * - Deleted StdDescriptors.c, renamed USB_GetDescriptor() to CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the - * LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs + * LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preparation for the new USB class APIs * - Moved out each demos' functionality library files (e.g. Ring Buffer library) to /Lib directories for a better directory structure * - Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt - * - Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition + * - Fixed possible enumeration errors from spin-loops which may fail to exit if the USB connection is severed before the exit condition * becomes true * * @@ -480,7 +587,7 @@ * pipes can be used with the function * - The USB Host management task now saves and restores the currently selected pipe before and after the task completes * - Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev) - * - Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), + * - Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favor of new Endpoint_ClearIN(), Endpoint_ClearOUT(), * Pipe_ClearIN() and Pipe_ClearOUT() macros (done to allow for the detection of packets of zero length) * - Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API * - Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been @@ -497,7 +604,7 @@ * device descriptor * - Renamed functions in the HID parser to have a "USB_" prefix and the acronym "HID" in the name * - Fixed incorrect HID interface class and subclass values in the Mouse and KeyboardMouse demos (thanks to Brian Dickman) - * - Capitalised the "Descriptor_Search" and "Descriptor_Search_Comp" prefixes of the values in the DSearch_Return_ErrorCodes_t and + * - Capitalized the "Descriptor_Search" and "Descriptor_Search_Comp" prefixes of the values in the DSearch_Return_ErrorCodes_t and * DSearch_Comp_Return_ErrorCodes_t enums * - Removed "ERROR" from the enum names in the endpoint and pipe stream error code enums * - Renamed the USB_PowerOnErrorCodes_t enum to USB_InitErrorCodes_t, renamed the POWERON_ERROR_NoUSBModeSpecified enum value to @@ -507,7 +614,7 @@ * - Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander) * - USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode * rather than having the library pass only partially read header data to the application - * - The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure + * - The USB_UnhandledControlPacket event has had its parameters removed, in favor of accessing the new USB_ControlRequest structure * - The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent * - Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature request was not being handled) * - Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE @@ -604,7 +711,7 @@ * - Added new "dfu" and "flip" programming targets to project makefiles * - HID_PARSE_Sucessful enum member typo corrected to HID_PARSE_Successful * - Changed COLLECTION item structures in the HID descriptor parser to include the collection's Usage Page value - * - Serial driver now sets Tx line as output, enables pullup on Rx line + * - Serial driver now sets Tx line as output, enables pull-up on Rx line * - Fixed smaller USB AVRs raising multiple connection and disconnection events when NO_LIMITED_CONTROLLER_CONNECT is disabled * - Added HOST_DEVICE_SETTLE_DELAY_MS to give the host delay after a device is connected before it is enumerated * - Fixed KeyboardHostWithParser demo linking against the wrong global variables @@ -714,14 +821,14 @@ * * - Fixed SwapEndian_32() function in Common.h so that it now works correctly (wrong parameter types) * - Updated RNDIS demo - notification endpoint is no longer blocking so that it works with faulty Linux RNDIS - * implementations (where the notification endpoint is ignored in favour of polling the control endpoint) + * implementations (where the notification endpoint is ignored in favor of polling the control endpoint) * - Fixed incorrect Vendor Description string return size in RNDIS demo for the OID_GEN_VENDOR_DESCRIPTION OID token * - Added very basic TCP/IP stack and HTTP/TELNET servers to RNDIS demo * - Fixed DFU bootloader exit causing programming software to complain about failed writes * - Fixed DFU bootloader EEPROM programming mode wiping first flash page * - Fixed Clear/Set Feature device standard request processing code (fixing MassStorage demo in the process) * - Added support for the ATMEGA16U4 AVR microcontroller - * - Library licence changed from LGPLv3 to MIT license + * - Library license changed from LGPLv3 to MIT license * * * \section Sec_ChangeLog151 Version 1.5.1 - Released 31st July, 2008 @@ -783,7 +890,7 @@ * - Corrected OTG.h is now included when the AVR supports both Host and Device modes, for creating OTG products * - USB_DeviceEnumerationComplete event is now also fired when in device mode and the host has finished its enumeration * - Interrupt driven demos now properly restore previously selected endpoint when ISR is complete - * - USB_HOST_TIMEOUT_MS is now overridable in the user project makefile to a custom fixed timeout value + * - The value of USB_HOST_TIMEOUT_MS can now be overridden in the user project makefile to a custom fixed timeout value * - Renamed USB_Host_SOFGeneration_* macros to more friendly USB_Host_SuspendBus(), USB_Host_ResumeBus() * and USB_Host_IsBusSuspended() * - Renamed *_*_Is* macros to *_Is* to make all flag checking macros consistent, Pipe_SetInterruptFreq() is now @@ -847,7 +954,7 @@ * - Separated out SPI code into new SPI driver in AT90USBXXX driver directory * - Bootloader now returns correct PID for the selected USB AVR model, not just the AT90USB128X PID * - Added support for the RZUSBSTICK board - * - Bicolour driver removed in favour of generic LEDs driver + * - Bicolour driver removed in favor of generic LEDs driver * - Added support for the ATMEGA32U4 AVR * - Added MANUAL_PLL_CONTROL compile time option to prevent the USB library from manipulating the PLL * @@ -913,7 +1020,7 @@ * \section Sec_ChangeLog120 Version 1.2.0 - Released February 4th, 2008 * * - Added USB_DeviceEnumerationComplete event for host mode - * - Added new Scheduler_Init routine to preprepare the scheduler, so that tasks can be started and + * - Added new Scheduler_Init routine to prepare the scheduler, so that tasks can be started and * stopped before the scheduler has been started (via Scheduler_Start) * - Connection events in both Device and Host mode are now interrupt-driven, allowing the USB management * task to be stopped when the USB is not connected to a host or device @@ -932,7 +1039,7 @@ * * - Fixed DCONNI interrupt being enabled accidentally after a USB reset * - Fixed DDISCI interrupt not being disabled when a device is not connected - * - Added workaround for powerless pullup devices causing false disconnect interrupts + * - Added workaround for powerless pull-up devices causing false disconnect interrupts * - Added USB_DeviceEnumerationFailed event for Host mode * - AVR_HOST_GetDeviceConfigDescriptor routine no longer modifies ConfigSizePtr if a valid buffer * pointer is passed @@ -944,8 +1051,8 @@ * started/stopped, as well as USB_InitTaskPointer(), which was breaking dual device/host USB projects * - Changed scheduler to use the task name rather than IDs for setting the task mode, eliminating the * need to have a task ID list - * - ID transistion interrupt now raises the appropriate device/host disconnect event if device attached - * - Fixed double VBUS change (and VBUS -) event when detatching in device mode + * - ID transition interrupt now raises the appropriate device/host disconnect event if device attached + * - Fixed double VBUS change (and VBUS -) event when detaching in device mode * - Added ability to disable ANSI terminal codes by the defining of DISABLE_TERMINAL_CODES in makefile * - Removed return from ConfigurePipe and ConfigureEndpoint functions - use Pipe_IsConfigured() and * Endpoint_IsConfigured() after calling the config functions to determine success