Commit Graph

1446 Commits

Author SHA1 Message Date
Dean Camera a7eca42996 Add experimental support for the AVR32 UC3A4 microcontrollers.
Add support for the inbuilt unique serial numbers in the UC3A3 and UC3A4 models.
2011-03-13 22:42:08 +00:00
Dean Camera 81fd8d4004 Re-add accidentally deleted Host_UC3.c and Host_UC3.h files. 2011-03-13 22:02:07 +00:00
Dean Camera 944e0d2009 Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models. 2011-03-13 21:53:19 +00:00
Dean Camera 6005a42150 Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 microcontrollers. 2011-03-13 21:25:05 +00:00
Dean Camera f301a4a21f Oops - rename misnamed Endianess.h header file.
Remove UC3B temp macros related to EEPROM, to ensure that projects requiring this break at compile time rather than at runtime until a solution can be found.
2011-03-13 06:05:30 +00:00
Dean Camera b1528a1256 Move out endianness management macros into a new common Endianness.h header.
Fix Doxygen documentation, broken due to the added ATTR_PACKED attribute on some structs breaking the Doxygen parser.
2011-03-13 05:54:13 +00:00
Dean Camera 13e2f71f15 Simplify AVR32 UC3B software FIFO, as it will only ever be accessed a byte at a time to prevent data alignment issues. 2011-03-11 07:03:34 +00:00
Dean Camera c8a438d66c Add structure padding to the appropriate descriptor structures to maintain correct alignments on larger architectures.
Fix EVK1101 swapped joystick Right/Down masks.
2011-03-11 06:47:39 +00:00
Dean Camera e4b3e3fc65 Fix UC3B architecture compile errors and ensure the architecture can be compiled with no special makefile tokens defined. 2011-03-05 16:36:57 +00:00
Dean Camera 8b13f7f89a 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.
2011-03-05 16:30:57 +00:00
Dean Camera 1e3d892b6a 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. 2011-03-05 12:13:35 +00:00
Dean Camera b763c3f33e 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. 2011-03-05 11:34:04 +00:00
Dean Camera 33a81bffb9 Minor documentation updates. 2011-03-05 10:58:35 +00:00
Dean Camera c1c94fe5a0 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.
2011-03-03 19:32:27 +00:00
Dean Camera 8c6f26e19d 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.
2011-02-28 22:30:40 +00:00
Dean Camera 86a2be8536 Fix EVK1101 board joystick driver movement masks. 2011-02-27 23:05:46 +00:00
Dean Camera 29ba88cffd 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. 2011-02-27 22:06:31 +00:00
Dean Camera c79f6e2586 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.
2011-02-27 20:38:47 +00:00
Dean Camera 04526d284d 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. 2011-02-27 20:00:15 +00:00
Dean Camera 92b3553a07 General cleanup and more port work to the AVR32 UC3B. 2011-02-27 18:25:29 +00:00
Dean Camera 4a3b70e727 Fix USB Host mode compile errors for the UC3B architecture. 2011-02-27 15:23:09 +00:00
Dean Camera 381dd0d490 Move out common architecture-independent core definitions into the appropriate core dispatch header files. 2011-02-27 14:39:49 +00:00
Dean Camera f3f481183a More AVR32 UC3B architecture ports - USB device mode applications can now be sucessfully compiled, although they will be currently non-functional. 2011-02-27 14:04:29 +00:00
Dean Camera cf2411435c Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically cleared when Pipe_ClearError() is called.
More UC3B architecture porting.
2011-02-26 20:22:33 +00:00
Dean Camera 66c38cd940 Added TWI baud rate prescaler and bit length parameters to the TWI_Init() function (thanks to Thomas Herlinghaus). 2011-02-26 15:57:06 +00:00
Dean Camera 6f01b6afd5 More UC3B architecture port updates. 2011-02-26 15:54:11 +00:00
Dean Camera a318f32b31 Update board driver common APIs to use uint_reg_t. 2011-02-20 19:18:06 +00:00
Dean Camera 86be7f9330 Fix incorrect Doxygen grouping in the incomplete AVR32 UC3B architecture port. 2011-02-20 18:27:09 +00:00
Dean Camera 3a00e41639 Make sure the peripheral driver .c files include the driver dispatch header, rather than the architecture specific header files. 2011-02-20 18:23:09 +00:00
Dean Camera b6a3c78fa3 Rename architecture specific driver files, to make them appear with uniquely identifying filenames in the documentation. 2011-02-20 18:21:04 +00:00
Dean Camera cad5e9ffca Added start of a port of the core USB driver code to the AVR32 UC3B architecture. 2011-02-20 17:53:17 +00:00
Dean Camera f3ec62b5c6 More updates to remove architecture-specific comments from the documentation, alter USBMode.h preprocessor logic to support future architectures more easily. 2011-02-20 14:43:13 +00:00
Dean Camera 28a1ee29a1 More Doxygen updates for multiple architecture support. 2011-02-20 14:07:20 +00:00
Dean Camera 5e73190582 Start update of documentation to support possible multiple architectures in the future - alter \file documentation to automatically copy in the module documentation where possible. 2011-02-20 13:08:29 +00:00
Dean Camera 1daa5e16f9 Initial restructuring of the core USB driver module to support multiple architectures in the future. 2011-02-19 22:59:27 +00:00
Dean Camera 3832182fe1 Fix documentation glitches from the restructuring changes. 2011-02-19 18:53:30 +00:00
Dean Camera e0a3f26978 Move out Dataflash IC command constants headers into the general LUFA/Drivers/Misc/ directory rather than duplicating them inside the individual board driver folders. 2011-02-19 18:45:50 +00:00
Dean Camera 3d4d8e7f62 Add new ARCH option to the makefiles to (eventually) specify the target device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support. 2011-02-19 18:37:22 +00:00
Dean Camera 100a197d0e Reduced latency for executing the Start-Of-Frame events (if enabled in the user application). 2011-02-19 12:09:55 +00:00
Dean Camera e4f3d9957e Fix non-ASCII characters breaking LaTex documentation builds. 2011-02-17 22:08:29 +00:00
Dean Camera 4344b0621d Added board driver support for the Sparkfun ATMEGA8U2 breakout board. 2011-02-16 21:00:46 +00:00
Dean Camera 31ed53af55 Add missing HID bootloader AVRStudio project. 2011-02-15 20:32:51 +00:00
Dean Camera 0019fbd129 Add more const-ness to the stream endpoint/pipe functions where possible. 2011-02-13 21:27:24 +00:00
Dean Camera 272d446d32 Fix include path in the library RingBuffer.h header file. 2011-02-12 00:08:05 +00:00
Dean Camera 3d232953d9 Fix typos in the HID class bootloader makefile. 2011-02-11 20:00:48 +00:00
Dean Camera 782614dbb5 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.
2011-02-10 17:55:49 +00:00
Dean Camera 57b382558d Fix errors in the hid_bootloader_cli.c program code. 2011-02-09 22:48:31 +00:00
Dean Camera 7d823d926f Update HID bootloader loader application to support the VID/PID used by the bootloader. 2011-02-09 22:35:48 +00:00
Dean Camera cae0fa73d7 Added HID class bootloader, compatible with a modified version of the command line Teensy loader from PJRC.com. 2011-02-09 21:34:00 +00:00
Dean Camera 5430e1973c Add missing svn:eol-style properties to the new KeyboardMouseMultiReport demo. 2011-02-09 18:22:17 +00:00