Commit Graph

68 Commits

Author SHA1 Message Date
Dean Camera
4c06a9c88f Minor code style fixes, documentation improvements. 2014-07-22 19:25:41 +10:00
Bert van Hall
c499a0b755 Fix XMEGA USB prescaler calculation
The USB prescaler calculation for the CLK.USBCTRL register is changed to
give valid results and set the prescaler correctly.

Signed-off-by: Bert van Hall <bert.vanhall@avionic-design.de>
2014-07-22 10:41:55 +02:00
Dean Camera
b8f7dae24c Fix possible infinite loop in the control stream write template functions. 2014-06-08 15:33:29 +10:00
Dean Camera
e368a89987 Update copyrights for 2014. 2014-01-04 10:45:02 +11:00
Dean Camera
ea58513558 Fixed re-enumeration issue of XMEGA architecture targets. 2013-08-13 21:01:42 +02:00
Dean Camera
7cd9e0dbc4 Fixed incorrect USB device state set when a suspended LUFA device is woken while addressed but not configured (thanks to Balaji Krishnan) 2013-07-15 20:47:43 +02:00
Dean Camera
7f5445c8c6 Revert incorrect XMEGA interrupt disable patch; all flags *except* the interrupt level should be cleared, and not the interrupt level itself. 2013-05-05 14:09:26 +00:00
Dean Camera
7464e40a4b Minor documentation improvements. 2013-05-04 20:54:32 +00:00
Dean Camera
15fb6351e5 Move USB mode enum into the top level USB controller header, as it is common to all architectures (even if not all modes are supported). 2013-04-28 11:31:28 +00:00
Dean Camera
b6a38164bd Reduce the amount of inlining of core Endpoint functions for XMEGA, to reduce the compiled code size (size/speed tradeoff). 2013-04-14 08:48:55 +00:00
Dean Camera
654217548b Fix incorrect Interrupt disable function for the XMEGA architecture (thanks to Simon Küppers). 2013-03-23 21:53:56 +00:00
Dean Camera
03cdb09071 Minor documentation improvements. 2013-03-18 19:24:55 +00:00
Dean Camera
4bd36a9775 Reset XMEGA NVM read command to the symbolic NO_OPERATION constant rather than a hard-coded zero. 2013-02-13 19:50:30 +00:00
Dean Camera
da42e8840d Suppress unused function parameter warnings in the USB driver. 2013-01-27 19:48:29 +00:00
Dean Camera
fb18c315d0 Fix broken XMEGA USB support. 2013-01-27 19:35:40 +00:00
Dean Camera
de0df8b162 Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
Dean Camera
2608fd1dd4 Fixed hardware race condition that could cause failed device enumerations for AVR8 and UC3 architectures (thanks to Mike Beyhs).
Fixed incorrect Minimus board LED definitions (thanks to Joonas Lahtinen).

Fixed incorrect LED masks for received data display in the Device GenericHID demos (thanks to Denys Berkovskyy).
2013-01-03 10:53:47 +00:00
Dean Camera
72fc4a204d Clean up unnecessary CPPCheck static analysis suppression comments, force Doxygen and GCC compiler specific macros as being always undefined when performing a static analysis of the code. 2012-10-14 20:18:46 +00:00
Dean Camera
eee252603b Minor documentation improvements. 2012-10-05 20:22:19 +00:00
Dean Camera
7a51e97c3b Update LUFA core to be compatible with the AVR-GCC -Wswitch-default warning switch. 2012-09-09 14:00:03 +00:00
Dean Camera
44aea22949 Fixed logic hole breaking USB operations on a USB controller with only one supported USB mode and no USB_DEVICE_ONLY or USB_HOST_ONLY configuration token set. 2012-08-28 20:09:14 +00:00
Dean Camera
ff00644cb8 Minor documentation corrections. 2012-08-27 16:55:52 +00:00
Dean Camera
1cb60c1214 Spell-check latest trunk source code. 2012-08-18 14:54:37 +00:00
Dean Camera
5b8b5018f2 Minor documentation improvements. 2012-07-15 18:49:42 +00:00
Dean Camera
ef06eefc8b Add svn:eol-style property on all source files where it was missing. Fix line endings of all makefile, *.c and *.h files. 2012-06-21 20:27:00 +00:00
Dean Camera
c41bbf9fcc Add checks to the endpoint and pipe configure functions and fail if the requested endpoint or pipe number is above the maximum for that device. 2012-06-10 19:53:20 +00:00
Dean Camera
21a6acff83 Add MAX_ENDPOINT_INDEX compile time option for the XMEGA devices. 2012-06-10 13:09:39 +00:00
Dean Camera
3808f5c36d Spell check source code, fix mistakes. 2012-06-09 20:33:56 +00:00
Dean Camera
f235021abe Fix incorrect definition for the XMEGA Endpoint_BytesInEndpoint() function when used on OUT endpoints. 2012-05-26 15:06:00 +00:00
Dean Camera
f2ae4dc255 Upgrade Doxygen configuration files for Doxygen 1.8.1, fix broken stylesheet and footer HTML, add explicit spacing into documentation code fragments to prevent Doxygen from removing empty lines in the output. 2012-05-20 10:55:59 +00:00
Dean Camera
c9b3468f1e Add missing CPPCheck unusedFunction check suppressions on the USB template functions. 2012-05-19 22:14:06 +00:00
Dean Camera
0e434c8f8f Add additional preprocessor sanity checks for the XMEGA platform based on the USB controller input clock speed. 2012-05-05 19:46:20 +00:00
Dean Camera
47f6a35013 Reintegrate the FullEPAddresses development branch into trunk. 2012-04-14 14:41:17 +00:00
Dean Camera
8f4f48d963 Add architecture guards to all architecture-specific files, so that they can be bulk-added to existing IDE projects without having to exclude unused architecture files. 2012-04-07 17:01:46 +00:00
Dean Camera
e406140f11 Minor documentation fixes - change \note entries to \warning where appropriate and remove/update old documentation. 2012-02-24 20:25:36 +00:00
Dean Camera
84ff878fd7 Fix errors uncovered by the new build test compile warnings; fix UC3 pipe configuration function broken, redundant function prototypes and unused parameters. 2012-02-19 15:26:42 +00:00
Dean Camera
385ffb6de3 Fix XMEGA architecture not correctly resetting the device address and endpoints in response to a USB bus reset from the host. 2012-02-09 20:27:03 +00:00
Dean Camera
f1b6ddb710 Update file contributor copyrights for 2012. 2012-02-04 22:38:44 +00:00
Dean Camera
2c806f6cee Update file header copyrights for 2012. 2012-02-04 22:32:30 +00:00
Dean Camera
64e9361298 Minor corrections to the XMEGA USB controller implementation. 2012-02-04 22:16:34 +00:00
Dean Camera
f201f6697b Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line. 2011-12-23 01:51:39 +00:00
Dean Camera
84a739ae72 Minor XMEGA USB driver fixes. 2011-12-13 03:40:51 +00:00
Dean Camera
09577fe541 Add XMEGA compile time tokens to the LUFAConfig.h code template.
Add additional compile time errors to the XMEGA and AVR8 architectures if multiple USE_*_DESCRIPTORS compile time tokens are enabled.

Add support for the NO_INTERNAL_SERIAL compile time token on the XMEGA targets.
2011-11-23 00:04:16 +00:00
Dean Camera
dc09ccab8b Minor corrections for the XMEGA USB controller. Add compile time warning if the USB clock frequency is provably incorrect. 2011-11-14 07:31:40 +00:00
Dean Camera
cb7f7a8241 Fix XMEGA core USB driver endpoint code to prevent incorrect STALL determination. 2011-11-01 06:05:54 +00:00
Dean Camera
00ad509061 Add support for the Atmel XMEGA A3BU Xplained board.
More XMEGA USB core fixes.
2011-10-31 03:31:00 +00:00
Dean Camera
0304916356 Fix XMEGA core USB driver so that device mode enumerates correctly on the host PC. 2011-10-31 02:26:21 +00:00
Dean Camera
1e0c3bc69a Namespace out the internal endpoint globals in the XMEGA architecture. 2011-10-30 14:05:34 +00:00
Dean Camera
b714ffbfa0 Update XMEGA clock management so that the correct 16-bit calibration is used when requested. Fix endpoint descriptor table so that the frame number is stored into the correct location. Add compile time option to source the USB clock from the PLL rather than the internal 32MHz RC oscillator. 2011-10-30 12:06:02 +00:00
Dean Camera
028a3c4ab3 XMEGA port improvements; connection and disconnection are now detected correctly. Fixed incorrect interrupt priority levels being set for XMEGA devices. 2011-10-30 07:09:20 +00:00