aboutsummaryrefslogtreecommitdiff
path: root/LUFA
AgeCommit message (Collapse)Author
2010-06-03Minor documentation cleanups.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1312 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-02Oops - descriptor pointer should be assigned, not incremented with the new ↵Dean
type-safe code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1306 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-02Better fix to avoid void pointer arithmetic in ConfigDescriptor.h to regain ↵Dean
C++ compatibility (thanks to Michael Hennebry). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1305 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-02Fix byte ordering of UUIDs in the SDP server - host can now successfully ↵Dean
pair to the Bluetooth device and discover the exposed Serial Port Profile RFCOMM service. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1304 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-02The SDP UUID lists should be searched and ALL UUIDs matched for a record to ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1303 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-31Remove void* arithmetic in the USB_GetNextDescriptor() static inline ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1292 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-30Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct ↵Dean
type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1291 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-30Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs ↵Dean
(thanks to Axel Rohde). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1290 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-29Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1289 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-29Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks ↵Dean
to Axel Rohde). Partial fix to the Bluetooth SDP code - data should be encoded in big endian, not little endian. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1288 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-27Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1287 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26Replace ring buffer library in Benito and USBtoSerial projects with the new ↵Dean
lightweight ring buffer header to improve reliability. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1286 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26Removed unused line encoding data and control requests from the CDC ↵Dean
Bootloader code, to save space. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1285 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26The EEPROM stream read/write functions now use eeprom_update_byte() instead ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1283 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-26The RingBuff library code has been replaced in the XPLAINBridge project with ↵Dean
an ultra lightweight buffer to help improve the reliability of the bridge. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1277 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-25Fixed RNDISEthernet demos crashing when calculating checksums for ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1276 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-23Add UUID Class matching to the Service Discovery Protocol code - SDP is now ↵Dean
correctly matched against the generic Service Discovery Class UUID. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1275 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-21Oops - when adding a sequence header to the SDP response, the size value ↵Dean
needs to be cleared, not the buffer pointer. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1271 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-18Added new ADC_DisableChannel() function (thanks to Mich Davis).Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1264 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-17Begin processing code for Service Discovery Protocol attributes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1263 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-16Fixed AVRISP project not sending a full erase-and-write EEPROM command to ↵Dean
XMEGA targets when writing to the EEPROM instead of the split write-only command (thanks to Tim Margush). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1262 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-14Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs ↵Dean
after programming or reading from the last page of FLASH. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1261 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-13Commit for 100513 re-release due to critical device mode bug.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1260 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-13Remove incorrect check for the current device state in the Set Configuration ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1259 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-13Additional fix to the AVRISP-MKII clone project for 256KB AVRs.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1258 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-13Fixed AVRISP-MKII clone project not correctly issuing SET EXTENDED ADDRESS ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1257 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-13Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and ↵Dean
the control endpoint is not properly selected when the ISR completes. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1256 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-13The LIBUSB_FILTERDRV_COMPAT compile time option in the XPLAINBridge and ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1255 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-12Removed TeensyHID bootloader, per request from Paul at PJRC.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1254 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-12Fix Doxygen treating the license as a documentation source file.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1253 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-12Commit for the 100512 release.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1252 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-11Fix nasty bug in USBInterrupt.c which would cause a lockup if the control ↵Dean
endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1251 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-09Add new ReportType parameter to the HID class driver device callback and ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1249 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-07Device mode class driver callbacks are now fired before the control request ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1246 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-07Fix TeensyHID bootloader for the largest AVRs - only the ATMEGA128x needs ↵Dean
the alternative addressing scheme. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1244 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-07Change over unix line-endings to dos line endings.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1243 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-06Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() ↵Dean
function to the Device and Host CDC Class drivers. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1242 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-06Remove incorrect Abstract Call Management class specific descriptor from the ↵Dean
CDC demos, bootloaders and projects. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1241 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-06Ensure that the CDC class drivers return 0 if the number of unread bytes is ↵Dean
queried and the bank has become empty. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1240 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-06Make CDC class bootloader hard-reset the AVR when exited instead of a ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1239 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-04Fix up the ADC driver for the U4 parts to remove a typo on one of the ↵Dean
register names. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1235 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-04Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it ↵Dean
was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1234 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-04Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other ↵Dean
interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1233 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-04Fixed Host mode HID class driver not sending the correct report type when ↵Dean
HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1232 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-04Fixed device state not being reset back to the default state if the host ↵Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1231 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-03Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so ↵Dean
that the stream functions early-abort if the bus is suspended before or during a transfer. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1230 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-02Change AVRISP project's timeout to be interrupt based again, but make the ↵Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1227 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-29The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean
functions are now inline, to reduce overhead. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1224 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-28Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean
the Host mode Class Driver demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1223 d5102386-fcda-11dd-9fdb-3debd5008f28