aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Benito/Lib/LightweightRingBuff.h
Commit message (Collapse)AuthorAgeFilesLines
* Make a new general RingBuffer.h misc library driver, instead of the ↵Dean Camera2010-12-261-211/+0
| | | | | | | | per-application LightweightRingBuff.h ring buffers. Change over projects to use the new driver. Add ORDERED_EP_CONFIG to the device Projects (only) that use only a single class driver, or where the endpoint ordering is fixed, to save on compiled binary size. Added new GCC_FORCE_POINTER_ACCESS() macro to correct GCC's mishandling of struct pointers.
* Added new RingBuffer_Peek() function to the lightweight ring buffer headers.Dean Camera2010-12-121-0/+11
|
* Oops - reduce size of each ring buffer in the USBtoSerial and Benito ↵Dean Camera2010-11-211-1/+1
| | | | projects so that the RAM is not overflowed on the smaller USB AVR targets (thanks to Andrei from Microsin.ru).
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-19/+20
| | | | tool made by Laszlo Monda
* Add better description of the Ultra-Lightweight Ring Buffer header files.Dean Camera2010-08-291-1/+8
|
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-011-55/+72
| | | | | | | | | | | | | | 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.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-301-2/+2
| | | | EN-GB spelling dictionary.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-2/+4
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Fixed possible buffer overrun in the XPLAINBridge project when in serial ↵Dean Camera2010-07-151-0/+20
| | | | bridge mode.
* Alter the ring buffer library headers to have both atomic and non-atomic ↵Dean Camera2010-07-121-4/+37
| | | | | | 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.
* Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial ↵Dean Camera2010-06-241-1/+1
| | | | projects, so that they should never become full under normal conditions.
* Oops - light weight ring buffer documentation used \ref instead of \param to ↵Dean Camera2010-06-101-4/+4
| | | | document function parameters.
* Document lightweight ring buffer header files.Dean Camera2010-06-061-19/+49
|
* Add the svn:eol-style property onto new files which where missing it to ↵Dean Camera2010-06-061-89/+89
| | | | ensure uniform line endings.
* Minor documentation cleanups.Dean Camera2010-06-031-2/+2
|
* Replace ring buffer library in Benito and USBtoSerial projects with the new ↵Dean Camera2010-05-261-0/+90
lightweight ring buffer header to improve reliability.