aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/XPLAINBridge
Commit message (Collapse)AuthorAgeFilesLines
* Remove remaining void* descriptor casts in the projects and demos that were ↵Dean Camera2010-08-294-19/+19
| | | | not removed when the GetDescriptor callback function's signature was altered.
* Add better description of the Ultra-Lightweight Ring Buffer header files.Dean Camera2010-08-291-1/+8
|
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-242-2/+3
| | | | 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 invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-081-1/+4
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-021-1/+2
| | | | in some situations.
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-013-63/+84
| | | | | | | | | | | | | | 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).
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-303-4/+4
| | | | EN-GB spelling dictionary.
* 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.
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-3/+3
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-218-9/+29
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-192-74/+58
| | | | 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.
* Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean Camera2010-07-181-1/+1
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-151-0/+1
| | | | 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.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-151-18/+6
| | | | | | 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.
* Added ability to set the serial baud rate via the user's terminal in the ↵Dean Camera2010-07-156-13/+37
| | | | XPLAINBridge project.
* Fixed possible buffer overrun in the XPLAINBridge project when in serial ↵Dean Camera2010-07-152-1/+21
| | | | bridge mode.
* Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device ↵Dean Camera2010-07-133-3/+5
| | | | is bus-powered only. Add compile time options to reduce the compiled size of the firmware.
* Add remaining AVRStudio project files to the library projects.Dean Camera2010-07-131-0/+1
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-121-1/+2
|
* Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer ↵Dean Camera2010-07-121-1/+1
| | | | overruns will not occur regardless of hardware and baud rate settings.
* Alter the ring buffer library headers to have both atomic and non-atomic ↵Dean Camera2010-07-122-10/+44
| | | | | | 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-122-8/+14
| | | | 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-113-55/+60
| | | | 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-022-2/+3
| | | | | | 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.
* Make XPLAINBridge serial bridge much more reliable for the reception of ↵Dean Camera2010-06-241-11/+5
| | | | characters from the XMEGA through the software UART interface.
* 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.
* Moved calls to V2Params_UpdateParamValues() out of the main AVRISP-MKII and ↵Dean Camera2010-06-212-9/+6
| | | | XPLAINBridge project loops and into the AVRISP management function.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-163-4/+4
| | | | 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-122-24/+23
| | | | XPLAINBridge project.
* Oops - light weight ring buffer documentation used \ref instead of \param to ↵Dean Camera2010-06-101-4/+4
| | | | document function parameters.
* Add missing documentation to the lightweight ring buffer code in the ↵Dean Camera2010-06-101-89/+119
| | | | XPLAINBridge project.
* Minor documentation cleanups.Dean Camera2010-06-031-2/+2
|
* Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to ↵Dean Camera2010-05-273-9/+12
| | | | | | 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-262-4/+8
| | | | lightweight ring buffer header to improve reliability.
* Add better documentation to the Software UART code in the XPLAINBridge project.Dean Camera2010-05-261-35/+71
|
* Switch software UART over to timer 1 and remove timer prescaling to try to ↵Dean Camera2010-05-263-17/+17
| | | | 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-263-12/+12
| | | | rest of the XPLAINBridge project.
* Make software USART used in the XPLAINBridge project directly check and ↵Dean Camera2010-05-265-68/+42
| | | | 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-263-38/+101
| | | | 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-267-279/+64
| | | | an ultra lightweight buffer to help improve the reliability of the bridge.
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-231-1/+1
|
* Renamed CDC device class demos' ManagementEndpoint descriptor to ↵Dean Camera2010-05-202-2/+2
| | | | NotificationEndpoint to more accurately indicate its purpose.
* The LIBUSB_FILTERDRV_COMPAT compile time option in the XPLAINBridge and ↵Dean Camera2010-05-134-6/+5
| | | | | | 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-0814-3928/+3928
| | | | correctly converted to the target system's native end of line style.
* Change over instances of "make" in the makefiles to "$(MAKE)" to allow for ↵Dean Camera2010-05-071-1/+1
| | | | the make tool to be overridden.
* Remove incorrect Abstract Call Management class specific descriptor from the ↵Dean Camera2010-05-062-9/+0
| | | | CDC demos, bootloaders and projects.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-281-2/+2
| | | | LowLevel directory as it is hardware-dependent.