Dean Camera
7c3867da33
Added new CONCAT() and CONCAT_EXPANDED() convenience macros.
12 years ago
Dean Camera
de0df8b162
Update copyright year to 2013.
12 years ago
Dean Camera
2608fd1dd4
Fixed hardware race condition that could cause failed device enumerations for AVR8 and UC3 architectures (thanks to Mike Beyhs).
...
Fixed incorrect Minimus board LED definitions (thanks to Joonas Lahtinen).
Fixed incorrect LED masks for received data display in the Device GenericHID demos (thanks to Denys Berkovskyy).
12 years ago
Dean Camera
aa61ee1c11
Minor typo corrections.
12 years ago
Dean Camera
eee252603b
Minor documentation improvements.
12 years ago
Dean Camera
c4ebddd27a
Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms.
13 years ago
Dean Camera
851fcd0c2f
Make sure that LUFAConfig.h is included *after* the common submodules, so that the architecture and other defines are available to the configuration header.
13 years ago
Dean Camera
fde181a830
Minor documentation improvements.
13 years ago
Dean Camera
ae91ccc048
Fix up Doxygen documentation directives to allow for generation of documentation when the library code root folder is not "LUFA".
13 years ago
Dean Camera
01d5af3d6c
Add XMEGA C3 family to the ModuleTest build test.
...
Remove unnecessary GCC_MEMORY_BARRIER() at the end of GetGlobalInterruptMask().
Minor documentation improvements.
13 years ago
Dean Camera
e406140f11
Minor documentation fixes - change \note entries to \warning where appropriate and remove/update old documentation.
13 years ago
Dean Camera
1132488e8f
Add build tests to verify correct compilation of as many modules as possible under as many architectures as possible.
...
Fix broken compilation of LUFA under C++ compilers when the Serial peripheral module header file is included in a C++ source file.
Fix missing semicolon in the UC3 architecture host pipe functions.
Fix failed compilation for the XMEGA architecture if USB_DEVICE_ONLY us not specified.
13 years ago
Dean Camera
f1b6ddb710
Update file contributor copyrights for 2012.
13 years ago
Dean Camera
2c806f6cee
Update file header copyrights for 2012.
13 years ago
Dean Camera
8d2cb61a5b
Minor documentation fixes.
13 years ago
Dean Camera
f201f6697b
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
13 years ago
Dean Camera
77f354609f
Fixed compiler warning on GCC with -wundef compile flag is used (thanks to Georg Glock).
13 years ago
Dean Camera
77dbfd3cc4
Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker.
...
Add missing function and definition documentation.
13 years ago
Dean Camera
413438eb23
Add new TWI_BITLENGTH_FROM_FREQ() macro to the AVR8 TWI peripheral driver.
...
Change Delay_MS() to accept a 16-bit parameter rather than an 8-bit parameter for longer possible delays.
Minor documentation improvements.
14 years ago
Dean Camera
cff190b8f4
Minor documentation fixes.
...
Add extra parenthesis around terms in the common MIN() and MAX() macros to prevent issues with non-trivial macro inputs (thanks to David Lyons).
14 years ago
Dean Camera
fc5fa769ef
Pull out architecture specific macros and other definitions into a new common header file. Add new JTAG_DISABLE() macro for the AVR8s to software-disable JTAG debugging using cycle-safe assembly code.
14 years ago
Dean Camera
01d269879f
Add new STRINGIFY() and STRINGIFY_EXPANDED() convenience macros.
14 years ago
Dean Camera
d9643cf6ec
Add start of an architecture port to the Atmel USB XMEGA devices.
14 years ago
Dean Camera
bfa22eca26
Split out compiler specific helper macros into a new CompilerSpecific.h header file inside the library, for future expansion.
14 years ago
Dean Camera
d784baaa3a
Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was 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.
14 years ago
Dean Camera
f01a05415c
Spell check library source code files.
14 years ago
Dean Camera
7d3150423d
Add new USE_LUFA_CONFIG_HEADER compile time option.
...
Add missing LEDS_ToggleLEDs() function to the LED driver for the EVK1101 board.
14 years ago
Dean Camera
a85fa30bf1
Minor documentation fixes.
14 years ago
Dean Camera
f670bdeff8
Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result 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).
14 years ago
Dean Camera
04263de4f0
Fix definition of pgm_read_ptr().
14 years ago
Dean Camera
995195a2b0
Add missing function attributes to the pipe/endpoint functions for all architectures.
...
Perform endianness correction in the HID report parser for big-endian platforms.
14 years ago
Dean Camera
852b5e612d
Remove redundant type information for bitfield elements, other than the 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.
14 years ago
Dean Camera
d08116b02f
Create a new Common module documentation group for the new Global Interrupt macros.
14 years ago
Dean Camera
c263ea837a
Move global interrupt enable/disable functions out to Common.h and document them.
14 years ago
Dean Camera
de9bd767dc
Correct UC3 global interrupt functions.
...
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.
14 years ago
Dean Camera
70284d390f
Add in a new common Delay_MS() function, which provides a blocking delay for 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.
14 years ago
Dean Camera
f595043584
Add in new architecture attribute defines to selectively remove the EEPROM and FLASH memory space functions on architectures which do not have seperate memory address spaces.
14 years ago
Dean Camera
5eb1862d54
Remove redundant Doxygen guards from the internal preprocessor definitions.
14 years ago
Dean Camera
944e0d2009
Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.
14 years ago
Dean Camera
6005a42150
Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 microcontrollers.
14 years ago
Dean Camera
f301a4a21f
Oops - rename misnamed Endianess.h header file.
...
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.
14 years ago
Dean Camera
b1528a1256
Move out endianness management macros into a new common Endianness.h header.
...
Fix Doxygen documentation, broken due to the added ATTR_PACKED attribute on some structs breaking the Doxygen parser.
14 years ago
Dean Camera
e4b3e3fc65
Fix UC3B architecture compile errors and ensure the architecture can be compiled with no special makefile tokens defined.
14 years ago
Dean Camera
b763c3f33e
Porting updates for the UC3B architecture - get UC3B partially enumerating 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.
14 years ago
Dean Camera
8c6f26e19d
Add in USB_INT_RegisterHandlers() internal function to register the 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.
14 years ago
Dean Camera
4a3b70e727
Fix USB Host mode compile errors for the UC3B architecture.
14 years ago
Dean Camera
381dd0d490
Move out common architecture-independent core definitions into the appropriate core dispatch header files.
14 years ago
Dean Camera
f3f481183a
More AVR32 UC3B architecture ports - USB device mode applications can now be sucessfully compiled, although they will be currently non-functional.
14 years ago
Dean Camera
a318f32b31
Update board driver common APIs to use uint_reg_t.
14 years ago
Dean Camera
cad5e9ffca
Added start of a port of the core USB driver code to the AVR32 UC3B architecture.
14 years ago