aboutsummaryrefslogtreecommitdiff
path: root/Projects/XPLAINBridge/Lib
AgeCommit message (Collapse)Author
2012-05-15AppConfigHeaders: Make sure that in applications using an AppConfig.h ↵Dean
configuration file, all application headers include the configuration file. git-svn-id: http://lufa-lib.googlecode.com/svn/branches/AppConfigHeaders@2218 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-01Spell check library source code files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1777 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-15Updated the software USART code in the XPLAIN Bridge application so that the ↵Dean
incomming bits are sampled at their mid-point instead of starting point, to give maximum reliability (thanks to Anton). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1711 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-10Add static keyword to all project globals whose scope should be restricted ↵Dean
to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1661 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-12-26Make a new general RingBuffer.h misc library driver, instead of the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1614 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-12-12Added new RingBuffer_Peek() function to the lightweight ring buffer headers.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1602 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-26Fix typos in the XPLAINBridge project preventing compilation.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1595 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-25Changed the XPLAINBridge software UART to use the regular CTC mode instead ↵Dean
of the alternative CTC mode via the Input Capture register, to reduce user confusion. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1593 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-02Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean
generation in the AVRISP-MKII clone project. Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1550 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-02Rescue clock of the AVRISP-MKII moved to the AVR's OCR1A pin, so that the ↵Dean
clock can be generated at all times when 125KHz ISP programming mode is selected. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1549 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Fix SoftUART.c not compiling due to accidental check in of changes not yet ↵Dean
complete in the rest of the XPLAINBridge project code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1526 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-10Fixed ISR definition conflict in the XPLAIN bridge between the software UART ↵Dean
and the AVRISP-MKII ISP modules. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1517 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-29Add better description of the Ultra-Lightweight Ring Buffer header files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1455 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-01Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1431 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-30More spell checking of all source files -- correct missed errors, switch to ↵Dean
EN-GB spelling dictionary. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1426 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Update all demos, projects and bootloaders to indent all function ↵Dean
parameters, one per line, for better readability. Add missing const qualifiers to the demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1400 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-15Added ability to set the serial baud rate via the user's terminal in the ↵Dean
XPLAINBridge project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1390 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-15Fixed possible buffer overrun in the XPLAINBridge project when in serial ↵Dean
bridge mode. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1388 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-12Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer ↵Dean
overruns will not occur regardless of hardware and baud rate settings. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1373 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-12Alter the ring buffer library headers to have both atomic and non-atomic ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1372 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-12Add glitch protection to the software UART in the XPLAINBridge project code, ↵Dean
so that very short glitches on the RX line don't cause a frame reception to occur. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1371 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-11Major changes to the XPLAINBridge software UART code for performance and ↵Dean
reliability. New code reduces the number of missed characters and misread characters. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1370 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-24Make XPLAINBridge serial bridge much more reliable for the reception of ↵Dean
characters from the XMEGA through the software UART interface. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1351 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-24Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial ↵Dean
projects, so that they should never become full under normal conditions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1350 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-16Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean
the new 1.7 Doxygen's default stylesheet is much better. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1341 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-12Slight improvements to the reliability of the software UART in the ↵Dean
XPLAINBridge project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1330 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-10Oops - light weight ring buffer documentation used \ref instead of \param to ↵Dean
document function parameters. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1327 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-10Add missing documentation to the lightweight ring buffer code in the ↵Dean
XPLAINBridge project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1326 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03Minor documentation cleanups.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1312 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26Replace ring buffer library in Benito and USBtoSerial projects with the new ↵Dean
lightweight ring buffer header to improve reliability. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1286 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26Add better documentation to the Software UART code in the XPLAINBridge project.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1282 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26Switch software UART over to timer 1 and remove timer prescaling to try to ↵Dean
prevent integer rounding errors and thus minimize the possible error of the UART code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1281 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26Rename software USART driver globals to make the code more in line with the ↵Dean
rest of the XPLAINBridge project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1280 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26Make software USART used in the XPLAINBridge project directly check and ↵Dean
store into the ring buffers, rather than polling from the main program loop to avoid added latency. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1279 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26Create a new LightweightRingBuffer.h header file for the XPLAIN project to ↵Dean
abstract out the new ring buffer without a performance penalty. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1278 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26The RingBuff library code has been replaced in the XPLAINBridge project with ↵Dean
an ultra lightweight buffer to help improve the reliability of the bridge. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1277 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-18Add const keyword to the demo function parameters where possible.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1212 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-16Clean up XPLAINBridge code.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1133 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-30Update copyright year to 2010.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1032 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-28Fix MIT license language to make its intent clearer.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1019 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-20Add const qualifier to the parameters of Projects' functions where possible.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@992 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-03Started implementing the low level PDI protocol in the AVRISP project, for ↵Dean
XMEGA device programming. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@940 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-02Add new more reliable software UART for the XPLAINBridge project by David ↵Dean
Prentice and Peter Danneger. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@939 d5102386-fcda-11dd-9fdb-3debd5008f28