aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/USBtoSerial
Commit message (Collapse)AuthorAgeFilesLines
* Update file contributor copyrights for 2012.Dean Camera2012-02-044-4/+4
|
* Update file header copyrights for 2012.Dean Camera2012-02-044-4/+4
|
* USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as ↵Dean Camera2012-01-021-1/+1
| | | | this was misnamed (thanks to NXP Semiconductors).
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-232-3/+3
| | | | trailing whitespace at the end of each line.
* Add missing SVN eol-style property to ensure that source code line endings ↵Dean Camera2011-11-091-1/+1
| | | | and converted to the native values on checkout.
* Add project name to the Doxygen makefile target output.Dean Camera2011-09-211-1/+1
|
* Fixed incorrect buffer size check in the USBtoSerial project (thanks to Yuri ↵Dean Camera2011-09-071-1/+1
| | | | A Nikiforov).
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-191-3/+3
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* Seperate out the device demos and project's configuration descriptor ↵Dean Camera2011-07-011-0/+4
| | | | structure definitions to clearly indicate what descriptors belong to which interface.
* Add new "checksource" target to the library makefiles, for automated source ↵Dean Camera2011-06-201-2/+10
| | | | file existance checking.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-211-7/+7
| | | | architecture ports.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-191-1/+5
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-101-5/+5
| | | | | | 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.
* Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean Camera2011-02-061-5/+5
| | | | Add const to all project descriptor definitions for safety.
* Oops - fix up some calls to the old function names, include Serial ↵Dean Camera2011-01-301-1/+1
| | | | Peripheral driver in the RNDISEthernetHost project.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-301-1/+1
| | | | | | | | | | | | ClassDriver demos to use it. Fix reversed byte ordering of multi-byte HID data. Added support to the HID parser for extended USAGE items that contain the usage page as well as the usage index. Removed the HID_IOF_NON_VOLATILE and HID_IOF_VOLATILE flags from HID INPUT items where the flag is invalid. Changed over HID OUTPUT items to use HID_IOF_NON_VOLATILE. Change over MagStripe project to use HID_DESCRIPTOR_KEYBOARD() for its HID report. Change over MouseHostDevice demo to use HID_DESCRIPTOR_MOUSE() for its HID report.
* Update copyright year on all source files.Dean Camera2011-01-014-8/+8
|
* Rename RingBuffer header functions and typedefs from RingBuff_* to ↵Dean Camera2010-12-311-3/+3
| | | | RingBuffer_* so that it matches the header name.
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-261-4/+4
| | | | fix incorrect and missing section names.
* Make a new general RingBuffer.h misc library driver, instead of the ↵Dean Camera2010-12-264-216/+12
| | | | | | | | 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.
* Add DEVICE_STATE_AS_GPIOR=0 compile time option to the library projects, to ↵Dean Camera2010-12-241-0/+1
| | | | reduce compiled binary size.
* Fixed possible lost data in the XPLAINBridge, USBtoSerial and Benito ↵Dean Camera2010-12-121-1/+11
| | | | 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-1/+1
| | | | | | 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 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-052-3/+3
| | | | 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-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-132/+139
| | | | 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-222-1/+2
| | | | | | 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/+4
| | | | | | 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-62/+80
| | | | | | | | | | | | | | 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-302-3/+3
| | | | EN-GB spelling dictionary.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-301-7/+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.