aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
Commit message (Collapse)AuthorAgeFilesLines
* Fixed RNDISEthernet demos crashing when calculating checksums for ↵Dean Camera2010-05-252-2/+3
| | | | | | Ethernet/TCP packets of more than ~500 bytes due to an overflow in the checksum calculation loop (thanks to Kevin Malec). Removed string Attributes from the Service Discovery Protocol code to minimise the potential points of failure while the base code is being debugged.
* Add UUID Class matching to the Service Discovery Protocol code - SDP is now ↵Dean Camera2010-05-231-3/+3
| | | | correctly matched against the generic Service Discovery Class UUID.
* Oops - when adding a sequence header to the SDP response, the size value ↵Dean Camera2010-05-211-1/+6
| | | | needs to be cleared, not the buffer pointer.
* Added new ADC_DisableChannel() function (thanks to Mich Davis).Dean Camera2010-05-182-1/+44
|
* Begin processing code for Service Discovery Protocol attributes.Dean Camera2010-05-171-0/+1
|
* Fixed AVRISP project not sending a full erase-and-write EEPROM command to ↵Dean Camera2010-05-163-17/+17
| | | | XMEGA targets when writing to the EEPROM instead of the split write-only command (thanks to Tim Margush).
* Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs ↵Dean Camera2010-05-142-18/+19
| | | | after programming or reading from the last page of FLASH.
* Commit for 100513 re-release due to critical device mode bug.Dean Camera2010-05-132-2/+5
|
* Remove incorrect check for the current device state in the Set Configuration ↵Dean Camera2010-05-132-3/+2
| | | | | | request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances. Move out the SPI prescaler list to a PROGMEM module-level variable in ISPTarget.c.
* Additional fix to the AVRISP-MKII clone project for 256KB AVRs.Dean Camera2010-05-131-1/+1
|
* Fixed AVRISP-MKII clone project not correctly issuing SET EXTENDED ADDRESS ↵Dean Camera2010-05-131-0/+3
| | | | | | commands when the extended address boundary is crossed during programming or readback (thanks to Gerard Sexton). Fixed warnings when building the AVRISP-MKII clone project with the ENABLE_XPROG_PROTOCOL compile time option disabled.
* Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and ↵Dean Camera2010-05-133-2/+8
| | | | the control endpoint is not properly selected when the ISR completes.
* The LIBUSB_FILTERDRV_COMPAT compile time option in the XPLAINBridge and ↵Dean Camera2010-05-131-0/+2
| | | | | | AVRISP-MKII projects has been renamed LIBUSB_DRIVER_COMPAT, as it applies to all software on all platforms using the libUSB driver. Fix Benito makefile which was accidentally changed during testing.
* Removed TeensyHID bootloader, per request from Paul at PJRC.Dean Camera2010-05-122-5/+9
|
* Fix Doxygen treating the license as a documentation source file.Dean Camera2010-05-121-1/+1
|
* Commit for the 100512 release.Dean Camera2010-05-122-1/+5
|
* Fix nasty bug in USBInterrupt.c which would cause a lockup if the control ↵Dean Camera2010-05-111-4/+4
| | | | endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined.
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-0918-80/+91
| | | | | | host report sending routines. Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-08171-32948/+32948
| | | | correctly converted to the target system's native end of line style.
* 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.
* Fix TeensyHID bootloader for the largest AVRs - only the ATMEGA128x needs ↵Dean Camera2010-05-071-2/+2
| | | | the alternative addressing scheme.
* Change over unix line-endings to dos line endings.Dean Camera2010-05-071-1/+1
|
* 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-061-0/+1
| | | | CDC demos, bootloaders and projects.
* Ensure that the CDC class drivers return 0 if the number of unread bytes is ↵Dean Camera2010-05-062-9/+18
| | | | queried and the bank has become empty.
* Make CDC class bootloader hard-reset the AVR when exited instead of a ↵Dean Camera2010-05-061-0/+3
| | | | | | 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.
* 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-041-2/+3
| | | | 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-043-23/+30
| | | | | | | | 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-037-7/+31
| | | | that the stream functions early-abort if the bus is suspended before or during a transfer.
* Change AVRISP project's timeout to be interrupt based again, but make the ↵Dean Camera2010-05-021-0/+2
| | | | | | 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).
* The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean Camera2010-04-293-31/+28
| | | | functions are now inline, to reduce overhead.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-283-18/+13
| | | | 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-287-10/+13
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-284-4/+19
| | | | be done in the user application once all init code has run.
* Added ability to search by Channel PSM to the GetChannelData() function in ↵Dean Camera2010-04-222-3/+5
| | | | | | | | | | 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-203-4/+11
| | | | | | 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.
* Make bluetooth SDP code correctly unpack the search UUIDs and parameters.Dean Camera2010-04-193-4/+8
| | | | Minor documentation improvements.
* Minor documentation improvements.Dean Camera2010-04-159-49/+52
|
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-157-13/+87
| | | | | | | | 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-143-15/+16
| | | | | | 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-1314-30/+71
| | | | | | | | 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-131-0/+1
| | | | bootloaders can only be replaced with an external programmer.
* Document the Bluetooth ACL layer. Remove unneeded parameters from the ↵Dean Camera2010-04-131-1/+1
| | | | | | | | 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.
* Bluetooth demo can now create and maintain logical channels - need to ↵Dean Camera2010-04-101-1/+1
| | | | determine why Windows machines refuse to connect.
* Add information request/response signal handler to the Bluetooth Host demo.Dean Camera2010-04-061-1/+1
| | | | Ensure that the AVRISP-MKII project's Windows avrdude compatibility define is named properly in all parts of the code.
* Add user callback function to the Bluetooth host demo to filter out ↵Dean Camera2010-04-051-0/+1
| | | | | | | | connections from remote devices. Add in ability to reject connections based on their bluetooth device address. Clean up RelayBoard project code. Make AVRISP project clear the XMEGA target's reset register twice; this does not appear to take affect properly the first time under some circumstances.