pub/USBasp.git
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.

14 years agoAdded board hardware driver support for the Minimus board (thanks to the PSGroove...
Dean Camera [Sun, 17 Oct 2010 23:14:03 +0000 (23:14 +0000)]
Added board hardware driver support for the Minimus board (thanks to the PSGroove team).

14 years agoOops - add missing Maximus board LED hardware driver file.
Dean Camera [Sun, 17 Oct 2010 23:08:53 +0000 (23:08 +0000)]
Oops - add missing Maximus board LED hardware driver file.

14 years agoAdded board hardware driver support for the Maximus board (thanks to the PSGroove...
Dean Camera [Sun, 17 Oct 2010 23:06:50 +0000 (23:06 +0000)]
Added board hardware driver support for the Maximus board (thanks to the PSGroove team).

14 years agoAdded board hardware driver support for the Blackcat USB JTAG board (thanks to the...
Dean Camera [Sun, 17 Oct 2010 23:00:23 +0000 (23:00 +0000)]
Added board hardware driver support for the Blackcat USB JTAG board (thanks to the PSGroove team).

14 years agoAdd missing ENDPOINT_ATTR_NO_SYNC and ENDPOINT_USAGE_DATA attributes to the descript...
Dean Camera [Wed, 13 Oct 2010 21:10:48 +0000 (21:10 +0000)]
Add missing  ENDPOINT_ATTR_NO_SYNC and ENDPOINT_USAGE_DATA attributes to the descriptors in the ClassDriver MassStorageKeyboard demo.

14 years agoRenamed ENDPOINT_DOUBLEBANK_SUPPORTED() to ENDPOINT_BANKS_SUPPORTED() and changed...
Dean Camera [Wed, 13 Oct 2010 21:05:55 +0000 (21:05 +0000)]
Renamed ENDPOINT_DOUBLEBANK_SUPPORTED() to ENDPOINT_BANKS_SUPPORTED() and changed it to return the maximum number of supported banks for the given endpoint.

14 years agoFix incomplete StandaloneProgrammer project code not compiling due to the recent...
Dean Camera [Wed, 13 Oct 2010 14:25:36 +0000 (14:25 +0000)]
Fix incomplete StandaloneProgrammer project code not compiling due to the recent API changes in the LUFA core.

14 years agoFix SoftUART.c not compiling due to accidental check in of changes not yet complete...
Dean Camera [Wed, 13 Oct 2010 14:23:23 +0000 (14:23 +0000)]
Fix SoftUART.c not compiling due to accidental check in of changes not yet complete in the rest of the XPLAINBridge project code.

14 years agoMinor documentation corrections.
Dean Camera [Wed, 13 Oct 2010 14:10:24 +0000 (14:10 +0000)]
Minor documentation corrections.

14 years agoClean up excessive whitespace at the end of each line using the wspurify tool made...
Dean Camera [Wed, 13 Oct 2010 14:05:35 +0000 (14:05 +0000)]
Clean up excessive whitespace at the end of each line using the wspurify tool made by Laszlo Monda

14 years agoFixed MIDI_Host_Flush() not aborting early when the specified MIDI host interface...
Dean Camera [Tue, 12 Oct 2010 13:52:06 +0000 (13:52 +0000)]
Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host interface was not configured.

Small documentation improvements to explicitly reference tokens in Doxygen, to ensure that they are converted to cross-reference links in the output files.

14 years agoFix Webserver project code not compiling due to the changes to the USB mode selection...
Dean Camera [Tue, 12 Oct 2010 12:25:05 +0000 (12:25 +0000)]
Fix Webserver project code not compiling due to the changes to the USB mode selection constant names.

14 years agoRemove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.
Dean Camera [Tue, 12 Oct 2010 12:22:11 +0000 (12:22 +0000)]
Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.

Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic.

Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run.

Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().

14 years agoFixed random enumeration failure while in device mode due to interrupts causing the...
Dean Camera [Tue, 12 Oct 2010 11:27:15 +0000 (11:27 +0000)]
Fixed random enumeration failure while in device mode due to interrupts causing the Set Address request to exceed maximum timings.

14 years agoMinor documentation enhancements.
Dean Camera [Tue, 12 Oct 2010 10:40:42 +0000 (10:40 +0000)]
Minor documentation enhancements.

14 years agoRemove MIDI ClassDriver device demo's accidental inclusion of the unused ADC peripher...
Dean Camera [Sun, 10 Oct 2010 06:32:48 +0000 (06:32 +0000)]
Remove MIDI ClassDriver device demo's accidental inclusion of the unused ADC peripheral driver header file.

14 years agoFixed ISR definition conflict in the XPLAIN bridge between the software UART and...
Dean Camera [Sun, 10 Oct 2010 06:23:45 +0000 (06:23 +0000)]
Fixed ISR definition conflict in the XPLAIN bridge between the software UART and the AVRISP-MKII ISP modules.

14 years agoAdded new NO_SOF_EVENTS compile time option, enabled in the bootloaders to reduce...
Dean Camera [Thu, 7 Oct 2010 11:55:20 +0000 (11:55 +0000)]
Added new NO_SOF_EVENTS compile time option, enabled in the bootloaders to reduce the compiled binary size.

14 years agoAdded board hardware driver support for the Busware CUL V3 board.
Dean Camera [Wed, 6 Oct 2010 12:40:20 +0000 (12:40 +0000)]
Added board hardware driver support for the Busware CUL V3 board.

Added SVN eol-style property to the library driver files that are missing it.

14 years agoFixed SPI driver not explicitly setting /SS and MISO pins as inputs when SPI_Init...
Dean Camera [Wed, 6 Oct 2010 11:51:53 +0000 (11:51 +0000)]
Fixed SPI driver not explicitly setting /SS and MISO pins as inputs when SPI_Init() is called.

14 years agoCache the USB_DeviceState variable internally in the library core when multiple check...
Dean Camera [Wed, 6 Oct 2010 10:16:02 +0000 (10:16 +0000)]
Cache the USB_DeviceState variable internally in the library core when multiple checks are required in a single loop iteration, to reduce compiled code size.

14 years agoRevert change to the AVRISP-MKII project for fuse byte programming via the CMDEX...
Dean Camera [Sat, 2 Oct 2010 10:07:24 +0000 (10:07 +0000)]
Revert change to the AVRISP-MKII project for fuse byte programming via the CMDEX bit - this appears to be an error in the XMEGA manual external memory programming table.

14 years agoFixed broken lock byte programming in the AVRISP-MKII clone project for some XMEGA...
Dean Camera [Sat, 2 Oct 2010 10:02:24 +0000 (10:02 +0000)]
Fixed broken lock byte programming in the AVRISP-MKII clone project for some XMEGA targets.

14 years agoFixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when writing...
Dean Camera [Sat, 2 Oct 2010 08:41:08 +0000 (08:41 +0000)]
Fixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when writing in non-paged mode and the polling byte cannot be used.