Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Copy out the EndpointStream and PipeStream functions to each architecture, ↵ | Dean Camera | 2011-05-26 | 19 | -1063/+2550 | |
| | | | | so that each architecture can optimise the stream functions according to the available hardware (such as DMA, where available). | |||||
* | Fix broken Doxygen documentation. | Dean Camera | 2011-05-19 | 1 | -7/+7 | |
| | ||||||
* | Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and ↵ | Dean Camera | 2011-05-18 | 5 | -70/+140 | |
| | | | | | | RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver. Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure. | |||||
* | Fixed possible invalid program execution when in host mode if corrupt ↵ | Dean Camera | 2011-05-14 | 6 | -22/+55 | |
| | | | | | | | | descriptor lengths are supplied by the attached device. Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed. Add missing documentation to the USB_Device_States_t enum. | |||||
* | Minor documentation fixes. | Dean Camera | 2011-05-08 | 1 | -2/+2 | |
| | ||||||
* | Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result ↵ | Dean Camera | 2011-04-25 | 5 | -17/+23 | |
| | | | | | | | | | | 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 reversed descriptions for the AVR8 USB pad regulator enable/disable ↵ | Dean Camera | 2011-04-20 | 2 | -3/+4 | |
| | | | | masks (thanks to Omar). | |||||
* | Replace cast-as-char* byte access of multibyte variables with proper shifts ↵ | Dean Camera | 2011-04-13 | 1 | -2/+2 | |
| | | | | and masks to preserve endianness across different architectures. | |||||
* | Add missing function attributes to the pipe/endpoint functions for all ↵ | Dean Camera | 2011-04-12 | 12 | -11/+17 | |
| | | | | | | architectures. Perform endianness correction in the HID report parser for big-endian platforms. | |||||
* | Remove redundant type information for bitfield elements, other than the ↵ | Dean Camera | 2011-04-10 | 7 | -55/+56 | |
| | | | | | | 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. | |||||
* | Move global interrupt enable/disable functions out to Common.h and document ↵ | Dean Camera | 2011-04-08 | 7 | -79/+13 | |
| | | | | them. | |||||
* | Correct UC3 global interrupt functions. | Dean Camera | 2011-04-08 | 3 | -4/+5 | |
| | | | | | | 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 Camera | 2011-04-08 | 11 | -56/+133 | |
| | | | | | | | | 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. | |||||
* | Oops - fix misnamed function call in Pipe_Discard_Stream(). | Dean Camera | 2011-04-04 | 1 | -1/+1 | |
| | ||||||
* | Oops - fix incorrect variable name in the updated Pipe_Write_8() function. | Dean Camera | 2011-04-04 | 1 | -1/+1 | |
| | ||||||
* | Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵ | Dean Camera | 2011-04-04 | 15 | -288/+286 | |
| | | | | | | Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. | |||||
* | Conditionally add available address spaces to the address space enum, for ↵ | Dean Camera | 2011-04-04 | 1 | -0/+4 | |
| | | | | | | | | multiple address space architectures. Update Doxygen configuration file for the latest Doxygen release. Minor documentation updates. | |||||
* | Ensure the library builds cleanly in device mode for architectures lacking ↵ | Dean Camera | 2011-03-27 | 1 | -11/+20 | |
| | | | | multiple address spaces. | |||||
* | Fix corner case in the HID report descriptor Mouse/Joystick tempates at the ↵ | Dean Camera | 2011-03-23 | 1 | -2/+2 | |
| | | | | 8/16 bit boundary. | |||||
* | Add in new architecture attribute defines to selectively remove the EEPROM ↵ | Dean Camera | 2011-03-21 | 8 | -144/+207 | |
| | | | | and FLASH memory space functions on architectures which do not have seperate memory address spaces. | |||||
* | F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵ | Dean Camera | 2011-03-21 | 3 | -8/+7 | |
| | | | | architecture ports. | |||||
* | Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin ↵ | Dean Camera | 2011-03-16 | 1 | -2/+5 | |
| | | | | Degelsegger). | |||||
* | Added new VirtualSerialMassStorage Device Class Driver demo. | Dean Camera | 2011-03-16 | 1 | -1/+2 | |
| | ||||||
* | Remove redundant Doxygen guards from the internal preprocessor definitions. | Dean Camera | 2011-03-15 | 1 | -3/+1 | |
| | ||||||
* | Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating ↵ | Dean Camera | 2011-03-15 | 4 | -10/+5 | |
| | | | | | | when the SUSPI bit is set (thanks to Holger Steinhaus). Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers. | |||||
* | Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB ↵ | Dean Camera | 2011-03-15 | 2 | -14/+35 | |
| | | | | AVRs when automatic PLL mode is specified. | |||||
* | Oops - fix internal serial number extraction routine for the AVR8 architecture. | Dean Camera | 2011-03-14 | 1 | -1/+1 | |
| | ||||||
* | Correct Endpoint/Pipe maximum constants for the AVR32 UC3 models. | Dean Camera | 2011-03-14 | 2 | -13/+39 | |
| | ||||||
* | Simplify the internal serial extraction routines for each architecture. | Dean Camera | 2011-03-13 | 3 | -23/+24 | |
| | ||||||
* | Add experimental support for the AVR32 UC3A4 microcontrollers. | Dean Camera | 2011-03-13 | 6 | -29/+72 | |
| | | | | Add support for the inbuilt unique serial numbers in the UC3A3 and UC3A4 models. | |||||
* | Re-add accidentally deleted Host_UC3.c and Host_UC3.h files. | Dean Camera | 2011-03-13 | 2 | -0/+777 | |
| | ||||||
* | Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models. | Dean Camera | 2011-03-13 | 18 | -886/+109 | |
| | ||||||
* | Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 ↵ | Dean Camera | 2011-03-13 | 4 | -22/+72 | |
| | | | | microcontrollers. | |||||
* | Simplify AVR32 UC3B software FIFO, as it will only ever be accessed a byte ↵ | Dean Camera | 2011-03-11 | 4 | -75/+75 | |
| | | | | at a time to prevent data alignment issues. | |||||
* | Add structure padding to the appropriate descriptor structures to maintain ↵ | Dean Camera | 2011-03-11 | 9 | -70/+70 | |
| | | | | | | correct alignments on larger architectures. Fix EVK1101 swapped joystick Right/Down masks. | |||||
* | Fix UC3B architecture compile errors and ensure the architecture can be ↵ | Dean Camera | 2011-03-05 | 2 | -7/+7 | |
| | | | | compiled with no special makefile tokens defined. | |||||
* | Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent ↵ | Dean Camera | 2011-03-05 | 2 | -2/+3 | |
| | | | | | | | | with the Pipe_ResetPipe() function name. Fix undefined error in Pipe_UC3B.h. Add missing migration notes. | |||||
* | Add software FIFOs to the UC3B pipe control interfaces, to match the ↵ | Dean Camera | 2011-03-05 | 6 | -89/+72 | |
| | | | | endpoint control interfaces. Fix incorrect endianness for the Endpoint/Pipe read and write routines. | |||||
* | Porting updates for the UC3B architecture - get UC3B partially enumerating ↵ | Dean Camera | 2011-03-05 | 11 | -149/+124 | |
| | | | | 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. | |||||
* | Fixed Still Image Host class driver exiting the descriptor search routine ↵ | Dean Camera | 2011-03-03 | 2 | -1/+3 | |
| | | | | | | prematurely if the data pipes (but not event pipe) is found. Fixed missing call to Pipe_SetInfiniteINRequests() in the Pipe_ConfigurePipe() routine. | |||||
* | Add in USB_INT_RegisterHandlers() internal function to register the ↵ | Dean Camera | 2011-02-28 | 4 | -29/+42 | |
| | | | | | | 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. | |||||
* | Add code to start the USBB Generic Clock from the user-specified master ↵ | Dean Camera | 2011-02-27 | 2 | -0/+32 | |
| | | | | clock source (OSCx or PLLx) in the AVR32 UC3B core USB driver. | |||||
* | Oops - ensure that only the relevant/available interrupts are defined and ↵ | Dean Camera | 2011-02-27 | 17 | -56/+144 | |
| | | | | | | used on each architecture. Make all USB driver headers include USBMode.h first, to ensure that the relevant USB mode macros are defined. | |||||
* | Changed over the AVR8 USB controller interrupt management macros to be ↵ | Dean Camera | 2011-02-27 | 6 | -83/+304 | |
| | | | | inlined functions instead, for better compile-time validity checking and to keep the per-architecture source files as uniform as possible. | |||||
* | General cleanup and more port work to the AVR32 UC3B. | Dean Camera | 2011-02-27 | 9 | -79/+34 | |
| | ||||||
* | Fix USB Host mode compile errors for the UC3B architecture. | Dean Camera | 2011-02-27 | 3 | -47/+52 | |
| | ||||||
* | Move out common architecture-independent core definitions into the ↵ | Dean Camera | 2011-02-27 | 15 | -370/+216 | |
| | | | | appropriate core dispatch header files. | |||||
* | More AVR32 UC3B architecture ports - USB device mode applications can now be ↵ | Dean Camera | 2011-02-27 | 13 | -126/+309 | |
| | | | | sucessfully compiled, although they will be currently non-functional. | |||||
* | Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically ↵ | Dean Camera | 2011-02-26 | 8 | -371/+171 | |
| | | | | | | cleared when Pipe_ClearError() is called. More UC3B architecture porting. | |||||
* | More UC3B architecture port updates. | Dean Camera | 2011-02-26 | 7 | -219/+21 | |
| |