- Sep 15, 2010
-
-
Dean Camera authored
Make project makefiles correctly clean intermeditary build files from assembly and C++ sources (thanks to Daniel Czigany).
-
- Sep 09, 2010
-
-
Dean Camera authored
-
- Aug 31, 2010
-
-
Dean Camera authored
Clarify in the project documentation files what the each of the different USB AVR device "series" comprises of.
-
- Aug 29, 2010
-
-
Dean Camera authored
-
- Aug 24, 2010
-
-
Dean Camera authored
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).
-
- Aug 22, 2010
-
-
Dean Camera authored
Moved calls to Device mode Class Driver events to after the request has been 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.
-
- Aug 09, 2010
-
-
Dean Camera authored
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.
-
- Aug 08, 2010
-
-
Dean Camera authored
Fix invocations of avr-size in all makefiles broken on unpatched *nix systems, due to the recent update to the latest WinAVR makefile template.
-
- Aug 02, 2010
-
-
Dean Camera authored
-
- Aug 01, 2010
-
-
Dean Camera authored
Fix XPLAINBridge project discarding characters from the USB interface due to 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.
-
- Jul 31, 2010
-
-
Dean Camera authored
Fixed Serial peripheral driver not turning off the USART before reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock).
-
- Jul 30, 2010
-
-
Dean Camera authored
More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary.
-
Dean Camera authored
Altered the CDC Deivice and Host Class drivers' receive byte routines, so 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.
-
Dean Camera authored
Oops - need to turn off USART via control register B before reconfiguring, fix ordering of USART control register modifications in the Benito and USBtoSerial projects.
-
- Jul 29, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Fixed Benito and USBtoSerial projects not turning off the USART before reconfiguring it, which could cause incorrect operation to occur (thanks to Bob Paddock).
-
- Jul 21, 2010
-
-
Dean Camera authored
Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability. Add missing const qualifiers to the demos.
-
- Jul 19, 2010
-
-
Dean Camera authored
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.
-
- Jul 18, 2010
-
-
Dean Camera authored
-
- Jul 15, 2010
-
-
Dean Camera authored
Disable strict aliasing explicitly in the project makefiles, as this is apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
-
Dean Camera authored
Removed the automated checking of event names in the demo, project and 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.
-
Dean Camera authored
-
Dean Camera authored
-
- Jul 13, 2010
-
-
Dean Camera authored
-
- Jul 12, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns will not occur regardless of hardware and baud rate settings.
-
Dean Camera authored
Alter the ring buffer library headers to have both atomic and non-atomic 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.
-
- Jul 02, 2010
-
-
Dean Camera authored
Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific 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.
-
- Jun 24, 2010
-
-
Dean Camera authored
Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial projects, so that they should never become full under normal conditions.
-
- Jun 10, 2010
-
-
Dean Camera authored
Oops - light weight ring buffer documentation used \ref instead of \param to document function parameters.
-
- Jun 06, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Add the svn:eol-style property onto new files which where missing it to ensure uniform line endings.
-
- May 26, 2010
-
-
Dean Camera authored
Replace ring buffer library in Benito and USBtoSerial projects with the new lightweight ring buffer header to improve reliability.
-
- May 23, 2010
-
-
Dean Camera authored
-
- May 20, 2010
-
-
Dean Camera authored
Renamed CDC device class demos' ManagementEndpoint descriptor to NotificationEndpoint to more accurately indicate its purpose.
-
- May 08, 2010
-
-
Dean Camera authored
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
-
- May 07, 2010
-
-
Dean Camera authored
Change over instances of "make" in the makefiles to "$(MAKE)" to allow for the make tool to be overridden.
-
- May 06, 2010
-
-
Dean Camera authored
Remove incorrect Abstract Call Management class specific descriptor from the CDC demos, bootloaders and projects.
-
- May 02, 2010
-
-
Dean Camera authored
Change AVRISP project's timeout to be interrupt based again, but make the interrupt itself interruptable and use a seperate assembly file to hand-optimize the ISR code. 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).
-
- Apr 28, 2010
-
-
Dean Camera authored
Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel directory as it is hardware-dependent.
-