aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
Commit message (Collapse)AuthorAgeFilesLines
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-016-32/+28
| | | | | | | | | | | | | | a double read from the endpoint. Make XPLAINBridge and USBtoSerial projects more reliable by forcing a flush if the UART-to-USB buffer becomes nearly full. Reduce locking in the LightweightRingBuffer.h header files by only locking on the update of the buffer count, and require insertions and removals from each buffer to occur in only one execution thread. Fix CDC_*_ReceiveByte() returning 0 when the interface is not configured, instead of the new -1 error value. Fix CDC_Host_ReceiveByte() not re-freezing the pipe if no packet has been received. Remove redundant Pipe token set commands in the CDC and RNDIS host class drivers.
* Fixed Serial peripheral driver not turning off the USART before ↵Dean Camera2010-07-312-9/+13
| | | | reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock).
* Oops - fix mixed "initialize" and "initialise" - opt for American spelling ↵Dean Camera2010-07-305-7/+7
| | | | due to its wide use in technical standards.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3029-44/+44
| | | | EN-GB spelling dictionary.
* Fix typo in DualVirtualSerial.c due to the changed CDC Device APIs that was ↵Dean Camera2010-07-301-1/+2
| | | | preventing the demo from being compiled.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-306-37/+72
| | | | | | that no data is indicated by a negative return value. Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
* Spell check all source files once again to find any typos.Dean Camera2010-07-297-19/+19
|
* Fixed Benito and USBtoSerial projects not turning off the USART before ↵Dean Camera2010-07-291-0/+2
| | | | reconfiguring it, which could cause incorrect operation to occur (thanks to Bob Paddock).
* Add special support to the AVRISP-MKII for the new model USBTINY-MKII's ↵Dean Camera2010-07-292-1/+6
| | | | | | | | additional LED to indicate target power source. Add support to the USBTINY-MKII's additional LED in the board's LED driver header. Changed LED indicator masks for the AVRISP-MKII project, so that there are defined roles for each LED.
* Oops - remove duplicated SPI driver init mask.Dean Camera2010-07-292-4/+0
|
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-292-1/+12
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Use static inline intermediatary functions in Endpoint.h to handle the ↵Dean Camera2010-07-271-14/+36
| | | | masking for the private endpoint configuration routine, instead of performing the masking in the Endpoint_ConfigureEndpoint() macro.
* Move over message ID specific header data to unions inside the standard TMC ↵Dean Camera2010-07-271-2/+2
| | | | header structure, so that all header data is read in one chunk in the incomplete TMC demo.
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-263-8/+8
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Added periodic flush timer to the Benito project. Alter the serial ↵Dean Camera2010-07-251-1/+1
| | | | transmission code so that sent bytes do not block the remainder of the main program code from running.
* Add TMC device capabilities to the incomplete TMC demo.Dean Camera2010-07-231-1/+1
|
* Update size of compiled Mouse demo in documentation, fix indenting in Device.h.Dean Camera2010-07-232-2/+2
|
* Convert over internal pseudo-function macros to true inline functions for ↵Dean Camera2010-07-2220-1025/+1652
| | | | added type-safety and compile-checking.
* Added start of a low level device Test and Measurement class demo (thanks to ↵Dean Camera2010-07-222-1/+2
| | | | Peter Lawrence).
* Replace internal Pipe_BytesToEPSizeMask() routine with a new version which ↵Dean Camera2010-07-211-12/+10
| | | | results in smaller code.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-2170-297/+553
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel ↵Dean Camera2010-07-2119-52/+71
| | | | | | | | directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
* Add missing const qualifier to the parameters of the ↵Dean Camera2010-07-213-208/+198
| | | | | | USB_GetNextDescriptorComp() function. Reduce spacing of the structure elements in StdDescriptors.h to make the code more readable.
* Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint ↵Dean Camera2010-07-202-1/+2
| | | | to become ready (thanks to Robin Green).
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-1931-83/+107
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-158-28/+14
| | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
* Added ability to set the serial baud rate via the user's terminal in the ↵Dean Camera2010-07-151-0/+1
| | | | XPLAINBridge project.
* Fixed HID device class driver still using PrevReportINBuffer for GetReport ↵Dean Camera2010-07-153-2/+5
| | | | control requests even when it has been set to NULL by the user application (thanks to Axel Rohde).
* Remove the timeout period extension code from the AVRISP project, as no ↵Dean Camera2010-07-131-0/+2
| | | | single command should ever exceed the maximum timeout period. Extend timeout period to 1 second per command, so that an accidental timeout will never occur.
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-1316-41/+43
| | | | were missing it.
* Add AVRStudio 4 project files to the ClassDriver Device mode demos.Dean Camera2010-07-131-1/+1
|
* Add AVRStudio 4 project files to the LowLevel Host mode demos.Dean Camera2010-07-131-2/+0
|
* Add AVRStudio 4 project files for the library bootloaders.Dean Camera2010-07-131-1/+1
|
* Add first lot of AVRStudio project files for some of the library projects.Dean Camera2010-07-132-1/+2
|
* Add missing eol-style properties to new source files.Dean Camera2010-07-121-52/+52
|
* Alter the ring buffer library headers to have both atomic and non-atomic ↵Dean Camera2010-07-121-0/+1
| | | | | | insertion/removal routines. Modify the existing projects so that buffer operations performed in an ISR use the shorted non-atomic versions, as they are already performed in a blocking ISR. Alter USBtoSerial demo so that it does not enter a blocking loop to send data from the USB to the USART, as this can cause dropped bytes in the reception code if large amounts of data are sent in both directions at the same time. Added a flush timer to the USBtoSerial code for the USART to USB interface, so that multiple bytes can be sent in the same USB packet.
* Major changes to the XPLAINBridge software UART code for performance and ↵Dean Camera2010-07-111-0/+1
| | | | reliability. New code reduces the number of missed characters and misread characters.
* Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean Camera2010-07-092-5/+36
| | | | | | functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts. Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
* Add a new RFCOMM_ChannelOpened() callback event for when logical RFCOMM ↵Dean Camera2010-07-081-0/+1
| | | | channels are opened in the BluetoothHost demo. Make the demo echo back sent characters to the remote device.
* Make main readme file easier to read, and make documentation build ↵Dean Camera2010-07-062-3/+4
| | | | instructions clearer.
* Improve commenting of the Dataflash stub board driver file, to prevent ↵Dean Camera2010-07-041-7/+15
| | | | confusion of what the dataflash selection masks need to be. Update stub driver to automatically interleave data between the chips if two Dataflash chips are present.
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-026-51/+86
| | | | | | functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
* Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame ↵Dean Camera2010-06-231-0/+1
| | | | element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.
* Added new pgm_read_ptr() macro to Common.h for reading of pointers out of ↵Dean Camera2010-06-222-3/+40
| | | | | | flash memory space. Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
* Fixed broken PDI EEPROM Section Erase functionality in the AVRISP-MKII project.Dean Camera2010-06-172-1/+1
|
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-1747-910/+917
| | | | Minor tweaks to the library documentation.
* Fix compile and Doxygen errors due to the spell-check changes in the source ↵Dean Camera2010-06-163-4/+4
| | | | code.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-1634-678/+131
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Fix HID parser documentation for the default maximum report/path/etc. ↵Dean Camera2010-06-151-2/+2
| | | | elements so that it matches the current code values.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-1514-119/+113
|