pub/USBasp.git
14 years agoRenamed the PRNT_Host_SendString(), CDC_Host_SendString() and CDC_Device_SendString...
Dean Camera [Sun, 30 Jan 2011 21:02:31 +0000 (21:02 +0000)]
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.

14 years agoRemoved SerialStream module, rolled functionality into the base USART Serial peripher...
Dean Camera [Sun, 30 Jan 2011 19:47:31 +0000 (19:47 +0000)]
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 agoOops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items into the...
Dean Camera [Sun, 30 Jan 2011 14:40:24 +0000 (14:40 +0000)]
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.

14 years agoAdd new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ClassDrive...
Dean Camera [Sun, 30 Jan 2011 14:14:04 +0000 (14:14 +0000)]
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.

14 years agoAdded new KeyboardMouseMultiReport Device ClassDriver demo.
Dean Camera [Wed, 26 Jan 2011 21:33:07 +0000 (21:33 +0000)]
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 agoAdded new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and HID_DESCRIPTOR_JOYSTICK...
Dean Camera [Sun, 23 Jan 2011 20:02:51 +0000 (20:02 +0000)]
Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of  basic USB HID device reports.

14 years agoChange over Joystick demo HID report descriptor to use USAGE_MINIMUM and USAGE_MAXIMU...
Dean Camera [Sun, 23 Jan 2011 17:41:16 +0000 (17:41 +0000)]
Change over Joystick demo HID report descriptor to use USAGE_MINIMUM and USAGE_MAXIMUM when describing the joystick buttons, to allow for easy extension of the number of supported buttons.

14 years agoChanged AVRISP-MKII project to use the Watchdog interrupt for command timeouts, to...
Dean Camera [Sat, 22 Jan 2011 17:48:06 +0000 (17:48 +0000)]
Changed AVRISP-MKII project to use the Watchdog interrupt for command timeouts, to reduce CPU usage and free timer 0 for other uses in the future.

14 years agoFixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in the HID...
Dean Camera [Mon, 17 Jan 2011 23:11:13 +0000 (23:11 +0000)]
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.

14 years agoAbuse the the C preprocessor so that the HID macros can automatically encode data...
Dean Camera [Mon, 17 Jan 2011 19:44:48 +0000 (19:44 +0000)]
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.

14 years agoFixed several functions in the Host mode Still Image Class driver returning an error...
Dean Camera [Sun, 16 Jan 2011 23:13:54 +0000 (23:13 +0000)]
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).

14 years agoMinor documentation corrections for the new HID report item constant defines.
Dean Camera [Sun, 16 Jan 2011 19:41:26 +0000 (19:41 +0000)]
Minor documentation corrections for the new HID report item constant defines.

14 years agoNew HID report item macros (with HID_RI_ prefix) to allow for easy creation and editi...
Dean Camera [Sun, 16 Jan 2011 19:34:28 +0000 (19:34 +0000)]
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/.

14 years agoAdded new ADC_GET_CHANNEL_MASK() convenience macro to the ADC driver.
Dean Camera [Sun, 16 Jan 2011 16:13:22 +0000 (16:13 +0000)]
Added new ADC_GET_CHANNEL_MASK() convenience macro to the ADC driver.

14 years agoAdded new high level TWI packet read/write commands, altered behaviour of the TWI_Sta...
Dean Camera [Thu, 13 Jan 2011 22:56:49 +0000 (22:56 +0000)]
Added new high level TWI packet read/write commands, altered behaviour of the TWI_StartTransmission() function.

Spell check source code files.

14 years agoOops - The DS1307 contains an unused "DayOfWeek" register that must be accounted...
Dean Camera [Thu, 13 Jan 2011 21:01:05 +0000 (21:01 +0000)]
Oops - The DS1307 contains an unused "DayOfWeek" register that must be accounted for in the new unified DS1307 Time/Day read and write routines.

14 years agoChanged TempDataLogger project's DS1307 driver to simplify the function interface...
Dean Camera [Thu, 13 Jan 2011 19:14:38 +0000 (19:14 +0000)]
Changed TempDataLogger project's DS1307 driver to simplify the function interface and prevent a possible race condition.

14 years agoFix typos and outdated information.
Dean Camera [Mon, 10 Jan 2011 21:53:38 +0000 (21:53 +0000)]
Fix typos and outdated information.

14 years agoCall USB_USBTask() in the Endpoint stream functions between packets if INTERRUPT_CONT...
Dean Camera [Mon, 10 Jan 2011 18:56:34 +0000 (18:56 +0000)]
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.

14 years agoAltered all endpoint/pipe stream transfers so that the new BytesProcessed parameter...
Dean Camera [Mon, 10 Jan 2011 18:43:34 +0000 (18:43 +0000)]
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).

14 years agoOops - fix type preventing compilation of demos using the class drivers.
Dean Camera [Sat, 8 Jan 2011 15:54:57 +0000 (15:54 +0000)]
Oops - fix type preventing compilation of demos using the class drivers.

14 years agoMinor documentation improvements.
Dean Camera [Sat, 8 Jan 2011 11:47:20 +0000 (11:47 +0000)]
Minor documentation improvements.

14 years agoThe FAST_STREAM_TRANSFERS compile time option has been removed due to lack of use...
Dean Camera [Sat, 8 Jan 2011 00:54:30 +0000 (00:54 +0000)]
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.

14 years agoAdd custom footer to the main library documentation.
Dean Camera [Mon, 3 Jan 2011 20:37:30 +0000 (20:37 +0000)]
Add custom footer to the main library documentation.

14 years agoUpdate Doxygen documentation configuration file for the main project documentation...
Dean Camera [Mon, 3 Jan 2011 20:13:06 +0000 (20:13 +0000)]
Update Doxygen documentation configuration file for the main project documentation to the latest version. Add missing data structure documentation briefs.

14 years agoUpdate copyright year on all source files.
Dean Camera [Sat, 1 Jan 2011 13:00:56 +0000 (13:00 +0000)]
Update copyright year on all source files.

14 years agoFixed incorrect byte ordering in the Audio_Device_WriteSample24 function (thanks...
Dean Camera [Fri, 31 Dec 2010 15:03:57 +0000 (15:03 +0000)]
Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function (thanks to WZab).

14 years agoRename RingBuffer header functions and typedefs from RingBuff_* to RingBuffer_* so...
Dean Camera [Fri, 31 Dec 2010 14:47:20 +0000 (14:47 +0000)]
Rename RingBuffer header functions and typedefs from RingBuff_* to RingBuffer_* so that it matches the header name.

14 years agoFixed inverted Minimus board LEDs.
Dean Camera [Tue, 28 Dec 2010 22:07:31 +0000 (22:07 +0000)]
Fixed inverted Minimus board LEDs.

14 years agoFix compile errors from the changes to the SerialStream and board Temperature drivers.
Dean Camera [Sun, 26 Dec 2010 15:44:10 +0000 (15:44 +0000)]
Fix compile errors from the changes to the SerialStream and board Temperature drivers.

14 years agoMore minor documentation corrections.
Dean Camera [Sun, 26 Dec 2010 15:09:27 +0000 (15:09 +0000)]
More minor documentation corrections.

14 years agoDocumentation improvements - put driver example code into its own section, fix incorr...
Dean Camera [Sun, 26 Dec 2010 14:55:26 +0000 (14:55 +0000)]
Documentation improvements - put driver example code into its own section, fix incorrect and missing section names.

14 years agoAdded basic driver example use code to the library documentation.
Dean Camera [Sun, 26 Dec 2010 14:25:34 +0000 (14:25 +0000)]
Added basic driver example use code to the library documentation.

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.

14 years agoMake a new general RingBuffer.h misc library driver, instead of the per-application...
Dean Camera [Sun, 26 Dec 2010 13:01:37 +0000 (13:01 +0000)]
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.

14 years agoCombined page and word ISP programming mode code in the AVRISP-MKII clone project...
Dean Camera [Sat, 25 Dec 2010 21:36:17 +0000 (21:36 +0000)]
Combined page and word ISP programming mode code in the AVRISP-MKII clone project to reduce compiled size and  increase maintainability of the code.

14 years agoFixed possible programming problem in the AVRISP-MKII clone project when programming...
Dean Camera [Sat, 25 Dec 2010 17:49:30 +0000 (17:49 +0000)]
Fixed possible programming problem in the AVRISP-MKII clone project when programming specific patterns into a target memory space that is only byte (not page) addressable.

14 years agoMuch more efficient algorithm for the Endpoint/Pipe configuration routine of unordere...
Dean Camera [Fri, 24 Dec 2010 18:06:55 +0000 (18:06 +0000)]
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.

14 years agoAdd ORDERED_EP_CONFIG compile time option to the CDC class bootloader, to reduce...
Dean Camera [Fri, 24 Dec 2010 18:05:50 +0000 (18:05 +0000)]
Add ORDERED_EP_CONFIG compile time option to the CDC class bootloader, to reduce the compiled binary size, as the endpoint initialization order is fixed in the code.

14 years agoAdd DEVICE_STATE_AS_GPIOR=0 compile time option to the library projects, to reduce...
Dean Camera [Fri, 24 Dec 2010 18:04:51 +0000 (18:04 +0000)]
Add DEVICE_STATE_AS_GPIOR=0 compile time option to the library projects, to reduce compiled binary size.

14 years agoRe-add in old Endpoint/Pipe workaround for unordered pipes - add new ORDERED_EP_CONFI...
Dean Camera [Fri, 24 Dec 2010 17:05:41 +0000 (17:05 +0000)]
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.

14 years agoFix a few more incorrectly ordered endpoint initialisations in the device demos.
Dean Camera [Fri, 17 Dec 2010 20:26:14 +0000 (20:26 +0000)]
Fix a few more incorrectly ordered endpoint initialisations in the device demos.

14 years agoAdd missing AVRStudio4 project file for the MIDIToneGenerator project.
Dean Camera [Fri, 17 Dec 2010 19:59:19 +0000 (19:59 +0000)]
Add missing AVRStudio4 project file for the MIDIToneGenerator project.

14 years agoFixed incorrect endpoint initialisation order in the LowLevel DualVirtualSerial demo...
Dean Camera [Fri, 17 Dec 2010 19:54:03 +0000 (19:54 +0000)]
Fixed incorrect endpoint initialisation order in the LowLevel DualVirtualSerial demo (thanks to Rick Drolet).

14 years agoFixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID class driver...
Dean Camera [Mon, 13 Dec 2010 06:05:05 +0000 (06:05 +0000)]
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.

14 years agoFixed possible lost data in the XPLAINBridge, USBtoSerial and Benito projects when...
Dean Camera [Sun, 12 Dec 2010 16:50:45 +0000 (16:50 +0000)]
Fixed possible lost data in the XPLAINBridge, USBtoSerial and Benito projects when the host exceeds the packet timeout period on received packets as set by USB_STREAM_TIMEOUT_MS (thanks to Justin Rajewski).

14 years agoAdded new RingBuffer_Peek() function to the lightweight ring buffer headers.
Dean Camera [Sun, 12 Dec 2010 16:39:46 +0000 (16:39 +0000)]
Added new RingBuffer_Peek() function to the lightweight ring buffer headers.

14 years agoAdded new completed MIDIToneGenerator project.
Dean Camera [Fri, 3 Dec 2010 03:51:46 +0000 (03:51 +0000)]
Added new completed MIDIToneGenerator project.

14 years agoFixed HID hpst class driver incorrectly binding to HID devices that do not have an...
Dean Camera [Thu, 2 Dec 2010 04:28:53 +0000 (04:28 +0000)]
Fixed HID hpst class driver incorrectly binding to HID devices that do not have an OUT endpoint.

14 years agoRefactored Host mode Class Driver *_Host_ConfigurePipes() routines to be more space...
Dean Camera [Thu, 2 Dec 2010 01:56:06 +0000 (01:56 +0000)]
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.

14 years agoFixed broken USBFOO board drivers due to missing BOARD_USBFOO define.
Dean Camera [Tue, 30 Nov 2010 02:43:44 +0000 (02:43 +0000)]
Fixed broken USBFOO board drivers due to missing BOARD_USBFOO define.

14 years agoFixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.
Dean Camera [Mon, 29 Nov 2010 03:01:31 +0000 (03:01 +0000)]
Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.

14 years agoFixed broken DFU bootloader, added XPLAIN support for bootloader start when XCK jumpe...
Dean Camera [Sat, 27 Nov 2010 01:27:55 +0000 (01:27 +0000)]
Fixed broken DFU bootloader, added XPLAIN support for bootloader start when XCK jumpered to ground.

14 years agoFix typos in the XPLAINBridge project preventing compilation.
Dean Camera [Fri, 26 Nov 2010 04:27:52 +0000 (04:27 +0000)]
Fix typos in the XPLAINBridge project preventing compilation.

14 years agoAdded ability to write protect Mass Storage disk write operations from the host OS.
Dean Camera [Fri, 26 Nov 2010 04:16:47 +0000 (04:16 +0000)]
Added ability to write protect Mass Storage disk write operations from the host OS.

14 years agoChanged the XPLAINBridge software UART to use the regular CTC mode instead of the...
Dean Camera [Thu, 25 Nov 2010 03:20:01 +0000 (03:20 +0000)]
Changed the XPLAINBridge software UART to use the regular CTC mode instead of the alternative CTC mode via the Input Capture register, to reduce user confusion.

14 years agoMake the incomplete MIDIToneGenerator project work with up to three notes, using...
Dean Camera [Thu, 25 Nov 2010 02:46:35 +0000 (02:46 +0000)]
Make the incomplete MIDIToneGenerator project work with up to three notes, using a LRU (Least Recently Used) algorithm to discard the oldest set note when the note table becomes full.

14 years agoReadd incomplete MIDIToneGenerator project, which can now correctly generate up to...
Dean Camera [Wed, 24 Nov 2010 13:57:44 +0000 (13:57 +0000)]
Readd incomplete MIDIToneGenerator project, which can now correctly generate up to three simultaneous notes from MIDI channel 0.

14 years agoFixed Benito project discarding incoming data from the USB virtual serial port when...
Dean Camera [Tue, 23 Nov 2010 06:56:24 +0000 (06:56 +0000)]
Fixed Benito project discarding incoming data from the USB virtual serial port when the USART is busy.

Minor documentation improvements.

14 years agoCommit for 101122 release.
Dean Camera [Mon, 22 Nov 2010 05:30:20 +0000 (05:30 +0000)]
Commit for 101122 release.

14 years agoLower bulk endpoint polling rate in the descriptors to the lowest possible value...
Dean Camera [Mon, 22 Nov 2010 05:24:33 +0000 (05:24 +0000)]
Lower bulk endpoint polling rate in the descriptors to the lowest possible value to give maximum throughput.

14 years agoAdded board hardware driver support for the Microsin AVR-USB162 development board.
Dean Camera [Sun, 21 Nov 2010 10:34:15 +0000 (10:34 +0000)]
Added board hardware driver support for the Microsin AVR-USB162 development board.

14 years agoRemove internal USB_Device_NibbleToASCII() function in favour of manually inlined...
Dean Camera [Sun, 21 Nov 2010 10:16:44 +0000 (10:16 +0000)]
Remove internal USB_Device_NibbleToASCII() function in favour of manually inlined code to prevent compilation errors in -O0 optimisation level.

14 years agoOops - reduce size of each ring buffer in the USBtoSerial and Benito projects so...
Dean Camera [Sun, 21 Nov 2010 10:01:01 +0000 (10:01 +0000)]
Oops - reduce size of each ring buffer in the USBtoSerial and Benito projects so that the RAM is not overflowed on the smaller USB AVR targets (thanks to Andrei from Microsin.ru).

14 years agoBetter documentation for the ANSI terminal escape codes header.
Dean Camera [Wed, 17 Nov 2010 06:34:04 +0000 (06:34 +0000)]
Better documentation for the ANSI terminal escape codes header.

Organise the current version changelog better to group core and non-core changes together.

14 years agoRename incorrectly named XPROGTarget_SendBreak() function to XPROGTarget_SendIdle...
Dean Camera [Wed, 17 Nov 2010 05:46:18 +0000 (05:46 +0000)]
Rename incorrectly named XPROGTarget_SendBreak() function to XPROGTarget_SendIdle(), as it is sending idle bits and not break bits.

14 years agoFixed AVRISP-MKII clone project not starting the target's program automatically after...
Dean Camera [Tue, 16 Nov 2010 13:14:27 +0000 (13:14 +0000)]
Fixed AVRISP-MKII clone project not starting the target's program automatically after exiting TPI programming mode.

14 years agoSlow AVRISP-MKII clone PDI/TPI programming speed back to 250KHz due to issues with...
Dean Camera [Tue, 16 Nov 2010 12:30:00 +0000 (12:30 +0000)]
Slow AVRISP-MKII clone PDI/TPI programming speed back to 250KHz due to issues with the XPLAINBridge when PDI programming at faster rates.

Speed up XMEGANVM_WaitWhileNVMControllerBusy() by preloading the status register address into the pointer register of the target's NVM controller and then reading via a faster indirect load command.

14 years agoAdded new XCK_RESCUE_CLOCK_ENABLE compile time option to the AVRISP-MKII clone progra...
Dean Camera [Tue, 16 Nov 2010 01:37:43 +0000 (01:37 +0000)]
Added new XCK_RESCUE_CLOCK_ENABLE compile time option to the AVRISP-MKII clone programmer project (thanks to Tom Light).

14 years agoFixed incorrect event name in the Benito project.
Dean Camera [Mon, 15 Nov 2010 08:24:18 +0000 (08:24 +0000)]
Fixed incorrect event name in the Benito project.

14 years agoSecond patch to fix incorrect PDI/TPI programming speed.
Dean Camera [Sun, 14 Nov 2010 06:44:57 +0000 (06:44 +0000)]
Second patch to fix incorrect PDI/TPI programming speed.

14 years agoFixed PDI/TPI programming speed of ~250KHz in the AVRISP-MKII Clone project, instead...
Dean Camera [Fri, 12 Nov 2010 06:24:01 +0000 (06:24 +0000)]
Fixed PDI/TPI programming speed of ~250KHz in the AVRISP-MKII Clone project, instead of the desired 500KHz.

14 years agoFixed incorrect PollingIntervalMS values in the demo/project/bootloader endpoint...
Dean Camera [Wed, 10 Nov 2010 12:38:25 +0000 (12:38 +0000)]
Fixed incorrect PollingIntervalMS values in the demo/project/bootloader endpoint descriptors (thanks to MCS Electronics).

14 years agoRemove link to (now deleted) public Mercurial mirror in the documentation.
Dean Camera [Tue, 9 Nov 2010 11:02:50 +0000 (11:02 +0000)]
Remove link to (now deleted) public Mercurial mirror in the documentation.

14 years agoFix incorrect ADEFS and CPPDEFS entries in the DFU and CDC class bootloader makefiles.
Dean Camera [Tue, 9 Nov 2010 09:38:38 +0000 (09:38 +0000)]
Fix incorrect ADEFS and CPPDEFS entries in the DFU and CDC class bootloader makefiles.

14 years agoAdded board hardware driver support for the Adafruit U4 breakout board.
Dean Camera [Mon, 8 Nov 2010 03:41:48 +0000 (03:41 +0000)]
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).

14 years agoFixed broken input in the MagStripe reader project due to an incorrect HID report...
Dean Camera [Sun, 7 Nov 2010 12:54:52 +0000 (12:54 +0000)]
Fixed broken input in the MagStripe reader project due to an incorrect HID report descriptor.

14 years agoFix documentation reference error.
Dean Camera [Fri, 5 Nov 2010 05:26:00 +0000 (05:26 +0000)]
Fix documentation reference error.

14 years agoRenamed the EVENT_USB_Device_UnhandledControlRequest() event to EVENT_USB_Device_Cont...
Dean Camera [Fri, 5 Nov 2010 05:15:20 +0000 (05:15 +0000)]
Renamed the EVENT_USB_Device_UnhandledControlRequest() event to EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.

14 years agoLoop in the ClassDriver MIDI device/host demos until there are no more incomming...
Dean Camera [Fri, 5 Nov 2010 03:43:11 +0000 (03:43 +0000)]
Loop in the ClassDriver MIDI device/host demos until there are no more incomming events to process. Only clear the endpoint/pipe bank in the LowLevel MIDI device/host demos when the endpoint is empty after an event read.

14 years agoFixed USBtoSerial and XPLAINBridge demos discarding data from the PC if the send...
Dean Camera [Wed, 3 Nov 2010 11:24:34 +0000 (11:24 +0000)]
Fixed USBtoSerial and XPLAINBridge demos discarding data from the PC if the send buffer becomes full.

14 years agoMinor documentation improvements.
Dean Camera [Wed, 3 Nov 2010 06:50:02 +0000 (06:50 +0000)]
Minor documentation improvements.

14 years agoRemove already implemented features from the Future Changes manual page.
Dean Camera [Wed, 3 Nov 2010 06:37:40 +0000 (06:37 +0000)]
Remove already implemented features from the Future Changes manual page.

14 years agoFixed MIDI class driver send routines silently discarding packets if the endpoint...
Dean Camera [Wed, 3 Nov 2010 03:20:08 +0000 (03:20 +0000)]
Fixed MIDI class driver send routines silently discarding packets if the endpoint or pipe is busy (thanks to Robin Green).

14 years agoFix XPLAINBridge code broken during the changes to the Rescue Clock generation in...
Dean Camera [Tue, 2 Nov 2010 11:16:36 +0000 (11:16 +0000)]
Fix XPLAINBridge code broken during the changes to the Rescue Clock generation in the AVRISP-MKII clone project.

Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).

14 years agoRescue clock of the AVRISP-MKII moved to the AVR's OCR1A pin, so that the clock can...
Dean Camera [Tue, 2 Nov 2010 07:57:23 +0000 (07:57 +0000)]
Rescue clock of the AVRISP-MKII moved to the AVR's OCR1A pin, so that the clock can be generated at all times when 125KHz ISP programming mode is selected.

14 years agoRename new CDC class bootloader NO_LOCK_BYTE_SUPPORT compile time option to NO_LOCK_B...
Dean Camera [Fri, 29 Oct 2010 08:20:36 +0000 (08:20 +0000)]
Rename new CDC class bootloader NO_LOCK_BYTE_SUPPORT compile time option to NO_LOCK_BYTE_WRITE_SUPPORT as reads are still permitted.

Clean up CDC bootloader command processing code.

14 years agoAdded new NO_BLOCK_SUPPORT, NO_EEPROM_BYTE_SUPPORT, NO_FLASH_BYTE_SUPPORT and NO_LOCK...
Dean Camera [Fri, 29 Oct 2010 08:07:49 +0000 (08:07 +0000)]
Added new NO_BLOCK_SUPPORT, NO_EEPROM_BYTE_SUPPORT, NO_FLASH_BYTE_SUPPORT and NO_LOCK_BYTE_SUPPORT compile time options to the CDC class bootloader.

14 years agoOops - typos in the naming of the NBUSYBK0 bits breaking the new busy bank counting...
Dean Camera [Fri, 29 Oct 2010 06:50:56 +0000 (06:50 +0000)]
Oops - typos in the naming of the NBUSYBK0 bits breaking the new busy bank counting functions.

14 years agoAdded new Pipe_GetBusyBanks(), Endpoint_GetBusyBanks() and Endpoint_AbortPendingIN...
Dean Camera [Fri, 29 Oct 2010 06:22:03 +0000 (06:22 +0000)]
Added new Pipe_GetBusyBanks(), Endpoint_GetBusyBanks() and Endpoint_AbortPendingIN() functions.

14 years agoAdded standard keyboard HID report scancode defines (thanks to László Monda).
Dean Camera [Thu, 28 Oct 2010 23:11:49 +0000 (23:11 +0000)]
Added standard keyboard HID report scancode defines (thanks to László Monda).

14 years agoMove Set Feature and Clear Feature control request feature selector values into their...
Dean Camera [Thu, 28 Oct 2010 22:51:03 +0000 (22:51 +0000)]
Move Set Feature and Clear Feature control request feature selector values into their own enum.

14 years agoMove RNDISConstants.h into the RNDIS class driver common definition header.
Dean Camera [Thu, 28 Oct 2010 07:52:52 +0000 (07:52 +0000)]
Move RNDISConstants.h into the RNDIS class driver common definition header.

Add logical grouping of related #define values for better Doxygen documentation.

14 years agoChanged over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect...
Dean Camera [Thu, 28 Oct 2010 06:08:58 +0000 (06:08 +0000)]
Changed over fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.

14 years agoAdded new NO_CLASS_DRIVER_AUTOFLUSH compile time option to disable automatic flushing...
Dean Camera [Wed, 27 Oct 2010 07:23:51 +0000 (07:23 +0000)]
Added new NO_CLASS_DRIVER_AUTOFLUSH compile time option to disable automatic flushing of interfaces when the USB management tasks for each driver is called.

The MIDI class drivers now automatically flushes the MIDI interface when the MIDI class driver's USBTask() function is called.

14 years agoChanged AudioInput and AudioOutput demos to reload the next sample via an interrupt...
Dean Camera [Tue, 26 Oct 2010 06:52:09 +0000 (06:52 +0000)]
Changed AudioInput and AudioOutput demos to reload the next sample via an interrupt rather than polling the sample timer.

14 years agoAdd descriptor class, subclass and protocol constants to the class drivers, modify...
Dean Camera [Mon, 25 Oct 2010 12:42:55 +0000 (12:42 +0000)]
Add descriptor class, subclass and protocol constants to the class drivers, modify all demos to use them where possible.

Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos.

Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.

14 years agoAll USB class drivers are now automatically included when LUFA/Drivers/USB.h is inclu...
Dean Camera [Sun, 24 Oct 2010 22:53:57 +0000 (22:53 +0000)]
All USB class drivers are now automatically included when LUFA/Drivers/USB.h is included, and no longer need to be seperately included.

All LowLevel demos changed to use the constants and types defined in the USB class drivers.

14 years agoBetter algorithm to extract and convert the internal device serial number into a...
Dean Camera [Sun, 24 Oct 2010 12:25:34 +0000 (12:25 +0000)]
Better algorithm to extract and convert the internal device serial number into a string descriptor (if present).

Fix incorrect warning text when an unsuitable F_CLOCK value is given.

14 years agoOops - fix broken SPI driver due to missing bit inversion on a port mask.
Dean Camera [Wed, 20 Oct 2010 08:08:59 +0000 (08:08 +0000)]
Oops - fix broken SPI driver due to missing bit inversion on a port mask.

14 years agoAdded default test tone generation mode to the Device mode AudioInput demos.
Dean Camera [Wed, 20 Oct 2010 07:39:11 +0000 (07:39 +0000)]
Added default test tone generation mode to the Device mode AudioInput demos.