- Feb 16, 2011
-
-
Dean Camera authored
-
- Feb 13, 2011
-
-
Dean Camera authored
-
- Feb 12, 2011
-
-
Dean Camera authored
-
- Feb 10, 2011
-
-
Dean Camera authored
Add static keyword to all project globals whose scope should be restricted to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
-
- Feb 02, 2011
-
-
Dean Camera authored
-
- Jan 30, 2011
-
-
Dean Camera authored
-
Dean Camera authored
Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead. Added new Serial_SendData() function to the Serial driver.
-
Dean Camera authored
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.
-
Dean Camera authored
Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items into the standard library Joystick HID report descriptor macro. Add in support for joystick resolution reporting via PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM items.
-
Dean Camera authored
Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ClassDriver demos to use it. Fix reversed byte ordering of multi-byte HID data. Added support to the HID parser for extended USAGE items that contain the usage page as well as the usage index. Removed the HID_IOF_NON_VOLATILE and HID_IOF_VOLATILE flags from HID INPUT items where the flag is invalid. Changed over HID OUTPUT items to use HID_IOF_NON_VOLATILE. Change over MagStripe project to use HID_DESCRIPTOR_KEYBOARD() for its HID report. Change over MouseHostDevice demo to use HID_DESCRIPTOR_MOUSE() for its HID report.
-
- Jan 26, 2011
-
-
Dean Camera authored
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.
-
- Jan 23, 2011
-
-
Dean Camera authored
Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports.
-
- Jan 17, 2011
-
-
Dean Camera authored
Fixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in the HID class driver (thanks to Joby Taffey). Add in newHID_KEYBOARD_SC_POWER keyboard scancode constant.
-
Dean Camera authored
Abuse the the C preprocessor so that the HID macros can automatically encode data into the array from the HID macros automagically, by specifying the bit-width of the data, and the data itself as a single integer value of that width.
-
- Jan 16, 2011
-
-
Dean Camera authored
Fixed several functions in the Host mode Still Image Class driver returning an error code from the incorrect error code enum (thanks to Daniel Seibert).
-
Dean Camera authored
-
Dean Camera authored
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/.
-
Dean Camera authored
-
- Jan 13, 2011
-
-
Dean Camera authored
Added new high level TWI packet read/write commands, altered behaviour of the TWI_StartTransmission() function. Spell check source code files.
-
- Jan 10, 2011
-
-
Dean Camera authored
-
Dean Camera authored
Call USB_USBTask() in the Endpoint stream functions between packets if INTERRUPT_CONTROL_ENDPOINT is not set. Remove calls to USB_USBTask in the Mass Storage class driver stream read/write continuation checks, since this is now done inside the stream function.
-
Dean Camera authored
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).
-
- Jan 08, 2011
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
The FAST_STREAM_TRANSFERS compile time option has been removed due to lack of use and low cost/benefit ratio. Add GCC_FORCE_POINTER_ACCESS() macro use to the RingBuffer library header, to attempt to force GCC into producing more efficient code for manipulating the buffers.
-
- Jan 03, 2011
-
-
Dean Camera authored
Update Doxygen documentation configuration file for the main project documentation to the latest version. Add missing data structure documentation briefs.
-
- Jan 01, 2011
-
-
Dean Camera authored
-
- Dec 31, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Rename RingBuffer header functions and typedefs from RingBuff_* to RingBuffer_* so that it matches the header name.
-
- Dec 28, 2010
-
-
Dean Camera authored
-
- Dec 26, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
Documentation improvements - put driver example code into its own section, fix incorrect and missing section names.
-
Dean Camera authored
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.
-
Dean Camera authored
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.
-
- Dec 24, 2010
-
-
Dean Camera authored
Much more efficient algorithm for the Endpoint/Pipe configuration routine of unordered endpoints/pipes - only reconfigure the endpoints and pipes above the newly configured endpoint/pipe, and don't cache existing endpoint/pipe configuration before use to save SRAM.
-
Dean Camera authored
Re-add in old Endpoint/Pipe workaround for unordered pipes - add new ORDERED_EP_CONFIG compile time option to override the workaround and use the previous behaviour that imposes correct Endpoint/Pipe ordering but produces smaller compiled code.
-
- Dec 13, 2010
-
-
Dean Camera authored
Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID class driver (thanks to Opendous Inc.). Add extra comments to the ISPTarget.c source file in the AVRISP-MKII clone project.
-
- Dec 02, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Refactored Host mode Class Driver *_Host_ConfigurePipes() routines to be more space efficient when compiled. Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
-