aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change over instances of "make" in the makefiles to "$(MAKE)" to allow for ↵Dean Camera2010-05-0778-265/+265
| | | | the make tool to be overridden.
* Device mode class driver callbacks are now fired before the control request ↵Dean Camera2010-05-076-20/+17
| | | | | | status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine. Inlined currently unused MIDI ProcessControlRequest routine.
* 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.
* Fix TeensyHID bootloader for the largest AVRs - only the ATMEGA128x needs ↵Dean Camera2010-05-073-10/+11
| | | | the alternative addressing scheme.
* Change over unix line-endings to dos line endings.Dean Camera2010-05-0717-6714/+6714
|
* Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() ↵Dean Camera2010-05-066-2/+57
| | | | function to the Device and Host CDC Class drivers.
* Remove incorrect Abstract Call Management class specific descriptor from the ↵Dean Camera2010-05-0625-127/+2
| | | | CDC demos, bootloaders and projects.
* Ensure that the CDC class drivers return 0 if the number of unread bytes is ↵Dean Camera2010-05-063-10/+19
| | | | queried and the bank has become empty.
* Make CDC class bootloader hard-reset the AVR when exited instead of a ↵Dean Camera2010-05-067-35/+29
| | | | | | soft-reset. Reduce size of the TeensyHID bootloader slightly. Fix the TeensyHID bootloader for the larger USB AVR devices, since Paul uses a different (undocumented) addressing scheme on these devices.
* Oops - typo in the updated TeensyHID bootloader code when compiled for the ↵Dean Camera2010-05-063-4/+8
| | | | non Teensy++ targets.
* Fixed TeensyHID bootloader so that it works with the official TeensyLoader ↵Dean Camera2010-05-065-13/+42
| | | | GUI application with all supported AVR models.
* Fixed incorrect comparison in the descriptor callback routine of the ↵Dean Camera2010-05-061-1/+1
| | | | TeensyHID bootloader.
* Fix up the ADC driver for the U4 parts to remove a typo on one of the ↵Dean Camera2010-05-041-2/+2
| | | | register names.
* Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it ↵Dean Camera2010-05-044-295/+11
| | | | was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header.
* Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other ↵Dean Camera2010-05-043-0/+6
| | | | interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer.
* Fixed Host mode HID class driver not sending the correct report type when ↵Dean Camera2010-05-042-1/+3
| | | | HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set.
* Fixed device state not being reset back to the default state if the host ↵Dean Camera2010-05-045-43/+54
| | | | | | | | sets the address to 0x00. Fixed Set Configuration requests not being stalled until the host has set the device's address. Fixed possibility of internal signature retrieval being corrupted if an interrupt occurs during a signature byte read (thanks to Andrei Krainev).
* Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so ↵Dean Camera2010-05-039-10/+34
| | | | that the stream functions early-abort if the bus is suspended before or during a transfer.
* Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone ↵Dean Camera2010-05-023-3/+4
| | | | project.
* Switch back to C based timeout ISR in the AVRISP project - assembly version ↵Dean Camera2010-05-025-26/+22
| | | | was failing, and only one or two cycles could be shaved off the compiler generated code.
* Change AVRISP project's timeout to be interrupt based again, but make the ↵Dean Camera2010-05-0211-117/+66
| | | | | | interrupt itself interruptable and use a seperate assembly file to hand-optimize the ISR code. Removed the cast to uint16_t on the set baud rate in the USBtoSerial project, so that the higher >1M baud rates can be selected (thanks to Steffan).
* Make sure that long reads are aborted early if the connection times out ↵Dean Camera2010-04-303-5/+8
| | | | while waiting on more bytes in the AVRISP MKII clone project.
* Make sure that the NVM bus/controller busy waits in the AVRISP MKII clone ↵Dean Camera2010-04-303-15/+54
| | | | project abort properly if a timeout occurs while waiting for a response.
* The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean Camera2010-04-295-32/+33
| | | | functions are now inline, to reduce overhead.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-2819-122/+117
| | | | the Host mode Class Driver demos.
* Oops - relocated USBInterrupt.h header file requires adjusted include paths ↵Dean Camera2010-04-281-3/+3
| | | | for the other USB driver header files.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-2875-145/+148
| | | | LowLevel directory as it is hardware-dependent.
* Remove incomplete/nonfunctional MIDI class bootloader.Dean Camera2010-04-2810-3344/+1
|
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-28135-61/+181
| | | | be done in the user application once all init code has run.
* Make AVRISP-MKII clone project's software PDI/TPI mode more robust by ↵Dean Camera2010-04-281-14/+25
| | | | keeping track of timeouts while waiting for a Tx/Rx to finish.
* Fix TeensyHID bootloader Doxygen configuration file's CREATE_SUBDIRS options ↵Dean Camera2010-04-272-2/+2
| | | | set to true instead of false (thanks to Andrei Krainev).
* Added ability to search by Channel PSM to the GetChannelData() function in ↵Dean Camera2010-04-2211-105/+199
| | | | | | | | | | the BluetoothHost demo. Added new HCI states to properly initialize the bluetooth dongle and retrieve the local BDADDR. Factored out Bluetooth state information into a new state structure for easy reference in the user application. Added new StackInitialized() Bluetooth stack callback function.
* Fixed HID Device Class Driver not allocating a temporary buffer when the ↵Dean Camera2010-04-209-48/+55
| | | | | | host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.
* Add start of a SDP service table, which will be linked to the Bluetooth SDP ↵Dean Camera2010-04-192-9/+106
| | | | code.
* Make bluetooth SDP code correctly unpack the search UUIDs and parameters.Dean Camera2010-04-1910-40/+80
| | | | Minor documentation improvements.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-1847-158/+158
|
* Add bluetooth channel connection callback to the incomplete BluetoothHost demo.Dean Camera2010-04-185-7/+34
|
* Minor documentation improvements.Dean Camera2010-04-1513-73/+76
|
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-1512-19/+190
| | | | | | | | applicable to variables also. Add new ATTR_NOINIT attribute for global variables. Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo. Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing.
* Fixed Set/Clear Feature requests directed to a non-configured endpoint not ↵Dean Camera2010-04-145-17/+18
| | | | | | returning a stall to the host. Make TeensyHID bootloader use an 8 byte control endpoint to match the official Teensy, just in case Paul decides to authenticate on that attribute in the future.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-1317-37/+76
| | | | | | | | faster endpoint/pipe code. Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
* Removed invalid dfu and flip related targets from the bootloaders - ↵Dean Camera2010-04-135-140/+9
| | | | bootloaders can only be replaced with an external programmer.
* Document the Bluetooth ACL layer. Remove unneeded parameters from the ↵Dean Camera2010-04-1312-128/+362
| | | | | | | | signalling command processing routines. Change over the code so that the bluetooth packet data is read in by the stack rather than the user application, to make it more unform for sending/receiving, and so the library can handle incomming fragmentation in the future. Start Service Discovery Protocol decoding and processing.
* Add some more documentation to the half-completed Bluetooth Host demo, fix ↵Dean Camera2010-04-125-22/+1633
| | | | the OpenChannel() command initialising the channel information structure to the wrong initial state once the CONNECTION REQUEST command has been sent to the remote device.
* Fix Bluetooth stack CONNECTION RESPONSE packets - for this command and this ↵Dean Camera2010-04-123-5/+18
| | | | command only, the source/destination roles are switched. Reverse the Local/Remote channel ordering so that Windows mobile and other stacks which depend on valid channel values to connect.
* Add HCI debugging with verbosity control to the BluetoothHost demo.Dean Camera2010-04-116-29/+134
| | | | Add Link Key Request event processing so that paired devices always re-authenticate until appropriate link key store/retrieve callbacks are implemented.
* Fix up Bluetooth Demo's options processing on incoming channel configuration ↵Dean Camera2010-04-112-22/+23
| | | | requests.
* Add LUFA-side channel open/close routines, add signalling handlers for the ↵Dean Camera2010-04-104-41/+163
| | | | creation and configuration of channels from the local device to the remote device, to add to the existing remote to local channel capabilities.
* Bluetooth demo can now create and maintain logical channels - need to ↵Dean Camera2010-04-105-36/+86
| | | | determine why Windows machines refuse to connect.
* Make Bluetooth signalling handler routines use the generic ↵Dean Camera2010-04-064-269/+188
| | | | Bluetooth_SendPacket() routine for their responses. Use a better method of controlling the debug output verbosity.