aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
Commit message (Collapse)AuthorAgeFilesLines
* Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean Camera2010-07-091-5/+34
| | | | | | 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().
* Added new pgm_read_ptr() macro to Common.h for reading of pointers out of ↵Dean Camera2010-06-221-3/+38
| | | | | | flash memory space. Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-172-16/+16
| | | | Minor tweaks to the library documentation.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-161-1/+1
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* 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.
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-291-5/+5
|
* Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks ↵Dean Camera2010-05-291-1/+1
| | | | | | to Axel Rohde). Partial fix to the Bluetooth SDP code - data should be encoded in big endian, not little endian.
* Fixed RNDISEthernet demos crashing when calculating checksums for ↵Dean Camera2010-05-251-1/+1
| | | | | | 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.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-083-443/+443
| | | | correctly converted to the target system's native end of line style.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-281-8/+8
| | | | the Host mode Class Driver demos.
* Minor documentation improvements.Dean Camera2010-04-151-3/+7
|
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-152-8/+17
| | | | | | | | 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.
* Add missing board Buttons driver for the USBTINY MKII board target.Dean Camera2010-03-301-1/+1
|
* Oops - make sure board driver dispatch headers test for the correct BOARD ↵Dean Camera2010-03-301-1/+1
| | | | | | define values. Add button support for the BENITO board target.
* Added support for the JM-DB-U2 board hardware.Dean Camera2010-03-301-0/+3
|
* Added board hardware driver support for the Benito programmer.Dean Camera2010-03-301-1/+4
|
* Added board hardware driver support for Tom's USBTINY MKII programmer.Dean Camera2010-03-301-1/+4
|
* Add file-level brief documentation.Dean Camera2010-03-293-0/+3
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Added new Relay Controller Board project (thanks to OBinou).Dean Camera2010-03-241-0/+3
| | | | Added hardware board driver support for the PJRC Teensy line of USB AVR boards.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-243-127/+2
|
* Update Temperature board driver to be AVR32 compatible when the ADC ↵Dean Camera2010-02-231-2/+2
| | | | | | peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports. Add SPI driver aliases for the old function names in the AVR8 driver, so that existing code will still compile against the new version.
* Fixed software PDI/TPI programming mode in the AVRISP project not correctly ↵Dean Camera2010-02-231-1/+1
| | | | | | toggling just the clock pin. Fix broken AVR8 Serial peripheral driver.
* Change over board hardware drivers to use the custom uintN_t and intN_t ↵Dean Camera2010-02-221-0/+6
| | | | native word size types.
* Add drivers for the EVK1101 - begin full port to the AVR32 UC3B line of AVRs.Dean Camera2010-02-223-2/+121
|
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-041-0/+12
| | | | | | will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects.
* Inline USB management functions in the Class drivers which are standardized ↵Dean Camera2010-01-051-1/+1
| | | | but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
* Update copyright year to 2010.Dean Camera2009-12-303-6/+6
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-283-21/+21
|
* Added support for the Atmel EVK527 board hardware.Dean Camera2009-12-041-4/+7
|
* Added support for the Dataflash mounted on the XPLAIN board. Added new ↵Dean Camera2009-12-031-2/+5
| | | | XPLAIN_REV1 board target for the first revision XPLAIN board, which used a different (smaller) Dataflash IC to later revisions.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-061-5/+1
| | | | per-endpoint, per-interface level.
* Minor documentation fixups.Dean Camera2009-10-031-1/+1
|
* Added support for the Atmel XPLAIN board.Dean Camera2009-10-021-0/+3
|
* Add const qualifiers to Host mode Class drivers.Dean Camera2009-09-211-50/+54
| | | | Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.
* Added support for the officially recommended layout of the external ↵Dean Camera2009-09-171-0/+3
| | | | | | peripherals connected to the BUMBLEB board. Added flag to the HID Host Class driver to indicate the currently selected reporting protocol.
* Cleanup and optimization of the internal serial retrieval routines.Dean Camera2009-08-031-1/+1
| | | | Renamed ATTR_NOINLINE to ATTR_NO_INLINE to fit with the rest of the library function attribute names.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-281-5/+5
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Renamed Serial_Stream driver to SerialStream to remain consistent with the ↵Dean Camera2009-04-171-1/+1
| | | | rest of the library's naming scheme for files.
* Fixed GenericHIDHost demo report write routine incorrect for control type ↵Dean Camera2009-04-164-79/+61
| | | | | | | | | | | | | | | | | | requests (thanks to Andrei Krainev). Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length). Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API. Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API. Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel). Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity. Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity. Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway.
* All comments in the library, bootloaders, demos and projects have now been ↵Dean Camera2009-04-012-14/+14
| | | | spell-checked and spelling mistakes/typos corrected.
* Removed SetSystemClockPrescaler() macro, the clock_prescale_set() avr-libc ↵Dean Camera2009-03-091-21/+0
| | | | macro has been corrected in recent avr-libc versions
* Updated makefiles to reflect new dfu-ee programming target invocations ↵Dean Camera2009-03-041-1/+1
| | | | | | | | | | (supplied by Opendous, Inc.). Renamed the ATTR_ALWAYSINLINE function attribute macro to ATTR_ALWAYS_INLINE to match the style of the other function attribute macro names. Added ATTR_ALWAYS_INLINE attribute to several inlined library functions, to ensure they are inlined in all circumstances. Cleanups to Endpoint.h and Pipe.h. Added better documentation for the endpoint and pipe interrupts.
* Moved all source to the trunk directory.Dean Camera2009-02-234-0/+430