aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace internal Pipe_BytesToEPSizeMask() routine with a new version which ↵Dean Camera2010-07-211-12/+10
| | | | results in smaller code.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-2179-330/+586
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel ↵Dean Camera2010-07-2120-53/+72
| | | | | | | | directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
* Add missing const qualifier to the parameters of the ↵Dean Camera2010-07-213-208/+198
| | | | | | USB_GetNextDescriptorComp() function. Reduce spacing of the structure elements in StdDescriptors.h to make the code more readable.
* Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint ↵Dean Camera2010-07-202-1/+2
| | | | to become ready (thanks to Robin Green).
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-19116-4245/+2973
| | | | 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-1870-105/+94
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1572-16/+82
| | | | 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-1574-1198/+411
| | | | | | 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-159-15/+40
| | | | XPLAINBridge project.
* Fix pointer aliasing warning in the Mass Storage demos.Dean Camera2010-07-1510-34/+28
|
* 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-154-3/+6
| | | | 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-139-74/+33
| | | | 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-1336-61/+63
| | | | were missing it.
* Add AVRStudio 4 project files to the ClassDriver Device mode demos.Dean Camera2010-07-1316-2/+16
|
* Add AVRStudio 4 project files to the LowLevel Device mode demos.Dean Camera2010-07-1313-1/+13
|
* Add AVRStudio 4 project files to the ClassDriver Host mode demos.Dean Camera2010-07-1312-1/+12
|
* Add AVRStudio 4 project files to the LowLevel Host mode demos.Dean Camera2010-07-1316-4/+15
|
* Add AVRStudio 4 project files for the library bootloaders.Dean Camera2010-07-134-2/+4
|
* Add remaining AVRStudio project files to the library projects.Dean Camera2010-07-136-3/+6
|
* Add first lot of AVRStudio project files for some of the library projects.Dean Camera2010-07-1341-4/+11
|
* Rename the AVRISP main source files to AVRISP-MKII so that it matches the ↵Dean Camera2010-07-136-3/+4
| | | | project name. Add AVRStudio project file for the AVRISP-MKII project.
* Add missing eol-style properties to new source files.Dean Camera2010-07-123-423/+423
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-1266-70/+128
|
* 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-127-26/+136
| | | | | | 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-114-55/+61
| | | | reliability. New code reduces the number of missed characters and misread characters.
* Correct misspellings in the Bluetooth demo code.Dean Camera2010-07-1111-46/+46
|
* Add more doxygen function documentation to the RFCOMM layer.Dean Camera2010-07-112-2/+29
|
* Oops - ACL layer Bluetooth_SendPacket() function should check and allow NULL ↵Dean Camera2010-07-113-18/+29
| | | | | | channels, since that indicates a control channel request. Fix up Doxgen documentation for the Bluetooth stack code.
* Rename Bluetooth stack function parameters to clearly indicate what sort of ↵Dean Camera2010-07-1112-145/+153
| | | | | | | | Bluetooth channel (ACL, RFCOMM) is required for each parameter, to make the code easier to read. Add a new RFCOMM_ChannelSignalsReceived() Bluetooth stack callback from the RFCOMM layer for when the remote device sends new terminal control signals. Fix RFCOMM_SendData() not aborting correctly when the requested RFCOMM channel is not found.
* Oops - fix errors in the MassStorageKeyboard SCSI driver file due to ↵Dean Camera2010-07-091-2/+2
| | | | incorrect copy/paste.
* Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean Camera2010-07-098-39/+62
| | | | | | 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().
* Add a new RFCOMM_ChannelOpened() callback event for when logical RFCOMM ↵Dean Camera2010-07-084-12/+39
| | | | channels are opened in the BluetoothHost demo. Make the demo echo back sent characters to the remote device.
* Add a new RFCOMM service callback for when new data has been received on a ↵Dean Camera2010-07-083-5/+18
| | | | valid RFCOMM channel.
* Move out Bluetooth stack callback functions to a seperate ↵Dean Camera2010-07-089-118/+241
| | | | 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.
* Make main readme file easier to read, and make documentation build ↵Dean Camera2010-07-063-31/+52
| | | | instructions clearer.
* Improve commenting of the Dataflash stub board driver file, to prevent ↵Dean Camera2010-07-041-7/+15
| | | | confusion of what the dataflash selection masks need to be. Update stub driver to automatically interleave data between the chips if two Dataflash chips are present.
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-0275-55/+156
| | | | | | 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.
* Move out RFCOMM channel structure init code to a seperate routine, to save ↵Dean Camera2010-07-025-47/+62
| | | | on compiled code space and to prevent copy-paste errors.
* Add RFCOMM service routine, to send pending configuration requests on RFCOMM ↵Dean Camera2010-06-297-92/+163
| | | | | | | | | | channels. Add in RFCOMM channel config flags, to determine which configuration commands have been sent and received. Add a new RFCOMM_SendChannelSignals() function to transmit a change in V24 terminal handshake lines to the receiving device. Prevent SABM packets sent to the control DLCI in the RFCOMM layer from creating a new channel entry, as the control DLCI does not have connection data associated with it. Fix up MSC control packet handling so that received responses can be acknowledged correctly, so that the RFCOMM layer can record when the receiving device has ACKed a sent change in V24 terminal handshake lines.
* Make Bluetooth ACL channel searches skip over closed (invalid) channels. ↵Dean Camera2010-06-264-12/+18
| | | | RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code.
* Add default "all" makefile targets to the demo tree makefiles.Dean Camera2010-06-256-2/+10
|
* 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.
* Fix Doxygen formatting of parameters for the ↵Dean Camera2010-06-257-34/+34
| | | | CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.
* 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.