aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
Commit message (Collapse)AuthorAgeFilesLines
* Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean Camera2011-06-202-0/+20
| | | | | | disabled, and a USE_*_DESCRIPTORS compile time option was not enabled on the AVR8s. Add C++ compatibility to some header files currently missing extern "C" linkage.
* Added board driver support for the Busware TUL board.Dean Camera2011-06-041-1/+4
|
* Spell check library source code files.Dean Camera2011-06-012-5/+5
|
* Add new USE_LUFA_CONFIG_HEADER compile time option.Dean Camera2011-05-091-0/+4
| | | | Add missing LEDS_ToggleLEDs() function to the LED driver for the EVK1101 board.
* Minor documentation fixes.Dean Camera2011-05-081-1/+4
|
* Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result ↵Dean Camera2011-04-252-4/+4
| | | | | | | | | | typecasting to the SWAPENDIAN_* macros. Switch to using -1 on the UC3 target to obtain a register mask with all bits set (for clearing interrupts and status flags). Fix incorrect USB controller mode on the UC3 when a fixed mode is specified as a compile time option due to AVR32_USBB.USBCON.uide being set by default. Make USB_Descriptor_String_t use a uint16_t for Unicode strings on all targets except the AVR8 (retained for backwards compatibility).
* Fix definition of pgm_read_ptr().Dean Camera2011-04-131-1/+1
|
* Add missing function attributes to the pipe/endpoint functions for all ↵Dean Camera2011-04-122-13/+23
| | | | | | architectures. Perform endianness correction in the HID report parser for big-endian platforms.
* Remove redundant type information for bitfield elements, other than the ↵Dean Camera2011-04-101-18/+28
| | | | | | signed/unsignedness of the element. Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
* Create a new Common module documentation group for the new Global Interrupt ↵Dean Camera2011-04-081-2/+20
| | | | macros.
* Move global interrupt enable/disable functions out to Common.h and document ↵Dean Camera2011-04-081-1/+90
| | | | them.
* Correct UC3 global interrupt functions.Dean Camera2011-04-081-4/+14
| | | | | | Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function. Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
* Add in a new common Delay_MS() function, which provides a blocking delay for ↵Dean Camera2011-04-081-5/+17
| | | | | | | | all architectures. Remove use of avr-libc specific ATOMIC_BLOCK, replace with a new per-architecture set of inline functions to retrieve and manipulate the global interrupt enable bit for each architecture. Add in documentation for the USB controller common interrupt routine which must be linked to the interrupt controller in the user application on the AVR32 UC3 architecture.
* Conditionally add available address spaces to the address space enum, for ↵Dean Camera2011-04-041-0/+4
| | | | | | | | multiple address space architectures. Update Doxygen configuration file for the latest Doxygen release. Minor documentation updates.
* Add in new architecture attribute defines to selectively remove the EEPROM ↵Dean Camera2011-03-211-2/+6
| | | | and FLASH memory space functions on architectures which do not have seperate memory address spaces.
* Remove redundant Doxygen guards from the internal preprocessor definitions.Dean Camera2011-03-151-3/+1
|
* Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.Dean Camera2011-03-132-3/+3
|
* Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 ↵Dean Camera2011-03-131-0/+6
| | | | microcontrollers.
* Oops - rename misnamed Endianess.h header file.Dean Camera2011-03-132-4/+0
| | | | Remove UC3B temp macros related to EEPROM, to ensure that projects requiring this break at compile time rather than at runtime until a solution can be found.
* Move out endianness management macros into a new common Endianness.h header.Dean Camera2011-03-133-152/+477
| | | | Fix Doxygen documentation, broken due to the added ATTR_PACKED attribute on some structs breaking the Doxygen parser.
* Fix UC3B architecture compile errors and ensure the architecture can be ↵Dean Camera2011-03-051-0/+2
| | | | compiled with no special makefile tokens defined.
* Porting updates for the UC3B architecture - get UC3B partially enumerating ↵Dean Camera2011-03-052-5/+45
| | | | using a modified mouse demo on the EVK1101. Implement a software FIFO for the endpoint banks; datasheet hints that this can be done through hardware as on the AVR8 architecture, but the correct method to do this not discovered yet.
* Add in USB_INT_RegisterHandlers() internal function to register the ↵Dean Camera2011-02-281-1/+3
| | | | | | interrupt handler routines used by LUFA. Add dummy loads after clearing the interrupt lines according to the datasheet. Add in temporary global interrupts enable/disable macros.
* Fix USB Host mode compile errors for the UC3B architecture.Dean Camera2011-02-271-0/+1
|
* Move out common architecture-independent core definitions into the ↵Dean Camera2011-02-271-0/+1
| | | | appropriate core dispatch header files.
* More AVR32 UC3B architecture ports - USB device mode applications can now be ↵Dean Camera2011-02-271-0/+12
| | | | sucessfully compiled, although they will be currently non-functional.
* Update board driver common APIs to use uint_reg_t.Dean Camera2011-02-201-5/+6
|
* Added start of a port of the core USB driver code to the AVR32 UC3B ↵Dean Camera2011-02-203-1/+18
| | | | architecture.
* More updates to remove architecture-specific comments from the ↵Dean Camera2011-02-202-9/+10
| | | | documentation, alter USBMode.h preprocessor logic to support future architectures more easily.
* More Doxygen updates for multiple architecture support.Dean Camera2011-02-204-14/+21
|
* Start update of documentation to support possible multiple architectures in ↵Dean Camera2011-02-204-18/+20
| | | | the future - alter \file documentation to automatically copy in the module documentation where possible.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-194-62/+158
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Added board driver support for the Sparkfun ATMEGA8U2 breakout board.Dean Camera2011-02-161-0/+3
|
* Added new KeyboardMouseMultiReport Device ClassDriver demo.Dean Camera2011-01-261-0/+24
| | | | | | Fixed ReportID not being removed from the feature/out report data array in the HID class driver when Report IDs are used. Added new MAX() and MIN() convenience macros.
* Minor documentation improvements.Dean Camera2011-01-083-14/+14
|
* Update copyright year on all source files.Dean Camera2011-01-013-6/+6
|
* Fix compile errors from the changes to the SerialStream and board ↵Dean Camera2010-12-261-2/+2
| | | | Temperature drivers.
* Added basic driver example use code to the library documentation.Dean Camera2010-12-261-4/+8
| | | | Made the USARTStream global public and documented in the SerialStream module, allowing for the serial USART stream to be accessed via its handle rather than via the implicit stdout and stdin streams.
* Make a new general RingBuffer.h misc library driver, instead of the ↵Dean Camera2010-12-261-2/+12
| | | | | | | | per-application LightweightRingBuff.h ring buffers. Change over projects to use the new driver. Add ORDERED_EP_CONFIG to the device Projects (only) that use only a single class driver, or where the endpoint ordering is fixed, to save on compiled binary size. Added new GCC_FORCE_POINTER_ACCESS() macro to correct GCC's mishandling of struct pointers.
* Fixed broken USBFOO board drivers due to missing BOARD_USBFOO define.Dean Camera2010-11-301-0/+3
|
* Added board hardware driver support for the Microsin AVR-USB162 development ↵Dean Camera2010-11-211-1/+4
| | | | board.
* Added board hardware driver support for the Adafruit U4 breakout board.Dean Camera2010-11-081-0/+3
| | | | | | Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct. Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set).
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-283-3/+3
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Added board hardware driver support for the Minimus board (thanks to the ↵Dean Camera2010-10-171-0/+3
| | | | PSGroove team).
* Added board hardware driver support for the Maximus board (thanks to the ↵Dean Camera2010-10-171-0/+3
| | | | PSGroove team).
* Added board hardware driver support for the Blackcat USB JTAG board (thanks ↵Dean Camera2010-10-171-0/+3
| | | | to the PSGroove team).
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-133-52/+55
| | | | tool made by Laszlo Monda
* Added board hardware driver support for the Busware CUL V3 board.Dean Camera2010-10-061-0/+3
| | | | Added SVN eol-style property to the library driver files that are missing it.
* Added board hardware driver support for the Arduino Uno development board.Dean Camera2010-09-281-0/+3
| | | | Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver.
* Reverted modifications to USBInterrupt.h that were intefering with correct ↵Dean Camera2010-09-221-2/+2
| | | | | | | | host mode operation. Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.