aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/XPLAINBridge/XPLAINBridge.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrights for 2014.Dean Camera2014-01-041-2/+2
|
* Extract interface numbers into enums.László Monda2013-10-061-1/+1
|
* Pseudo-port the projects and dual role demos for possible later multi-arch ↵Dean Camera2013-05-191-2/+4
| | | | support.
* Update copyright year to 2013.Dean Camera2013-01-031-2/+2
|
* Minor documentation improvements.Dean Camera2012-10-051-1/+1
|
* Use the framework provided GlobalInterruptEnable() function instead of the ↵Dean Camera2012-09-171-1/+1
| | | | AVR8/XMEGA specific sei() macro, for future demo/project portability.
* Oops - mask out the endpoint address direction when comparing the IN and OUT ↵Dean Camera2012-05-211-1/+1
| | | | endpoint indexes in the AVRISP-MKII clone and XPLAINBridge projects.
* Fix AVRISP-MKII clone and XPLAINBridge projects not properly configuring the ↵Dean Camera2012-05-211-3/+2
| | | | AVRISP IN endpoint when needed if RESET_TOGGLES_LIBUSB_COMPAT compile time option is used.
* Alter the XPLAINBridge and AVRISP-MKII clone projects so that the ↵Dean Camera2012-05-201-11/+18
| | | | descriptors from the AVRISP-MKII clone project can be directly used in the XPLAINBridge project. Add support for RESET_TOGGLES_LIBUSB_COMPAT option in the XPLAINBridge project.
* Reintegrate the FullEPAddresses development branch into trunk.Dean Camera2012-04-141-17/+21
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-1/+1
| | | | trailing whitespace at the end of each line.
* Minor demo/project documentation and style fixes.Dean Camera2011-07-111-4/+4
|
* Correct UC3 global interrupt functions.Dean Camera2011-04-081-1/+1
| | | | | | Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function. Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-101-2/+2
| | | | | | 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.
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Rename RingBuffer header functions and typedefs from RingBuff_* to ↵Dean Camera2010-12-311-4/+4
| | | | RingBuffer_* so that it matches the header name.
* Make a new general RingBuffer.h misc library driver, instead of the ↵Dean Camera2010-12-261-3/+9
| | | | | | | | 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.
* Fixed possible lost data in the XPLAINBridge, USBtoSerial and Benito ↵Dean Camera2010-12-121-2/+12
| | | | projects when the host exceeds the packet timeout period on received packets as set by USB_STREAM_TIMEOUT_MS (thanks to Justin Rajewski).
* Fixed Benito project discarding incoming data from the USB virtual serial ↵Dean Camera2010-11-231-1/+1
| | | | | | port when the USART is busy. Minor documentation improvements.
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-051-2/+2
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Fixed USBtoSerial and XPLAINBridge demos discarding data from the PC if the ↵Dean Camera2010-11-031-4/+10
| | | | send buffer becomes full.
* 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-11/+12
| | | | tool made by Laszlo Monda
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-241-1/+1
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-12/+7
| | | | | | 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.
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-011-7/+11
| | | | | | | | | | | | | | 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-311-1/+1
| | | | reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock).
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-301-1/+2
| | | | | | 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.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-1/+9
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Added ability to set the serial baud rate via the user's terminal in the ↵Dean Camera2010-07-151-0/+10
| | | | XPLAINBridge project.
* Fixed possible buffer overrun in the XPLAINBridge project when in serial ↵Dean Camera2010-07-151-1/+1
| | | | bridge mode.
* Alter the ring buffer library headers to have both atomic and non-atomic ↵Dean Camera2010-07-121-6/+7
| | | | | | 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.
* Add glitch protection to the software UART in the XPLAINBridge project code, ↵Dean Camera2010-07-121-1/+1
| | | | so that very short glitches on the RX line don't cause a frame reception to occur.
* Major changes to the XPLAINBridge software UART code for performance and ↵Dean Camera2010-07-111-4/+15
| | | | reliability. New code reduces the number of missed characters and misread characters.
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-021-2/+2
| | | | | | 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.
* Moved calls to V2Params_UpdateParamValues() out of the main AVRISP-MKII and ↵Dean Camera2010-06-211-8/+5
| | | | XPLAINBridge project loops and into the AVRISP management function.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-161-1/+1
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Oops - temp code left in the XPLAINBridge project which prevented it from ↵Dean Camera2010-06-121-2/+0
| | | | entering programmer mode.
* Slight improvements to the reliability of the software UART in the ↵Dean Camera2010-06-121-1/+3
| | | | XPLAINBridge project.
* Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to ↵Dean Camera2010-05-271-6/+7
| | | | | | the AVRISP-MKII programmer project to set the VTARGET reference voltage and scale factor. Fixed XPLAINBridge project not correctly reading the XMEGA's supply voltage when reporting back to the host.
* Replace ring buffer library in Benito and USBtoSerial projects with the new ↵Dean Camera2010-05-261-2/+6
| | | | lightweight ring buffer header to improve reliability.
* Switch software UART over to timer 1 and remove timer prescaling to try to ↵Dean Camera2010-05-261-1/+1
| | | | prevent integer rounding errors and thus minimize the possible error of the UART code.
* Rename software USART driver globals to make the code more in line with the ↵Dean Camera2010-05-261-1/+1
| | | | rest of the XPLAINBridge project.
* Make software USART used in the XPLAINBridge project directly check and ↵Dean Camera2010-05-261-10/+2
| | | | store into the ring buffers, rather than polling from the main program loop to avoid added latency.
* Create a new LightweightRingBuffer.h header file for the XPLAIN project to ↵Dean Camera2010-05-261-28/+9
| | | | abstract out the new ring buffer without a performance penalty.
* The RingBuff library code has been replaced in the XPLAINBridge project with ↵Dean Camera2010-05-261-14/+28
| | | | an ultra lightweight buffer to help improve the reliability of the bridge.
* The LIBUSB_FILTERDRV_COMPAT compile time option in the XPLAINBridge and ↵Dean Camera2010-05-131-1/+1
| | | | | | AVRISP-MKII projects has been renamed LIBUSB_DRIVER_COMPAT, as it applies to all software on all platforms using the libUSB driver. Fix Benito makefile which was accidentally changed during testing.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-240/+240
| | | | correctly converted to the target system's native end of line style.