aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
Commit message (Collapse)AuthorAgeFilesLines
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-0812-12/+48
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Ensure all demos now compile in C99 standards mode, and not GNU99 (C99 + GNU ↵Dean Camera2010-08-031-3/+3
| | | | extensions).
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-0211-12/+28
| | | | in some situations.
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-017-184/+241
| | | | | | | | | | | | | | 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.
* Invert the logic for the VBUS power light in the AVRISP-MKII project for the ↵Dean Camera2010-08-011-1/+1
| | | | USBTINY-MKII board target.
* Fixed Serial peripheral driver not turning off the USART before ↵Dean Camera2010-07-312-2/+2
| | | | reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock).
* Oops - fix mixed "initialize" and "initialise" - opt for American spelling ↵Dean Camera2010-07-303-3/+3
| | | | due to its wide use in technical standards.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3024-52/+52
| | | | EN-GB spelling dictionary.
* Spell check more of the third party libraries used by LUFA.Dean Camera2010-07-309-36/+36
|
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-303-10/+8
| | | | | | 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-302-4/+4
| | | | 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-2934-275/+275
|
* Fixed Benito and USBtoSerial projects not turning off the USART before ↵Dean Camera2010-07-292-6/+21
| | | | reconfiguring it, which could cause incorrect operation to occur (thanks to Bob Paddock).
* Add special support to the AVRISP-MKII for the new model USBTINY-MKII's ↵Dean Camera2010-07-292-6/+14
| | | | | | | | additional LED to indicate target power source. Add support to the USBTINY-MKII's additional LED in the board's LED driver header. Changed LED indicator masks for the AVRISP-MKII project, so that there are defined roles for each LED.
* Remove obsolete macros and preprocessor checks from the AVRISP-MKII ↵Dean Camera2010-07-291-29/+16
| | | | project's V2Protocol command handler header file.
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-296-86/+254
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Move over message ID specific header data to unions inside the standard TMC ↵Dean Camera2010-07-271-2/+2
| | | | header structure, so that all header data is read in one chunk in the incomplete TMC demo.
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-261-4/+4
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Add missing INTERRUPT_CONTROL_ENDPOINT compile time option to the Mass ↵Dean Camera2010-07-262-0/+2
| | | | | | Storage device projects/demos and incomplete Test and Measurement Class demo, which was accidentally removed during the makefile updates. Alter Test and Measurement Class demo's request handlers to accept, process and correctly return the fields indicated in the specification.
* 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.
* Future proof the XPROG protocol of the AVRISP-MKII project, so that non PDI ↵Dean Camera2010-07-221-2/+2
| | | | and TPI requests return failure.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-2162-129/+302
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-211-1/+1
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-1921-847/+613
| | | | 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-1814-38/+38
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1515-8/+20
| | | | 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-1512-217/+73
| | | | | | 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-158-15/+39
| | | | XPLAINBridge project.
* Fix pointer aliasing warning in the Mass Storage demos.Dean Camera2010-07-153-9/+6
|
* Fixed possible buffer overrun in the XPLAINBridge project when in serial ↵Dean Camera2010-07-155-2/+62
| | | | bridge mode.
* Fixed HID device class driver still using PrevReportINBuffer for GetReport ↵Dean Camera2010-07-151-1/+1
| | | | control requests even when it has been set to NULL by the user application (thanks to Axel Rohde).
* Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device ↵Dean Camera2010-07-136-6/+11
| | | | is bus-powered only. Add compile time options to reduce the compiled size of the firmware.
* Remove the timeout period extension code from the AVRISP project, as no ↵Dean Camera2010-07-138-74/+31
| | | | single command should ever exceed the maximum timeout period. Extend timeout period to 1 second per command, so that an accidental timeout will never occur.
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-134-4/+4
| | | | were missing it.
* Add remaining AVRStudio project files to the library projects.Dean Camera2010-07-135-2/+5
|
* Add first lot of AVRStudio project files for some of the library projects.Dean Camera2010-07-1338-2/+8
|
* Rename the AVRISP main source files to AVRISP-MKII so that it matches the ↵Dean Camera2010-07-135-2/+3
| | | | project name. Add AVRStudio project file for the AVRISP-MKII project.
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-1212-12/+24
|
* Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer ↵Dean Camera2010-07-122-3/+3
| | | | 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-126-26/+135
| | | | | | 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.
* Correct misspellings in the Bluetooth demo code.Dean Camera2010-07-111-1/+1
|
* Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean Camera2010-07-093-9/+9
| | | | | | functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts. Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
* Move out Bluetooth stack callback functions to a seperate ↵Dean Camera2010-07-081-4/+4
| | | | BluetoothEvents.c/.h set of files for clarity in the Incomplete BluetoothHost demo. Add a new stack callback for opened ACL channels, make the demo save the RFCOMM channel when opened so that it does not have to search for it on each iteration of the main program loop.
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-0214-3/+15
| | | | | | 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.
* Add default "all" makefile targets to the demo tree makefiles.Dean Camera2010-06-251-1/+1
|
* Make loops in AVRISP-MKII Clone project's XPROG protocol infinite rather ↵Dean Camera2010-06-253-14/+4
| | | | than looping on the timeout value, as this is already checked inside the loop anyway.
* 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-243-3/+3
| | | | projects, so that they should never become full under normal conditions.