aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changed all Device mode LowLevel demos and Device Class drivers so that the ↵Dean Camera2010-08-2218-167/+82
| | | | 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.
* Moved calls to Device mode Class Driver events to after the request has been ↵Dean Camera2010-08-226-9/+18
| | | | | | acknowledged, so that long event handlers do do skew the timing of the control requests. Fixed USBtoSerial and Benito project SetLineEncoding calls failing if the USART is busy, due to the RX ISR delaying the control request handler.
* Added compile time error to the AVRISP-MKII project when built for the U4 ↵Dean Camera2010-08-223-0/+8
| | | | chips, as the default VTARGET detection ADC channel does not exist on these chips (thanks to Marco).
* Clarify in the documentation that the Audio demos and driver is for the ↵Dean Camera2010-08-217-23/+23
| | | | Audio 1.0 specification, not the newer (and more advanced/less supported) 2.0 specification.
* Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage ↵Dean Camera2010-08-212-4/+0
| | | | and MIDI Device Class demos.
* Fixed critical pipe/endpoint memory allocation issue where the bank memory ↵Dean Camera2010-08-203-17/+77
| | | | 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).
* Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage ↵Dean Camera2010-08-204-4/+15
| | | | class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger)
* Fixed MassStorage based demos and projects resetting the SCSI sense values ↵Dean Camera2010-08-1817-275/+375
| | | | | | before the command is executed, leading to missed SCSI sense values when the host retrieves the sense key (thanks to Martin Degelsegger). 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.
* Fixed USB_GetHIDReportItemInfo() function modifying the given report item's ↵Dean Camera2010-08-103-6/+12
| | | | data when the report item does not exist within the supplied report of a multiple report HID device.
* Tighten up the code in the delta movement detection code in the ↵Dean Camera2010-08-094-32/+18
| | | | MouseHostWithParser and JoystickHostWithParser demos. Make the ClassDriver JoystickHostWithParser demo use the HID_ALIGN_DATA() macro instead of manual shifting and casting.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-0943-513/+377
| | | | | | 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.
* Add notification endpoint to the incomplete TMC demo.Dean Camera2010-08-096-7/+37
|
* Commit for the 100807 release.Dean Camera2010-08-094-5/+5
|
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-0868-70/+277
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Fixed software application start command broken in the DFU class bootloader ↵Dean Camera2010-08-054-11/+19
| | | | when dfu-programmer is used due to application start address corruption.
* Ensure all demos now compile in C99 standards mode, and not GNU99 (C99 + GNU ↵Dean Camera2010-08-037-18/+19
| | | | extensions).
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-0266-96/+166
| | | | in some situations.
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-0113-216/+269
| | | | | | | | | | | | | | 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.
* Invert the logic for the VBUS power light in the AVRISP-MKII project for the ↵Dean Camera2010-08-011-1/+1
| | | | USBTINY-MKII board target.
* Re-add deleted linker options to the Bootloader makefiles, which was ↵Dean Camera2010-07-312-0/+2
| | | | preventing the compiled application from being shifted into the bootloader section address space.
* Fixed Serial peripheral driver not turning off the USART before ↵Dean Camera2010-07-315-14/+18
| | | | 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-3011-13/+13
| | | | due to its wide use in technical standards.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-30115-158/+158
| | | | EN-GB spelling dictionary.
* Spell check more of the third party libraries used by LUFA.Dean Camera2010-07-3010-37/+37
|
* Add the formula used to obtain the bootloader start address to the ↵Dean Camera2010-07-302-6/+10
| | | | Bootloader makefiles to help users compute the correct address for each device based on the bootloader section size.
* Fix typo in DualVirtualSerial.c due to the changed CDC Device APIs that was ↵Dean Camera2010-07-302-2/+3
| | | | preventing the demo from being compiled.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-3013-59/+89
| | | | | | 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.
* Oops - need to turn off USART via control register B before reconfiguring, ↵Dean Camera2010-07-303-8/+8
| | | | fix ordering of USART control register modifications in the Benito and USBtoSerial projects.
* Spell check all source files once again to find any typos.Dean Camera2010-07-29116-600/+600
|
* Fixed Benito and USBtoSerial projects not turning off the USART before ↵Dean Camera2010-07-293-6/+23
| | | | 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-294-7/+20
| | | | | | | | 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.
* Remove obsolete macros and preprocessor checks from the AVRISP-MKII ↵Dean Camera2010-07-291-29/+16
| | | | project's V2Protocol command handler header file.
* 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-2911-90/+269
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Add TMC header read and write functions, so that TMC data can now be ↵Dean Camera2010-07-283-53/+89
| | | | | | exchanged in both directions. Minor update to the LowLevel MassStorage device demo, so that the ReadInCommandBlock() performs the data OUT endpoint selection and packet arrival test.
* 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-274-11/+40
| | | | 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-2611-66/+94
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Add comments to the currently completed portions of the incomplete Test and ↵Dean Camera2010-07-261-1/+22
| | | | Measurement Class demo.
* Add missing INTERRUPT_CONTROL_ENDPOINT compile time option to the Mass ↵Dean Camera2010-07-267-45/+62
| | | | | | Storage device projects/demos and incomplete Test and Measurement Class demo, which was accidentally removed during the makefile updates. Alter Test and Measurement Class demo's request handlers to accept, process and correctly return the fields indicated in the specification.
* Add stream callback flags and class specific control request handler code to ↵Dean Camera2010-07-265-18/+167
| | | | | | the incomplete Test and Measurement Class device demo. Change over the keyboard demo's manufacturer name back to the primary author of the demo.
* Added periodic flush timer to the Benito project. Alter the serial ↵Dean Camera2010-07-255-14/+29
| | | | 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-234-3/+68
|
* 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-2221-1037/+1671
| | | | added type-safety and compile-checking.
* Future proof the XPROG protocol of the AVRISP-MKII project, so that non PDI ↵Dean Camera2010-07-221-2/+2
| | | | and TPI requests return failure.
* Added start of a low level device Test and Measurement class demo (thanks to ↵Dean Camera2010-07-229-3/+1238
| | | | Peter Lawrence).
* Fix up minor whitespace formatting errors.Dean Camera2010-07-229-9/+9
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-21271-625/+1316
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Replace internal Pipe_BytesToEPSizeMask() routine with a new version which ↵Dean Camera2010-07-211-12/+10
| | | | results in smaller code.