pub/USBasp.git
14 years agoPartial commit: Rename USBFOO LED driver to fix capitalisation of file name, which...
Dean Camera [Wed, 8 Jun 2011 00:25:03 +0000 (00:25 +0000)]
Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems.

14 years agoPartial commit: Rename USBFOO LED driver to fix capitalisation of file name, which...
Dean Camera [Wed, 8 Jun 2011 00:24:01 +0000 (00:24 +0000)]
Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems.

14 years agoFix errors in the Audio device demos and class driver regarding multiple sample frequ...
Dean Camera [Tue, 7 Jun 2011 02:05:19 +0000 (02:05 +0000)]
Fix errors in the Audio device demos and class driver regarding multiple sample frequency support.

14 years agoAdd additional support files for the new low level AudioInputHost and AudioOutputHost...
Dean Camera [Mon, 6 Jun 2011 09:57:38 +0000 (09:57 +0000)]
Add additional support files for the new low level AudioInputHost and AudioOutputHost demos.

14 years agoMove completed low level Audio Host demos into the LowLevel folder from the Incomplet...
Dean Camera [Mon, 6 Jun 2011 09:51:54 +0000 (09:51 +0000)]
Move completed low level Audio Host demos into the LowLevel folder from the Incomplete folder.

14 years agoUpdate incomplete Host mode Audio demos to use the correct class driver Endpoint...
Dean Camera [Mon, 6 Jun 2011 09:45:41 +0000 (09:45 +0000)]
Update incomplete Host mode Audio demos to use the correct class driver Endpoint Sampling Frequency Control value constant.

14 years agoUpdate the Low Level Audio Input and Audio Output demos to support multiple sample...
Dean Camera [Mon, 6 Jun 2011 09:43:09 +0000 (09:43 +0000)]
Update the Low Level Audio Input and Audio Output demos to support multiple sample rates.

Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.

14 years agoMassive corrections to the project documentation and code comments, thanks to Russian...
Dean Camera [Sun, 5 Jun 2011 13:55:56 +0000 (13:55 +0000)]
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.

14 years agoFixed compile errors in the incomplete BluetoothHost demo application (thanks to...
Dean Camera [Sun, 5 Jun 2011 12:21:52 +0000 (12:21 +0000)]
Fixed compile errors in the incomplete BluetoothHost demo application (thanks to Timo Lindfors).

14 years agoAdded board driver support for the Busware TUL board.
Dean Camera [Sat, 4 Jun 2011 04:13:01 +0000 (04:13 +0000)]
Added board driver support for the Busware TUL board.

14 years agoAdded new callback to the Audio Class driver to allow for endpoint control manipulati...
Dean Camera [Fri, 3 Jun 2011 07:56:12 +0000 (07:56 +0000)]
Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates.

Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates.

Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed.

Fix broken LowLevel audio demo descriptors.

Minor documentation fixes.

14 years agoExpand the documentation for each Bootloader to give sample usage instructions for...
Dean Camera [Thu, 2 Jun 2011 13:40:53 +0000 (13:40 +0000)]
Expand the documentation for each Bootloader to give sample usage instructions for the command line programmer utilities.

Fix typo in the HID class bootloader CLI programmer application usage instructions.

14 years agoSpell check library source code files.
Dean Camera [Wed, 1 Jun 2011 14:33:40 +0000 (14:33 +0000)]
Spell check library source code files.

14 years agoFixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2.
Dean Camera [Wed, 1 Jun 2011 14:10:35 +0000 (14:10 +0000)]
Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2.

Minor documentation cleanups.

Modify the incomplete AudioInputHost demo for mono audio output.

14 years agoAdded new incomplete AudioOutputHost Host LowLevel demo.
Dean Camera [Mon, 30 May 2011 11:36:21 +0000 (11:36 +0000)]
Added new incomplete AudioOutputHost Host LowLevel demo.

14 years agoAltered the definition of the USB_Audio_Descriptor_Format_t descriptor so that the...
Dean Camera [Mon, 30 May 2011 11:07:57 +0000 (11:07 +0000)]
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.

14 years agoRemove output files from the incomplete AudioInputHost demo, and improve the logic...
Dean Camera [Mon, 30 May 2011 09:37:31 +0000 (09:37 +0000)]
Remove output files from the incomplete AudioInputHost demo, and improve the logic in the ConfigDescriptor.c device configuration processing routine.

14 years agoOops - revert commit of an incomplete port of the AVRISP-MKII project.
Dean Camera [Sun, 29 May 2011 12:47:56 +0000 (12:47 +0000)]
Oops - revert commit of an incomplete port of the AVRISP-MKII project.

14 years agoAdded new incomplete AudioInputHost Host LowLevel demo.
Dean Camera [Sun, 29 May 2011 12:41:14 +0000 (12:41 +0000)]
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 agoAdd new USB_Host_SetInterfaceAltSetting() convenience function.
Dean Camera [Fri, 27 May 2011 07:33:58 +0000 (07:33 +0000)]
Add new USB_Host_SetInterfaceAltSetting() convenience function.

14 years agoAdd the MIDIToneGenerator project to the Projects/ directory makefile clean rule.
Dean Camera [Fri, 27 May 2011 03:45:45 +0000 (03:45 +0000)]
Add the MIDIToneGenerator project to the Projects/ directory makefile clean rule.

14 years agoUpdate trunk documentation for new LUFA release.
Dean Camera [Fri, 27 May 2011 03:05:50 +0000 (03:05 +0000)]
Update trunk documentation for new LUFA release.

14 years agoFix incorrect macro guard in the UC3 EndpointStream header file.
Dean Camera [Thu, 26 May 2011 11:37:40 +0000 (11:37 +0000)]
Fix incorrect macro guard in the UC3 EndpointStream header file.

Fix incorrect project name in the Projects/ folder makefile.

14 years agoCopy out the EndpointStream and PipeStream functions to each architecture, so that...
Dean Camera [Thu, 26 May 2011 11:27:21 +0000 (11:27 +0000)]
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).

14 years agoUpdate Webserver project to remove DHCP IP configuration status notification.
Dean Camera [Thu, 26 May 2011 10:50:22 +0000 (10:50 +0000)]
Update Webserver project to remove DHCP IP configuration status notification.

14 years agoLower the size of the HID report endpoint from 16 bytes to 8 bytes, to allow for...
Dean Camera [Thu, 26 May 2011 10:24:47 +0000 (10:24 +0000)]
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).

14 years agoUpdate MediaController project to remove the Record usage (not often needed) and...
Dean Camera [Mon, 23 May 2011 13:19:13 +0000 (13:19 +0000)]
Update MediaController project to remove the Record usage (not often needed) and explicitly declare each usage for maximum clarity.

14 years agoAdd new MediaController project, a simple Media Playback control manipulator (Play...
Dean Camera [Mon, 23 May 2011 12:54:15 +0000 (12:54 +0000)]
Add new MediaController project, a simple Media Playback control manipulator (Play/Pause/Next Track/Volume/etc.).

14 years agoCorrect errors in the DHCP Server application in the Webserver project, that was...
Dean Camera [Mon, 23 May 2011 07:13:45 +0000 (07:13 +0000)]
Correct errors in the DHCP Server application in the Webserver project, that was causing random server restarts and/or incorrectly allocated IP addresses.

14 years agoAdd RNDIS Device support to the Webserver project, so that the files stored on the...
Dean Camera [Sun, 22 May 2011 08:28:40 +0000 (08:28 +0000)]
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 agoFix broken Doxygen documentation.
Dean Camera [Thu, 19 May 2011 13:32:55 +0000 (13:32 +0000)]
Fix broken Doxygen documentation.

14 years agoAdd new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and RNDIS_Device_Wri...
Dean Camera [Wed, 18 May 2011 14:33:34 +0000 (14:33 +0000)]
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 agoOops - fix bad include path in the moved USBKEY Dataflash board driver header.
Dean Camera [Wed, 18 May 2011 12:24:56 +0000 (12:24 +0000)]
Oops - fix bad include path in the moved USBKEY Dataflash board driver header.

14 years agoSeperated out board drivers by architecture in the library internals for better organ...
Dean Camera [Wed, 18 May 2011 12:23:24 +0000 (12:23 +0000)]
Seperated out board drivers by architecture in the library internals for better organisation.

14 years agoAdd new "version" makefile target to the main LUFA library makefile, to give an easy...
Dean Camera [Wed, 18 May 2011 11:53:53 +0000 (11:53 +0000)]
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.

14 years agoAdd skeleton LUFAConfig.h to the CodeTemplates directory.
Dean Camera [Sat, 14 May 2011 02:34:47 +0000 (02:34 +0000)]
Add skeleton LUFAConfig.h to the CodeTemplates directory.

14 years agoFixed possible invalid program execution when in host mode if corrupt descriptor...
Dean Camera [Sat, 14 May 2011 02:17:58 +0000 (02:17 +0000)]
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 agoAdd incomplete Android Accessory Host LowLevel demo.
Dean Camera [Fri, 13 May 2011 00:17:06 +0000 (00:17 +0000)]
Add incomplete Android Accessory Host LowLevel demo.

14 years agoAdd new USE_LUFA_CONFIG_HEADER compile time option.
Dean Camera [Mon, 9 May 2011 14:04:40 +0000 (14:04 +0000)]
Add new USE_LUFA_CONFIG_HEADER compile time option.

Add missing LEDS_ToggleLEDs() function to the LED driver for the EVK1101 board.

14 years agoMinor documentation fixes.
Dean Camera [Sun, 8 May 2011 14:30:36 +0000 (14:30 +0000)]
Minor documentation fixes.

14 years agoFix up mistakes in the Device Support documentation page.
Dean Camera [Wed, 27 Apr 2011 10:21:40 +0000 (10:21 +0000)]
Fix up mistakes in the Device Support documentation page.

14 years agoAdd __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result typecasting...
Dean Camera [Mon, 25 Apr 2011 07:28:36 +0000 (07:28 +0000)]
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).

14 years agoAdd new LUFA powered user projects to the documentation.
Dean Camera [Sat, 23 Apr 2011 05:01:50 +0000 (05:01 +0000)]
Add new LUFA powered user projects to the documentation.

14 years agoFix HID class bootloader not working on the larger USB AVRs due to the altered page...
Dean Camera [Sat, 23 Apr 2011 04:39:21 +0000 (04:39 +0000)]
Fix HID class bootloader not working on the larger USB AVRs due to the altered page addressing scheme.

14 years agoMake DFU and CDC class bootloaders also toggle the LEDs on command activity in additi...
Dean Camera [Sat, 23 Apr 2011 03:50:13 +0000 (03:50 +0000)]
Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing.

14 years agoAdded LED flashing to the CDC and DFU class bootloaders to indicate when they are...
Dean Camera [Sat, 23 Apr 2011 03:45:29 +0000 (03:45 +0000)]
Added LED flashing to the CDC and DFU class bootloaders to indicate when they are running.

14 years agoFix reversed descriptions for the AVR8 USB pad regulator enable/disable masks (thanks...
Dean Camera [Wed, 20 Apr 2011 06:04:49 +0000 (06:04 +0000)]
Fix reversed descriptions for the AVR8 USB pad regulator enable/disable masks (thanks to Omar).

14 years agoFix definition of pgm_read_ptr().
Dean Camera [Wed, 13 Apr 2011 06:58:29 +0000 (06:58 +0000)]
Fix definition of pgm_read_ptr().

14 years agoReplace cast-as-char* byte access of multibyte variables with proper shifts and masks...
Dean Camera [Wed, 13 Apr 2011 06:12:52 +0000 (06:12 +0000)]
Replace cast-as-char* byte access of multibyte variables with proper shifts and masks to preserve endianness across different architectures.

14 years agoSlight cleanups to the architecture specific makefile templates to make the common...
Dean Camera [Tue, 12 Apr 2011 04:57:47 +0000 (04:57 +0000)]
Slight cleanups to the architecture specific makefile templates to make the common configuration sections as identical as possible.

14 years agoUpdate architecture specific makefile templates so that they are as close to one...
Dean Camera [Tue, 12 Apr 2011 04:49:36 +0000 (04:49 +0000)]
Update architecture specific makefile templates so that they are as close to one-another as possible.

14 years agoAdd makefile template for the AVR32 UC3 architecture.
Dean Camera [Tue, 12 Apr 2011 04:38:53 +0000 (04:38 +0000)]
Add makefile template for the AVR32 UC3 architecture.

14 years agoAdd missing function attributes to the pipe/endpoint functions for all architectures.
Dean Camera [Tue, 12 Apr 2011 03:03:56 +0000 (03:03 +0000)]
Add missing function attributes to the pipe/endpoint functions for all architectures.

Perform endianness correction in the HID report parser for big-endian platforms.

14 years agoRemove redundant type information for bitfield elements, other than the signed/unsign...
Dean Camera [Sun, 10 Apr 2011 06:43:02 +0000 (06:43 +0000)]
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.

14 years agoCreate a new Common module documentation group for the new Global Interrupt macros.
Dean Camera [Fri, 8 Apr 2011 05:54:56 +0000 (05:54 +0000)]
Create a new Common module documentation group for the new Global Interrupt macros.

14 years agoMove global interrupt enable/disable functions out to Common.h and document them.
Dean Camera [Fri, 8 Apr 2011 05:40:25 +0000 (05:40 +0000)]
Move global interrupt enable/disable functions out to Common.h and document them.

14 years agoCorrect UC3 global interrupt functions.
Dean Camera [Fri, 8 Apr 2011 05:05:05 +0000 (05:05 +0000)]
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.

14 years agoAdd in a new common Delay_MS() function, which provides a blocking delay for all...
Dean Camera [Fri, 8 Apr 2011 04:49:20 +0000 (04:49 +0000)]
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 agoOops - fix misnamed function call in Pipe_Discard_Stream().
Dean Camera [Mon, 4 Apr 2011 15:41:26 +0000 (15:41 +0000)]
Oops - fix misnamed function call in Pipe_Discard_Stream().

14 years agoOops - fix incorrect variable name in the updated Pipe_Write_8() function.
Dean Camera [Mon, 4 Apr 2011 15:25:30 +0000 (15:25 +0000)]
Oops - fix incorrect variable name in the updated Pipe_Write_8() function.

14 years agoRenamed all low level Endpoint_Read_*, Endpoint_Write_* and Endpoint_Discard_* functi...
Dean Camera [Mon, 4 Apr 2011 12:52:30 +0000 (12:52 +0000)]
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.

14 years agoConditionally add available address spaces to the address space enum, for multiple...
Dean Camera [Mon, 4 Apr 2011 10:24:57 +0000 (10:24 +0000)]
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.

14 years agoEnsure the library builds cleanly in device mode for architectures lacking multiple...
Dean Camera [Sun, 27 Mar 2011 22:17:26 +0000 (22:17 +0000)]
Ensure the library builds cleanly in device mode for architectures lacking multiple address spaces.

14 years agoUse the MIN() macro where possible instead of manual "(x < y) ? x : y" constructs.
Dean Camera [Wed, 23 Mar 2011 09:26:41 +0000 (09:26 +0000)]
Use the MIN() macro where possible instead of manual "(x < y) ? x : y" constructs.

14 years agoFix corner case in the HID report descriptor Mouse/Joystick tempates at the 8/16...
Dean Camera [Wed, 23 Mar 2011 09:25:13 +0000 (09:25 +0000)]
Fix corner case in the HID report descriptor Mouse/Joystick tempates at the 8/16 bit boundary.

14 years agoAdd in new architecture attribute defines to selectively remove the EEPROM and FLASH...
Dean Camera [Mon, 21 Mar 2011 11:10:02 +0000 (11:10 +0000)]
Add in new architecture attribute defines to selectively remove the EEPROM and FLASH memory space functions on architectures which do not have seperate memory address spaces.

14 years agoF_CLOCK changed to F_USB to be more descriptive, and applicable on future architectur...
Dean Camera [Mon, 21 Mar 2011 10:20:42 +0000 (10:20 +0000)]
F_CLOCK changed to F_USB to be more descriptive, and applicable on future architecture ports.

14 years agoOops - Bootloader optimizations to GetDescriptor() don't work, as the Configuration...
Dean Camera [Fri, 18 Mar 2011 04:58:39 +0000 (04:58 +0000)]
Oops - Bootloader optimizations to GetDescriptor() don't work, as the Configuration Descriptor's header does not contain the full length of the descriptor, breaking full enumeration.

14 years agoFix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger).
Dean Camera [Wed, 16 Mar 2011 22:54:31 +0000 (22:54 +0000)]
Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger).

14 years agoFix incorrectly named include guards in the Board driver header files.
Dean Camera [Wed, 16 Mar 2011 06:00:02 +0000 (06:00 +0000)]
Fix incorrectly named include guards in the Board driver header files.

14 years agoAdded new VirtualSerialMassStorage Device Class Driver demo.
Dean Camera [Wed, 16 Mar 2011 05:58:58 +0000 (05:58 +0000)]
Added new VirtualSerialMassStorage Device Class Driver demo.

14 years agoRemove redundant Doxygen guards from the internal preprocessor definitions.
Dean Camera [Tue, 15 Mar 2011 09:22:39 +0000 (09:22 +0000)]
Remove redundant Doxygen guards from the internal preprocessor definitions.

14 years agoFixed Remote Wakeup broken on the AVRs due to the mechanism only operating when the...
Dean Camera [Tue, 15 Mar 2011 08:07:29 +0000 (08:07 +0000)]
Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating when the SUSPI bit is set (thanks to Holger Steinhaus).

Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers.

14 years agoAdd named macros to the board joystick drivers where a shift is needed to maintain...
Dean Camera [Tue, 15 Mar 2011 06:51:50 +0000 (06:51 +0000)]
Add named macros to the board joystick drivers where a shift is needed to maintain unique joystick direction bits in the returned mask value.

14 years agoImplemented on-demand PLL clock generation for the U4, U6 and U7 series USB AVRs...
Dean Camera [Tue, 15 Mar 2011 06:39:34 +0000 (06:39 +0000)]
Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB AVRs when automatic PLL mode is specified.

14 years agoUpdated the software USART code in the XPLAIN Bridge application so that the incommin...
Dean Camera [Tue, 15 Mar 2011 04:02:15 +0000 (04:02 +0000)]
Updated the software USART code in the XPLAIN Bridge application so that the incomming bits are sampled at their mid-point instead of starting point, to give maximum reliability (thanks to Anton).

14 years agoOops - fix internal serial number extraction routine for the AVR8 architecture.
Dean Camera [Mon, 14 Mar 2011 00:24:14 +0000 (00:24 +0000)]
Oops - fix internal serial number extraction routine for the AVR8 architecture.

14 years agoCorrect Endpoint/Pipe maximum constants for the AVR32 UC3 models.
Dean Camera [Mon, 14 Mar 2011 00:03:30 +0000 (00:03 +0000)]
Correct Endpoint/Pipe maximum constants for the AVR32 UC3 models.

14 years agoSimplify the internal serial extraction routines for each architecture.
Dean Camera [Sun, 13 Mar 2011 23:32:32 +0000 (23:32 +0000)]
Simplify the internal serial extraction routines for each architecture.

14 years agoAdd experimental support for the AVR32 UC3A4 microcontrollers.
Dean Camera [Sun, 13 Mar 2011 22:42:08 +0000 (22:42 +0000)]
Add experimental support for the AVR32 UC3A4 microcontrollers.

Add support for the inbuilt unique serial numbers in the UC3A3 and UC3A4 models.

14 years agoRe-add accidentally deleted Host_UC3.c and Host_UC3.h files.
Dean Camera [Sun, 13 Mar 2011 22:02:07 +0000 (22:02 +0000)]
Re-add accidentally deleted Host_UC3.c and Host_UC3.h files.

14 years agoRename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.
Dean Camera [Sun, 13 Mar 2011 21:53:19 +0000 (21:53 +0000)]
Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.

14 years agoAdd experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 microcontrollers.
Dean Camera [Sun, 13 Mar 2011 21:25:05 +0000 (21:25 +0000)]
Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 microcontrollers.

14 years agoOops - rename misnamed Endianess.h header file.
Dean Camera [Sun, 13 Mar 2011 06:05:30 +0000 (06:05 +0000)]
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 agoMove out endianness management macros into a new common Endianness.h header.
Dean Camera [Sun, 13 Mar 2011 05:54:13 +0000 (05:54 +0000)]
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 agoSimplify AVR32 UC3B software FIFO, as it will only ever be accessed a byte at a time...
Dean Camera [Fri, 11 Mar 2011 07:03:34 +0000 (07:03 +0000)]
Simplify AVR32 UC3B software FIFO, as it will only ever be accessed a byte at a time to prevent data alignment issues.

14 years agoAdd structure padding to the appropriate descriptor structures to maintain correct...
Dean Camera [Fri, 11 Mar 2011 06:47:39 +0000 (06:47 +0000)]
Add structure padding to the appropriate descriptor structures to maintain correct alignments on larger architectures.

Fix EVK1101 swapped joystick Right/Down masks.

14 years agoFix UC3B architecture compile errors and ensure the architecture can be compiled...
Dean Camera [Sat, 5 Mar 2011 16:36:57 +0000 (16:36 +0000)]
Fix UC3B architecture compile errors and ensure the architecture can be compiled with no special makefile tokens defined.

14 years agoEndpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the...
Dean Camera [Sat, 5 Mar 2011 16:30:57 +0000 (16:30 +0000)]
Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the Pipe_ResetPipe() function name.

Fix undefined error in Pipe_UC3B.h.

Add missing migration notes.

14 years agoAdd software FIFOs to the UC3B pipe control interfaces, to match the endpoint control...
Dean Camera [Sat, 5 Mar 2011 12:13:35 +0000 (12:13 +0000)]
Add software FIFOs to the UC3B pipe control interfaces, to match the endpoint control interfaces. Fix incorrect endianness for the Endpoint/Pipe read and write routines.

14 years agoPorting updates for the UC3B architecture - get UC3B partially enumerating using...
Dean Camera [Sat, 5 Mar 2011 11:34:04 +0000 (11:34 +0000)]
Porting updates for the UC3B architecture - get UC3B partially enumerating using a modified mouse demo on the EVK1101. Implement a software FIFO for the endpoint banks; datasheet hints that this can be done through hardware as on the AVR8 architecture, but the correct method to do this not discovered yet.

14 years agoMinor documentation updates.
Dean Camera [Sat, 5 Mar 2011 10:58:35 +0000 (10:58 +0000)]
Minor documentation updates.

14 years agoFixed Still Image Host class driver exiting the descriptor search routine prematurely...
Dean Camera [Thu, 3 Mar 2011 19:32:27 +0000 (19:32 +0000)]
Fixed Still Image Host class driver exiting the descriptor search routine prematurely if the data pipes (but not event pipe) is found.

Fixed missing call to Pipe_SetInfiniteINRequests() in the Pipe_ConfigurePipe() routine.

14 years agoAdd in USB_INT_RegisterHandlers() internal function to register the interrupt handler...
Dean Camera [Mon, 28 Feb 2011 22:30:40 +0000 (22:30 +0000)]
Add in USB_INT_RegisterHandlers() internal function to register the interrupt handler routines used by LUFA. Add dummy loads after clearing the interrupt lines according to the datasheet.

Add in temporary global interrupts enable/disable macros.

14 years agoFix EVK1101 board joystick driver movement masks.
Dean Camera [Sun, 27 Feb 2011 23:05:46 +0000 (23:05 +0000)]
Fix EVK1101 board joystick driver movement masks.

14 years agoAdd code to start the USBB Generic Clock from the user-specified master clock source...
Dean Camera [Sun, 27 Feb 2011 22:06:31 +0000 (22:06 +0000)]
Add code to start the USBB Generic Clock from the user-specified master clock source (OSCx or PLLx) in the AVR32 UC3B core USB driver.

14 years agoOops - ensure that only the relevant/available interrupts are defined and used on...
Dean Camera [Sun, 27 Feb 2011 20:38:47 +0000 (20:38 +0000)]
Oops - ensure that only the relevant/available interrupts are defined and used on each architecture.

Make all USB driver headers include USBMode.h first, to ensure that the relevant USB mode macros are defined.

14 years agoChanged over the AVR8 USB controller interrupt management macros to be inlined functi...
Dean Camera [Sun, 27 Feb 2011 20:00:15 +0000 (20:00 +0000)]
Changed over the AVR8 USB controller interrupt management macros to be inlined functions instead, for better compile-time validity checking and to keep the per-architecture source files as uniform as possible.

14 years agoGeneral cleanup and more port work to the AVR32 UC3B.
Dean Camera [Sun, 27 Feb 2011 18:25:29 +0000 (18:25 +0000)]
General cleanup and more port work to the AVR32 UC3B.

14 years agoFix USB Host mode compile errors for the UC3B architecture.
Dean Camera [Sun, 27 Feb 2011 15:23:09 +0000 (15:23 +0000)]
Fix USB Host mode compile errors for the UC3B architecture.