aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
Commit message (Collapse)AuthorAgeFilesLines
...
* Added new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-168-26/+110
| | | | | | USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility). Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
* Fix HID class device driver -- if a SetIDle request is issued with the LSB ↵Dean Camera2009-07-154-53/+71
| | | | | | | | of wValue set to zero, the idle period must be set for all HID interfaces. Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman). Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor.
* Added module file dependancy information to the USB class drivers.Dean Camera2009-07-1413-0/+53
|
* Added better module summaries.Dean Camera2009-07-1415-18/+36
|
* Fix broken Pipe stream function templates due to mixed const/no const use in ↵Dean Camera2009-07-132-7/+6
| | | | prototypes.
* Added new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream ↵Dean Camera2009-07-1312-881/+756
| | | | functions. Changed Endpoint.c and Pipe.c to use a templated system to build the seperate functions, rather than duplicating each function's code many times.
* Added compatibility list to the documentation of each individual demo.Dean Camera2009-07-133-3/+8
| | | | | | Documented FAST_STREAM_TRANSFERS compile time option. Reduced the TCP window size for the RNDIS demos (Class and LowLevel) to make them compatible with the AT90USB64x.
* Added new HOST_STATE_WaitForDeviceRemoval host state machine state for ↵Dean Camera2009-07-136-19/+108
| | | | | | non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state. Added verbose documentation for each of the USB Host state machine states.
* Seperated out parts of the PrinterHost incomplete demo into a seperate Lib ↵Dean Camera2009-07-138-19/+33
| | | | | | subdirectory. Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
* Added incomplete PrinterHost demo application.Dean Camera2009-07-112-18/+31
| | | | | | Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder. Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
* Dataflash_WaitWhileBusy() now always ensures that the dataflash is ready for ↵Dean Camera2009-06-294-12/+31
| | | | | | | | the next command immediately after returning, no need to call Dataflash_ToggleSelectedChipCS() afterwards. Added new DATAFLASH_CHIP_MASK() macro to the Dataflash driver, which returns the Dataflash select mask for the given chip index. Updated MassStorage device block write routines to use ping-pong Dataflash buffering to increase throughput by around 30%.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-2842-312/+710
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Reduce struct name pollution - group typedef struct names by class driver ↵Dean Camera2009-06-2615-331/+266
| | | | name where appropriate.
* Rename some of the library documentation files.Dean Camera2009-06-262-0/+0
|
* Split Getting Started page of the documentation into its own section.Dean Camera2009-06-268-123/+148
|
* Optimize vendor/product description string display code in MassStorageHost.Dean Camera2009-06-266-8/+19
| | | | | | | | Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
* Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset ↵Dean Camera2009-06-233-4/+5
| | | | is issued while not processing a command.
* Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting ↵Dean Camera2009-06-235-9/+8
| | | | infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
* Fixed CDCHost demo unfreezing IN pipes during configuration, rather than ↵Dean Camera2009-06-234-1/+30
| | | | | | during use. Changed Pipe stream functions to automatically set the pipe token, allowing them to be used on bidirectional pipes without having to explicitly call Pipe_SetPipeToken() beforehand.
* Add demos/bootloaders/projects overview to the manual.Dean Camera2009-06-223-13/+98
|
* Corrected the ADC driver for the ATMEGA16U4 and ATMEGA32U4 (thanks to ↵Dean Camera2009-06-224-8/+34
| | | | Opendous Inc.).
* Optimize unique serial number reading code for size -- remove atoi/toupper ↵Dean Camera2009-06-211-13/+35
| | | | references, replace with hand-rolled code as the input has known size constraints.
* Added new USE_INTERNAL_SERIAL define for using the unique serial numbers in ↵Dean Camera2009-06-215-24/+30
| | | | some AVR models as the USB device's serial number, added NO_INTERNAL_SERIAL compile time option to turn off new serial number reading code. Updated Mass Storage and CDC based demos to use the new device serial number if the device it is compiled for supports it.
* Trim unique serial number created by the USE_INTERNAL_SERIAL option to 12 ↵Dean Camera2009-06-213-3/+4
| | | | characters rather than 20 - apparently Windows will implode if a serial number is too long.
* Add new temp LUFA project logo to the manual.Dean Camera2009-06-214-5/+46
|
* Added USE_INTERNAL_SERIAL compile time option to automatically read out the ↵Dean Camera2009-06-2010-36/+140
| | | | internal unique serial number as the device's serial number descriptor on supported AVR models.
* Clean up RNDIS demo type define names.Dean Camera2009-06-196-43/+48
|
* Fix makefiles -- the auto-addition of -D switches to each LUFA compile time ↵Dean Camera2009-06-193-2/+3
| | | | option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.
* Move LUFA compile time options to a new section in the application makefiles ↵Dean Camera2009-06-192-3/+4
| | | | for clarity.
* Extend USB_GetDeviceConfigDescriptor() routine to require the configuration ↵Dean Camera2009-06-195-8/+16
| | | | number within the device to fetch, to add support for multi-configuration devices.
* Re-add in simple scheduler for compatibility with legacy code, mark all ↵Dean Camera2009-06-196-29/+446
| | | | scheduler related files as deprecated.
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-1821-409/+546
| | | | structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
* Added new USB_Host_ClearPipeStall() convenience function to clear a stall ↵Dean Camera2009-06-187-2/+72
| | | | | | | | | | condition on an attached device's endpoint. Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor. 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. Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
* Remove hardcoded DOT path from all Doxygen config files.Dean Camera2009-06-161-1/+1
| | | | Better documentation for the MissleLauncher project - add credit to PyLauncher project.
* Pipe_GetErrorFlags() now returns additional error flags for overflow and ↵Dean Camera2009-06-163-3/+13
| | | | | | underflow errors. Change MIDI demos to use real MIDI command values, and shift for the USB wrapper, rather than shift for the MIDI bytes. This is a little confusing for the MIDI USB wrapper, but allows for the use of real standardized MIDI command values.
* Added USB Missle Launcher project, submitted by Dave Fletcher.Dean Camera2009-06-164-2/+8
|
* Added new USB_Host_SetDeviceConfiguration() convenience function. Change ↵Dean Camera2009-06-163-0/+32
| | | | over Low Level host demos to use the new routine.
* Move main library documentation pages into a new ManPages subdirectory.Dean Camera2009-06-1520-17/+0
|
* Remove ConfigDescriptor.c/.h files from the ClassDriver Host demos, as they ↵Dean Camera2009-06-152-0/+73
| | | | will be obsoleted when the Host mode class drivers are complete. Add new StillImage stub class driver common header.
* Add author image to library documentation.Dean Camera2009-06-153-1/+3
|
* Use sub pages in main library documentation to improve readability.Dean Camera2009-06-1511-80/+173
|
* Fixed broken HIDReportParser.c.Dean Camera2009-06-151-1/+3
|
* More Doxygen fixes - ensure no undocumented function parameters.Dean Camera2009-06-154-3/+34
|
* Enhanced class drivers to use the same public/private section seperations as ↵Dean Camera2009-06-1513-351/+391
| | | | other portions of the library.
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-1442-1040/+2579
| | | | | | Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
* Fix errors from last commit.Dean Camera2009-06-142-7/+5
|
* Changed per-device controller preprocessor checks over to per-device series ↵Dean Camera2009-06-1411-51/+56
| | | | | | for better device control. Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
* Changed to new device mode Class Driver function name prefixes to make way ↵Dean Camera2009-06-1112-110/+111
| | | | for similar host mode Class drivers.
* Move temp Todo list from the Changelog to a new Future Changes page in the ↵Dean Camera2009-06-102-8/+22
| | | | documentation.
* Deleted Host ClassDriver demos -- not yet started, faster to rebase new ↵Dean Camera2009-06-093-1/+4
| | | | | | ClassDriver demos from the newly schedulerless LowLevel host demos rather than re-convert each demo from the previous scheduler-based implementations. Fixes to MassStorageHost demo to improve compatibility with more USB drives.