Commit Graph

1311 Commits

Author SHA1 Message Date
Dean Camera 68468e0aea Added new incomplete AudioOutputHost Host LowLevel demo. 2011-05-30 11:36:21 +00:00
Dean Camera 2a26efc691 Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates. 2011-05-30 11:07:57 +00:00
Dean Camera 78cfaac9b4 Remove output files from the incomplete AudioInputHost demo, and improve the logic in the ConfigDescriptor.c device configuration processing routine. 2011-05-30 09:37:31 +00:00
Dean Camera 0b6d5467bc Oops - revert commit of an incomplete port of the AVRISP-MKII project. 2011-05-29 12:47:56 +00:00
Dean Camera ea922c98d1 Added new incomplete AudioInputHost Host LowLevel demo.
Added missing Audio class control request definitions.

Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
2011-05-29 12:41:14 +00:00
Dean Camera cc9b190919 Add new USB_Host_SetInterfaceAltSetting() convenience function. 2011-05-27 07:33:58 +00:00
Dean Camera 348bf33b18 Add the MIDIToneGenerator project to the Projects/ directory makefile clean rule. 2011-05-27 03:45:45 +00:00
Dean Camera 7e1e23af59 Update trunk documentation for new LUFA release. 2011-05-27 03:05:50 +00:00
Dean Camera 6e7fc21a94 Fix incorrect macro guard in the UC3 EndpointStream header file.
Fix incorrect project name in the Projects/ folder makefile.
2011-05-26 11:37:40 +00:00
Dean Camera 1ea5dae8a8 Copy out the EndpointStream and PipeStream functions to each architecture, so that each architecture can optimise the stream functions according to the available hardware (such as DMA, where available). 2011-05-26 11:27:21 +00:00
Dean Camera edc4db41f4 Update Webserver project to remove DHCP IP configuration status notification. 2011-05-26 10:50:22 +00:00
Dean Camera f0ff633962 Lower the size of the HID report endpoint from 16 bytes to 8 bytes, to allow for Low Speed USB compatibility in the KeyboardMouseMultiReport demo (thanks to Kevin Chernoff). 2011-05-26 10:24:47 +00:00
Dean Camera 24ea531fab Update MediaController project to remove the Record usage (not often needed) and explicitly declare each usage for maximum clarity. 2011-05-23 13:19:13 +00:00
Dean Camera b88e0a7b90 Add new MediaController project, a simple Media Playback control manipulator (Play/Pause/Next Track/Volume/etc.). 2011-05-23 12:54:15 +00:00
Dean Camera 4343e68779 Correct errors in the DHCP Server application in the Webserver project, that was causing random server restarts and/or incorrectly allocated IP addresses. 2011-05-23 07:13:45 +00:00
Dean Camera 3cba88e4c0 Add RNDIS Device support to the Webserver project, so that the files stored on the device can be viewed from a web-browser while the board is plugged into a host machine. 2011-05-22 08:28:40 +00:00
Dean Camera e349974aa9 Fix broken Doxygen documentation. 2011-05-19 13:32:55 +00:00
Dean Camera 9d733d44b4 Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver.
Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.
2011-05-18 14:33:34 +00:00
Dean Camera 41de1d1dab Oops - fix bad include path in the moved USBKEY Dataflash board driver header. 2011-05-18 12:24:56 +00:00
Dean Camera 910bca557c Seperated out board drivers by architecture in the library internals for better organisation. 2011-05-18 12:23:24 +00:00
Dean Camera e10f5b4f14 Add new "version" makefile target to the main LUFA library makefile, to give an easy way to identify a LUFA release from the command-line. 2011-05-18 11:53:53 +00:00
Dean Camera 064643e066 Add skeleton LUFAConfig.h to the CodeTemplates directory. 2011-05-14 02:34:47 +00:00
Dean Camera 049e930963 Fixed possible invalid program execution when in host mode if corrupt 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.
2011-05-14 02:17:58 +00:00
Dean Camera 78e58b6d1c Add incomplete Android Accessory Host LowLevel demo. 2011-05-13 00:17:06 +00:00
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.
2011-05-09 14:04:40 +00:00
Dean Camera a85fa30bf1 Minor documentation fixes. 2011-05-08 14:30:36 +00:00
Dean Camera 71c5d4e3e5 Fix up mistakes in the Device Support documentation page. 2011-04-27 10:21:40 +00:00
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).
2011-04-25 07:28:36 +00:00
Dean Camera 7b0cebc1d7 Add new LUFA powered user projects to the documentation. 2011-04-23 05:01:50 +00:00
Dean Camera 8c3d63b5cf Fix HID class bootloader not working on the larger USB AVRs due to the altered page addressing scheme. 2011-04-23 04:39:21 +00:00
Dean Camera 0407b92584 Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing. 2011-04-23 03:50:13 +00:00
Dean Camera 513db46548 Added LED flashing to the CDC and DFU class bootloaders to indicate when they are running. 2011-04-23 03:45:29 +00:00
Dean Camera 2b0c9532a3 Fix reversed descriptions for the AVR8 USB pad regulator enable/disable masks (thanks to Omar). 2011-04-20 06:04:49 +00:00
Dean Camera 04263de4f0 Fix definition of pgm_read_ptr(). 2011-04-13 06:58:29 +00:00
Dean Camera e0852408de Replace cast-as-char* byte access of multibyte variables with proper shifts and masks to preserve endianness across different architectures. 2011-04-13 06:12:52 +00:00
Dean Camera 4b1f6cac75 Slight cleanups to the architecture specific makefile templates to make the common configuration sections as identical as possible. 2011-04-12 04:57:47 +00:00
Dean Camera e009aafe25 Update architecture specific makefile templates so that they are as close to one-another as possible. 2011-04-12 04:49:36 +00:00
Dean Camera 16f09ab50a Add makefile template for the AVR32 UC3 architecture. 2011-04-12 04:38:53 +00:00
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.
2011-04-12 03:03:56 +00:00
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.
2011-04-10 06:43:02 +00:00
Dean Camera d08116b02f Create a new Common module documentation group for the new Global Interrupt macros. 2011-04-08 05:54:56 +00:00
Dean Camera c263ea837a Move global interrupt enable/disable functions out to Common.h and document them. 2011-04-08 05:40:25 +00:00
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.
2011-04-08 05:05:05 +00:00
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.
2011-04-08 04:49:20 +00:00
Dean Camera 0c5afda7e8 Oops - fix misnamed function call in Pipe_Discard_Stream(). 2011-04-04 15:41:26 +00:00
Dean Camera 96a2da1813 Oops - fix incorrect variable name in the updated Pipe_Write_8() function. 2011-04-04 15:25:30 +00:00
Dean Camera 899df7d331 Renamed all low level Endpoint_Read_*, Endpoint_Write_* and 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.
2011-04-04 12:52:30 +00:00
Dean Camera 2efa79d3ec Conditionally add available address spaces to the address space enum, for multiple address space architectures.
Update Doxygen configuration file for the latest Doxygen release.

Minor documentation updates.
2011-04-04 10:24:57 +00:00
Dean Camera 06d00bb99b Ensure the library builds cleanly in device mode for architectures lacking multiple address spaces. 2011-03-27 22:17:26 +00:00
Dean Camera 8f5ab27dc9 Use the MIN() macro where possible instead of manual "(x < y) ? x : y" constructs. 2011-03-23 09:26:41 +00:00