aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
Commit message (Collapse)AuthorAgeFilesLines
...
* Better fix to avoid void pointer arithmetic in ConfigDescriptor.h to regain ↵Dean Camera2010-06-022-16/+5
| | | | C++ compatibility (thanks to Michael Hennebry).
* Fix byte ordering of UUIDs in the SDP server - host can now successfully ↵Dean Camera2010-06-021-1/+1
| | | | pair to the Bluetooth device and discover the exposed Serial Port Profile RFCOMM service.
* The SDP UUID lists should be searched and ALL UUIDs matched for a record to ↵Dean Camera2010-06-021-1/+1
| | | | | | | | be retrieved, not partial matches. Change the SDP code so that the entire list must be matched against a service attribute table's contents before it is returned. Change matching algorithm so that it recursively searches through the entire attribute table, and not just pre-specified sequence attributes. Add browse lists and proper descriptions to the Serial Port service.
* Remove void* arithmetic in the USB_GetNextDescriptor() static inline ↵Dean Camera2010-05-313-51/+62
| | | | function, to make the header file C++ compatible once again. Implement workaround for an obscure GCC bug which can cause incorrect code generation under some circumstances when the void* is re-cast.
* Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct ↵Dean Camera2010-05-302-10/+8
| | | | type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead.
* Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs ↵Dean Camera2010-05-304-4/+8
| | | | (thanks to Axel Rohde).
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-2921-163/+163
|
* Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks ↵Dean Camera2010-05-292-1/+2
| | | | | | to Axel Rohde). Partial fix to the Bluetooth SDP code - data should be encoded in big endian, not little endian.
* Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to ↵Dean Camera2010-05-271-0/+3
| | | | | | the AVRISP-MKII programmer project to set the VTARGET reference voltage and scale factor. Fixed XPLAINBridge project not correctly reading the XMEGA's supply voltage when reporting back to the host.
* Replace ring buffer library in Benito and USBtoSerial projects with the new ↵Dean Camera2010-05-261-2/+2
| | | | lightweight ring buffer header to improve reliability.
* Removed unused line encoding data and control requests from the CDC ↵Dean Camera2010-05-261-0/+1
| | | | Bootloader code, to save space.
* The EEPROM stream read/write functions now use eeprom_update_byte() instead ↵Dean Camera2010-05-264-6/+11
| | | | | | of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan. Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile parameters to EEPROM to preserve its lifespan.
* The RingBuff library code has been replaced in the XPLAINBridge project with ↵Dean Camera2010-05-261-1/+2
| | | | an ultra lightweight buffer to help improve the reliability of the bridge.
* 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.