aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
Commit message (Collapse)AuthorAgeFilesLines
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-0251-51/+102
| | | | in some situations.
* Fixed Serial peripheral driver not turning off the USART before ↵Dean Camera2010-07-311-3/+3
| | | | 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-302-2/+2
| | | | due to its wide use in technical standards.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3059-59/+59
| | | | EN-GB spelling dictionary.
* Fix typo in DualVirtualSerial.c due to the changed CDC Device APIs that was ↵Dean Camera2010-07-301-1/+1
| | | | preventing the demo from being compiled.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-304-12/+9
| | | | | | 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-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-2972-301/+301
|
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-293-3/+3
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Add TMC header read and write functions, so that TMC data can now be ↵Dean Camera2010-07-283-53/+89
| | | | | | exchanged in both directions. Minor update to the LowLevel MassStorage device demo, so that the ReadInCommandBlock() performs the data OUT endpoint selection and packet arrival test.
* Move over message ID specific header data to unions inside the standard TMC ↵Dean Camera2010-07-272-7/+36
| | | | 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-267-54/+82
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Add comments to the currently completed portions of the incomplete Test and ↵Dean Camera2010-07-261-1/+22
| | | | Measurement Class demo.
* Add missing INTERRUPT_CONTROL_ENDPOINT compile time option to the Mass ↵Dean Camera2010-07-265-45/+60
| | | | | | 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.
* Add stream callback flags and class specific control request handler code to ↵Dean Camera2010-07-265-18/+167
| | | | | | the incomplete Test and Measurement Class device demo. Change over the keyboard demo's manufacturer name back to the primary author of the demo.
* Add TMC device capabilities to the incomplete TMC demo.Dean Camera2010-07-233-2/+67
|
* Convert over internal pseudo-function macros to true inline functions for ↵Dean Camera2010-07-221-12/+19
| | | | added type-safety and compile-checking.
* Added start of a low level device Test and Measurement class demo (thanks to ↵Dean Camera2010-07-226-1/+1235
| | | | Peter Lawrence).
* Fix up minor whitespace formatting errors.Dean Camera2010-07-229-9/+9
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-21205-490/+1002
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-218-32/+32
| | | | 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-1962-3194/+2171
| | | | 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-1854-65/+54
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1555-8/+60
| | | | 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-1552-919/+312
| | | | | | 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.
* Fix pointer aliasing warning in the Mass Storage demos.Dean Camera2010-07-157-25/+22
|
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-1316-16/+16
| | | | were missing it.
* Add AVRStudio 4 project files to the ClassDriver Device mode demos.Dean Camera2010-07-1314-0/+14
|
* Add AVRStudio 4 project files to the LowLevel Device mode demos.Dean Camera2010-07-1312-0/+12
|
* Add AVRStudio 4 project files to the ClassDriver Host mode demos.Dean Camera2010-07-1311-0/+11
|
* Add AVRStudio 4 project files to the LowLevel Host mode demos.Dean Camera2010-07-1313-0/+13
|
* Add missing eol-style properties to new source files.Dean Camera2010-07-122-371/+371
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-1252-56/+102
|
* Correct misspellings in the Bluetooth demo code.Dean Camera2010-07-1110-45/+45
|
* 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-093-25/+17
| | | | | | 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-083-12/+38
| | | | 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-087-113/+236
| | | | 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-0252-0/+52
| | | | | | 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-255-1/+9
|
* Fix Doxygen formatting of parameters for the ↵Dean Camera2010-06-257-34/+34
| | | | CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.
* Split RFCOMM channel signals into Remote and Local pairs. Use memcpy() to ↵Dean Camera2010-06-234-31/+44
| | | | | | copy over data from the command parameters to the RFCOMM response parameters. Ensure that only the valid parameter bytes are sent back in response to MSC commands.
* Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame ↵Dean Camera2010-06-236-12/+28
| | | | element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.