aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Benito/Benito.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrights to 2015 (better late than never).Dean Camera2015-05-171-2/+2
|
* 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-0/+5
| | | | 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.
* Reintegrate the FullEPAddresses development branch into trunk.Dean Camera2012-04-141-13/+19
|
* 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.
* Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically ↵Dean Camera2011-02-261-4/+2
| | | | | | cleared when Pipe_ClearError() is called. More UC3B architecture porting.
* 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.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-301-18/+19
| | | | | | | | | | | | 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-011-2/+2
|
* Rename RingBuffer header functions and typedefs from RingBuff_* to ↵Dean Camera2010-12-311-2/+2
| | | | RingBuffer_* so that it matches the header name.
* Make a new general RingBuffer.h misc library driver, instead of the ↵Dean Camera2010-12-261-2/+5
| | | | | | | | 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-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).
* 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.
* Fixed incorrect event name in the Benito project.Dean Camera2010-11-151-2/+5
|
* 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-24/+25
| | | | tool made by Laszlo Monda
* 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 XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-011-4/+5
| | | | | | | | | | | | | | 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.
* 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.
* 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-251-12/+21
| | | | transmission code so that sent bytes do not block the remainder of the main program code from running.
* Alter the ring buffer library headers to have both atomic and non-atomic ↵Dean Camera2010-07-121-1/+1
| | | | | | 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.
* Replace ring buffer library in Benito and USBtoSerial projects with the new ↵Dean Camera2010-05-261-4/+4
| | | | lightweight ring buffer header to improve reliability.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-264/+264
| | | | correctly converted to the target system's native end of line style.
* Don't cast the line encoding baud rate to a uint16_t before performing the ↵Dean Camera2010-05-071-1/+1
| | | | baud rate calculation in the Benito project.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-281-0/+2
| | | | be done in the user application once all init code has run.
* New revision Benito hardware will be 16MHz, and use the ATMEGA32U2. Change ↵Dean Camera2010-01-211-4/+1
| | | | makefile to suit.
* Update Benito project -- device should be reset when DTR is *asserted* not ↵Dean Camera2010-01-211-1/+1
| | | | deasserted.
* Oops - missing brace in the updated Benito code causing compilation to fail.Dean Camera2010-01-171-1/+1
|
* Fix the Benito project not pulsing the target's /RESET line when DTR is ↵Dean Camera2010-01-171-2/+9
| | | | de-asserted.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Add double banking property to LUFA powered projects in the Projects ↵Dean Camera2009-11-061-7/+10
| | | | directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
* Updated Benito project -- added hardware interrupt and software buffering ↵Dean Camera2009-08-251-31/+44
| | | | | | | | for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity. Added check to CDC_Device_BytesReceived() to ensure 0 is returned when device is not enumerated to a host. Move AVRISP project's V2Protocol_DelayMS() function to be static inline, as it is now very minimal. Added extra project doxygen documentation.
* Added beginnings of a new AVRISP-MKII clone project.Dean Camera2009-08-171-1/+1
| | | | | | Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints. Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
* Make Benito ping-pong LED code more explicit, using masks of the TX and RX ↵Dean Camera2009-08-071-1/+1
| | | | | | LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask. Fix incorrect event name in MassStorageHost.c.
* Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean Camera2009-08-051-6/+7
| | | | | | | | pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-6/+6
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs ↵Dean Camera2009-07-281-1/+1
| | | | | | where timer 1 was needed instead did not have the endpoint size neccesary for good audio throughput anyway. Fix Benito documentation indicating erronously that the project used the HID USB class instead of the CDC class.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-271-5/+0
| | | | (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
* Added new LEDs_ToggleLEDs() function to the Board LEDs driver.Dean Camera2009-07-241-1/+1
|
* Ensure new Benito Programmer project matches Don's established LED behaviour ↵Dean Camera2009-07-241-8/+24
| | | | - flash LED while generating target /RESET pulse, ping-pong LEDs during enumeration.
* Minor updates to the Benito programmer - remove redundant PORT register ↵Dean Camera2009-07-231-8/+3
| | | | manipulations.