Commit Graph

245 Commits (84ddf237db767dd046c1b54c0005c98d8a60c76f)

Author SHA1 Message Date
Dean Camera 2e6370a6b9 Add missing project files for the new HIDReportViewer project to upgrade its status to a finished (working) project. 14 years ago
Dean Camera 00acc95ff6 Add new incomplete HIDReportViewer project. 14 years ago
Dean Camera d8fe01f19a Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names. 14 years ago
Dean Camera e5e34f91fa Fix compile errors when both Host and Device modes are enabled. 14 years ago
Dean Camera 1191da7b7b Add missing AS4 and project description files to the new Audio Host demos.
Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
14 years ago
Dean Camera 1f1d0710f3 Add new Audio Class Driver Host demos.
Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device.

Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
14 years ago
Dean Camera e572ee7ff2 Added new Host mode Audio Class driver.
Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events.
14 years ago
Dean Camera 2d778a3ff5 Add additional support files for the new low level AudioInputHost and AudioOutputHost demos. 14 years ago
Dean Camera 85f39a58c5 Move completed low level Audio Host demos into the LowLevel folder from the Incomplete folder. 14 years ago
Dean Camera 7dffa15c16 Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru. 14 years ago
Dean Camera 3bd6336075 Added board driver support for the Busware TUL board. 14 years ago
Dean Camera 68468e0aea Added new incomplete AudioOutputHost Host LowLevel demo. 14 years ago
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.
14 years ago
Dean Camera 6e7fc21a94 Fix incorrect macro guard in the UC3 EndpointStream header file.
Fix incorrect project name in the Projects/ folder makefile.
14 years ago
Dean Camera edc4db41f4 Update Webserver project to remove DHCP IP configuration status notification. 14 years ago
Dean Camera b88e0a7b90 Add new MediaController project, a simple Media Playback control manipulator (Play/Pause/Next Track/Volume/etc.). 14 years ago
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. 14 years ago
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.
14 years ago
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.
14 years ago
Dean Camera 16f09ab50a Add makefile template for the AVR32 UC3 architecture. 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 fe62770a1e Added new VirtualSerialMassStorage Device Class Driver demo. 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 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 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 cf2411435c Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically cleared when Pipe_ClearError() is called.
More UC3B architecture porting.
14 years ago
Dean Camera 66c38cd940 Added TWI baud rate prescaler and bit length parameters to the TWI_Init() function (thanks to Thomas Herlinghaus). 14 years ago
Dean Camera b6a3c78fa3 Rename architecture specific driver files, to make them appear with uniquely identifying filenames in the documentation. 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
Dean Camera 1daa5e16f9 Initial restructuring of the core USB driver module to support multiple architectures in the future. 14 years ago
Dean Camera e0a3f26978 Move out Dataflash IC command constants headers into the general LUFA/Drivers/Misc/ directory rather than duplicating them inside the individual board driver folders. 14 years ago
Dean Camera 3d4d8e7f62 Add new ARCH option to the makefiles to (eventually) specify the target device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support. 14 years ago
Dean Camera 100a197d0e Reduced latency for executing the Start-Of-Frame events (if enabled in the user application). 14 years ago
Dean Camera 31ed53af55 Add missing HID bootloader AVRStudio project. 14 years ago
Dean Camera 0019fbd129 Add more const-ness to the stream endpoint/pipe functions where possible. 14 years ago
Dean Camera 7d823d926f Update HID bootloader loader application to support the VID/PID used by the bootloader. 14 years ago
Dean Camera cae0fa73d7 Added HID class bootloader, compatible with a modified version of the command line Teensy loader from PJRC.com. 14 years ago
Dean Camera afd828c095 Removed SerialStream module, rolled functionality into the base USART Serial peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods.
Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions.

Altered the serial byte receive function to make it non-blocking.
14 years ago
Dean Camera a852ea8e43 Added new KeyboardMouseMultiReport Device ClassDriver demo.
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.
14 years ago
Dean Camera 039a714ee4 New HID report item macros (with HID_RI_ prefix) to allow for easy creation and editing of HID report descriptors.
Changed over all project and demo HID report descriptors to use the new HID report item macros.

Moved the HIDParser.c source file to the LUFA/Drivers/USB/Class/Common/ directory from the LUFA/Drivers/USB/Class/Host/.
15 years ago
Dean Camera f555ad7ced Altered all endpoint/pipe stream transfers so that the new BytesProcessed parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk).
Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions.

Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it.

Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
15 years ago
Dean Camera 39ac72f2d1 Make a new general RingBuffer.h misc library driver, instead of the 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.
15 years ago
Dean Camera 0381399f66 Add missing AVRStudio4 project file for the MIDIToneGenerator project. 15 years ago
Dean Camera 8a7351c760 Added new completed MIDIToneGenerator project. 15 years ago
Dean Camera 857a82674f Readd incomplete MIDIToneGenerator project, which can now correctly generate up to three simultaneous notes from MIDI channel 0. 15 years ago
Dean Camera b87d0b45a2 Added board hardware driver support for the Microsin AVR-USB162 development board. 15 years ago
Dean Camera 0ce2950d81 Added board hardware driver support for the Adafruit U4 breakout board.
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).
15 years ago
Dean Camera b120c4e4cd Move RNDISConstants.h into the RNDIS class driver common definition header.
Add logical grouping of related #define values for better Doxygen documentation.
15 years ago