aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Benito
Commit message (Collapse)AuthorAgeFilesLines
* Fixed possible lost data in the XPLAINBridge, USBtoSerial and Benito ↵Dean Camera2010-12-121-6/+16
| | | | projects when the host exceeds the packet timeout period on received packets as set by USB_STREAM_TIMEOUT_MS (thanks to Justin Rajewski).
* Added new RingBuffer_Peek() function to the lightweight ring buffer headers.Dean Camera2010-12-121-0/+11
|
* Fixed Benito project discarding incoming data from the USB virtual serial ↵Dean Camera2010-11-231-3/+2
| | | | | | port when the USART is busy. Minor documentation improvements.
* Lower bulk endpoint polling rate in the descriptors to the lowest possible ↵Dean Camera2010-11-221-2/+2
| | | | value to give maximum throughput.
* 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).
* Fixed incorrect event name in the Benito project.Dean Camera2010-11-151-2/+5
|
* Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean Camera2010-11-101-2/+2
| | | | endpoint descriptors (thanks to MCS Electronics).
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-051-1/+1
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-286-6/+6
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-251-9/+9
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-242-2/+0
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-137-140/+147
| | | | tool made by Laszlo Monda
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-301-1/+1
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-282-14/+15
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Remove dfu-programmer program switches, to ensure maximum compatibility with ↵Dean Camera2010-09-241-2/+2
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-241-3/+3
| | | | | | | | ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target. Makefile whitespace fixes.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-151-2/+2
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Fix typos in the project overview text files.Dean Camera2010-09-091-1/+1
|
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-311-4/+4
| | | | USB AVR device "series" comprises of.
* 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-9/+10
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* Moved calls to Device mode Class Driver events to after the request has been ↵Dean Camera2010-08-221-0/+1
| | | | | | 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.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-3/+5
| | | | | | 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-012-59/+77
| | | | | | | | | | | | | | 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-302-3/+3
| | | | EN-GB spelling dictionary.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-301-2/+3
| | | | | | 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.
* Oops - need to turn off USART via control register B before reconfiguring, ↵Dean Camera2010-07-301-2/+2
| | | | fix ordering of USART control register modifications in the Benito and USBtoSerial projects.
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-2/+2
|
* Fixed Benito and USBtoSerial projects not turning off the USART before ↵Dean Camera2010-07-291-3/+11
| | | | reconfiguring it, which could cause incorrect operation to occur (thanks to Bob Paddock).
* Added periodic flush timer to the Benito project. Alter the serial ↵Dean Camera2010-07-254-13/+28
| | | | transmission code so that sent bytes do not block the remainder of the main program code from running.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-213-5/+10
| | | | | | 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-71/+53
| | | | 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-151-1/+1
| | | | XPLAINBridge project.
* Fixed possible buffer overrun in the XPLAINBridge project when in serial ↵Dean Camera2010-07-151-0/+20
| | | | bridge mode.
* Add first lot of AVRStudio project files for some of 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
|
* Alter the ring buffer library headers to have both atomic and non-atomic ↵Dean Camera2010-07-122-5/+38
| | | | | | 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.
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-021-0/+1
| | | | | | 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.
* 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-266-242/+95
| | | | lightweight ring buffer header to improve reliability.
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-231-1/+1
|