Dean Camera
a25a6dfd56
Minor documentation improvements.
2012-04-08 21:38:07 +00:00
Dean Camera
fde181a830
Minor documentation improvements.
2012-04-08 19:36:46 +00:00
Dean Camera
60d724e398
Move out Doxygen style assets into a seperate folder.
2012-04-08 18:52:00 +00:00
Dean Camera
3008f8ce13
Doxygen documentation style changes. Minor documentation corrections.
2012-04-08 18:46:56 +00:00
Dean Camera
512b4d87cc
Add additional specific sub-family parts to the ModuleTest build test as these may have minor header file differences to their standard family cousins.
...
Clean up of main library Makefile to extract out the library version once into a make variable for easy reference.
2012-04-08 14:22:47 +00:00
Dean Camera
f1bf7e1816
Move documentation images into a dedicated sub-folder.
2012-04-08 14:21:13 +00:00
Dean Camera
292df85620
Add guide for importing LUFA into an AS5/AS6 project.
2012-04-08 14:14:45 +00:00
Dean Camera
b9a486efe7
Oops - fix broken makefile tar rule.
2012-04-07 17:40:16 +00:00
Dean Camera
ae91ccc048
Fix up Doxygen documentation directives to allow for generation of documentation when the library code root folder is not "LUFA".
2012-04-07 17:38:30 +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
d4b45e8502
Add extra LUFA TAR archive export exclusions.
2012-04-07 16:46:45 +00:00
Dean Camera
0fb92f0441
Add main library makefile target "export_tar" to export a copy of the library codebase in TAR format, for each integration into user applications.
2012-04-07 16:40:20 +00:00
Dean Camera
8b4fe84163
Minor documentation improvements.
2012-04-05 17:37:10 +00:00
Dean Camera
25ac76a251
Reverted AVRISP-MKII clone project watchdog based command timeout patch in favour of a hardware timer, to allow for use in devices with WDTRST fuse programmed.
2012-04-01 13:39:04 +00:00
Dean Camera
89f16f5d7f
Minor documentation improvements.
2012-04-01 13:37:08 +00:00
Dean Camera
1cc62c9282
Oops - typos in alterations to HID_DESCRIPTOR_JOYSTICK().
2012-03-29 19:52:18 +00:00
Dean Camera
b3aaffb792
Removed variable axis support from the HID_DESCRIPTOR_JOYSTICK() macro due to OS incompatibilities, replaced with fixed 3-axis joystick report structure.
2012-03-29 19:41:05 +00:00
Dean Camera
7cac5e22d7
Added additional bootloader API data to expose the bootloader start address and class to the DFU and CDC class bootloaders.
2012-03-29 19:35:40 +00:00
Dean Camera
00b6b0140f
Re-enable cppcheck static analysis unused function checks after adding in special-case suppressions to the event stub functions. Add missing function prototypes to the AudioInput and AudioOutput class driver device demos.
2012-03-25 12:12:08 +00:00
Dean Camera
bbf9d14bf9
Fixed AVRISP-MKII programmer project failing to compile for the U4 chips when VTARGET_ADC_CHANNEL is defined to an invalid channel and NO_VTARGET_DETECT is defined (thanks to Steven Morehouse).
2012-03-20 20:44:01 +00:00
Dean Camera
a77c3edc37
Fixed inverted LED logic in the OLIMEX162 board LED driver.
2012-03-20 06:18:41 +00:00
Dean Camera
e58915344d
Fixed error in the AVRISP-MKII programmer when ISP mode is used at 64KHz (thanks to Ben R. Porter).
2012-03-18 16:51:52 +00:00
Dean Camera
01d5af3d6c
Add XMEGA C3 family to the ModuleTest build test.
...
Remove unnecessary GCC_MEMORY_BARRIER() at the end of GetGlobalInterruptMask().
Minor documentation improvements.
2012-03-17 10:22:58 +00:00
Dean Camera
1971a415e5
Fixed compile error if LEDs_Disable() is called and BOARD=NONE is set (thanks to Sam Lin).
2012-03-17 10:21:40 +00:00
Dean Camera
f87aec2264
Fixed incorrect call to the user callback CALLBACK_Audio_Device_GetSetInterfaceProperty() in the Audio Class device driver (thanks to Tiit Ratsep).
2012-03-15 19:11:26 +00:00
Dean Camera
77adb2ba52
Audio Device Class driver changed to also require the index of the Audio Control interface within the device, for SET/GET/CUR/MIN/MAX/RES property adjustments.
2012-03-14 22:12:40 +00:00
Dean Camera
c0f763db04
Reorder manual documentation sections, remove useless "AboutLUFA" section.
2012-03-13 17:30:14 +00:00
Dean Camera
d5291c2e10
Only abort Doxygen documentation generation if a non-unsupported tag warning is encountered.
2012-03-09 22:36:56 +00:00
Dean Camera
3ea356a720
Added Dataflash operational checks and aborts to all projects using the Dataflash to ensure it is working correctly before use.
2012-03-09 22:02:29 +00:00
Dean Camera
663f9bd5f5
Update Doxygen documentation build scripts to fail if any warnings are generated.
2012-03-09 21:28:44 +00:00
Dean Camera
0d4a9a895b
Minor documentation improvements.
2012-03-06 19:34:46 +00:00
Dean Camera
17f104cbe8
Fixed compile error for the UC3 architecture when INTERRUPT_CONTROL_ENDPOINT is specified (thanks to Andrus Aaslaid).
2012-03-06 14:50:59 +00:00
Dean Camera
6ee79029d5
Raised the guard bits in the AVRISP-MKII clone project when in PDI and TPI to 32, to prevent communication errors on low quality connections to a target.
2012-03-05 20:25:46 +00:00
Dean Camera
5c3623a7c5
Minor documentation improvements.
2012-03-04 18:21:54 +00:00
Dean Camera
f5c155cf05
Minor documentation improvements.
2012-02-26 15:03:03 +00:00
Dean Camera
8a9e30a0cb
Fixed possible enumeration error if the user application selects the non-Control pipe between the Powered and Default states of the host state machine.
2012-02-26 15:01:36 +00:00
Dean Camera
7cbea39c42
Remove Library Apps overview page from the documentation.
2012-02-25 17:20:42 +00:00
Dean Camera
0456dfeb88
Update main library documentation organisation for Doxygen 1.8.0.
2012-02-25 17:07:33 +00:00
Dean Camera
f70fd6d6ed
Update author information.
2012-02-25 16:36:34 +00:00
Dean Camera
6a9d1eab2d
Modified the CDC Host demos to set a default CDC Line Encoding on enumerated devices.
2012-02-24 20:28:27 +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
5561524a8f
Added support for the BitWizard Multio and Big-Multio boards.
2012-02-22 21:31:18 +00:00
Dean Camera
1dcc1fe527
Update the Android Accessory Host ClassDriver demo to use the updated class configuration API.
...
Enable -Wcast-align warning for the UC3 architecture in the ModuleTest build test now that the test passes with it.
Minor documentation improvements.
2012-02-20 22:07:25 +00:00
Dean Camera
4068efbd18
Remove potentially unaligned uint32_t access in HIDParser.c, replace with standard C bit shifts.
2012-02-20 18:47:25 +00:00
Dean Camera
6c738343ae
Update trunk post-120219 release.
2012-02-19 17:05:10 +00:00
Dean Camera
9a6c6c786e
Commit for the 120219 release.
2012-02-19 17:00:46 +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
50ff97f378
All USB Class Driver configuration struct values are now non-const, to allow for run-time modifications if required before configuring an instance.
2012-02-19 15:24:05 +00:00
Dean Camera
2f036ae2bf
Add build test for forced single USB modes.
...
Fix UC3 Interrupt Management platform driver not compiling under C++.
2012-02-19 01:17:54 +00:00
Dean Camera
1132488e8f
Add build tests to verify correct compilation of as many modules as possible under as many architectures as possible.
...
Fix broken compilation of LUFA under C++ compilers when the Serial peripheral module header file is included in a C++ source file.
Fix missing semicolon in the UC3 architecture host pipe functions.
Fix failed compilation for the XMEGA architecture if USB_DEVICE_ONLY us not specified.
2012-02-18 23:33:12 +00:00
Dean Camera
04b8360b15
Minor documentation improvements.
2012-02-18 16:06:43 +00:00
Dean Camera
9d2e7aeff4
Add missing file Subversion EOL-style properties.
2012-02-13 20:13:35 +00:00
Dean Camera
7a8b038687
Fix Dataflash driver for the XMEGA-B1 XPLAINED - the Dataflash is connected to the USART module, but requires physical port remapping.
2012-02-13 19:59:31 +00:00
Dean Camera
01a80df6c2
Minor documentation improvements.
2012-02-12 20:47:57 +00:00
Dean Camera
5051df08d7
Minor documentation improvements.
2012-02-12 20:39:57 +00:00
Dean Camera
09d2be0dc1
Add new Master SPI Mode USART serial peripheral driver for the XMEGA and AVR8 architectures.
...
Modify board Dataflash drivers so that each individual board is responsible for including the correct peripheral driver (SPI or SerialSPI) based on the board connections to the Dataflash chip.
Complete A3BU-XPLAINED and B1-XPLAINED board Dataflash drivers.
2012-02-12 20:34:33 +00:00
Dean Camera
f45d60f768
Added Serial USART peripheral driver for the XMEGA platform.
...
Fix XMEGA SPI peripheral driver's incorrect const-ness on the SPI peripheral struct.
2012-02-12 11:48:24 +00:00
Dean Camera
82fdedc192
Minor documentation improvements.
2012-02-11 22:35:06 +00:00
Dean Camera
81bd8f2f83
Clean up the Audio Device class driver control request Endpoint match logic.
2012-02-11 20:39:33 +00:00
Dean Camera
2180f57d17
Altered the HID class driver to only try to construct at maximum one packet per USB frame, to reduce CPU usage.
2012-02-09 20:30:27 +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
a2d18e46f8
Update XMEGA board drivers to use the port inversion feature of the XMEGA architecture rather than performing the inversion in software. Add partially completed XMEGA-B1-XPLAINED Dataflash board driver and revert implementation of the XMEGA-A3BU-XPLAINED Dataflash driver as the chip is connected to the USART, not the SPI interface.
2012-02-09 20:26:13 +00:00
Dean Camera
c60897df39
Allow serial strings to be generated on the older AVR8 devices which do not explicitly state they contain unique values in the datasheet, as this appears to be implemented in hardware.
2012-02-08 18:35:16 +00:00
Dean Camera
18b82b3575
Updated the AVRISP-MKII Clone programmer project to be compatible with the latest version of AVR Studio (version 5.1).
...
Changed the AVRISP-MKII Clone programmer project to report a fixed 3.3V VTARGET voltage on USB AVRs lacking an ADC instead of 5V to prevent warnings in AVR Studio 5.1 when programming XMEGA devices.
2012-02-08 18:29:17 +00:00
Dean Camera
1482f77826
Oops - XMEGA-B1 Xplained LEDs are on PORTB and PORTE, not PORTF and PORTE.
2012-02-06 17:10:42 +00:00
Dean Camera
4d131de85b
Add board driver support for the Atmel XMEGA-B1 Xplained board.
...
Fix Dataflash driver for the A3BU-Xplained board.
Minor documentation improvements.
2012-02-06 17:05:33 +00:00
Dean Camera
fdab3aef86
Add (still preliminary) support for the ATXMEGA64A4 and ATXMEGA128A4. Fix minor error in the AVRISP-MKII clone project descriptors.
2012-02-05 21:59:35 +00:00
Dean Camera
fe8326855a
Revert changed version files in /trunk/ now that the LUFA-120219-BETA version has been released.
2012-02-05 16:02:14 +00:00
Dean Camera
5a2d815722
Commit for the 120219-BETA release.
2012-02-05 15:53:31 +00:00
Dean Camera
da676f0f70
Add support for the Micropendous (Arduino-like) series of boards (revisions 1 and 2).
2012-02-05 15:50:09 +00:00
Dean Camera
0e8e70153a
Update LUFAConfig.h with the new compile time options, re-format Doxygen documentation for all compile time options.
2012-02-05 15:28:41 +00:00
Dean Camera
a677254026
Added INVERTED_VBUS_ENABLE_LINE and NO_AUTO_VBUS_MANAGEMENT compile time options (thanks to Opendous Inc.).
2012-02-05 15:19:01 +00:00
Dean Camera
252bd7bb2c
Fixed invalid PID value used in the TempDataLogger project host application (thanks to Anupam Pathak).
2012-02-05 13:16:08 +00:00
Dean Camera
e55946f972
Add missing svn:eol-style properties to /trunk/.
2012-02-04 23:00:22 +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
43a3350981
Add API support signature to the CDC and DFU class bootloaders, so that the application can detect the bootloader's API support.
2012-02-03 21:49:36 +00:00
Dean Camera
3dacb73af3
Fix errors in the new Micropendous board drivers. Reorder the board definition macro indexes so that misspelled board names default to BOARD_USER rather then BOARD_USBKEY.
2012-02-03 21:10:07 +00:00
Dean Camera
10a56f6105
Add support for the Micropendous series of USB AVR8 boards.
2012-02-03 20:20:11 +00:00
Dean Camera
8d2cb61a5b
Minor documentation fixes.
2012-02-03 19:09:37 +00:00
Dean Camera
a436fbb612
Minor documentation improvements.
2012-02-02 20:17:22 +00:00
Dean Camera
fc4d3ab400
Minor documentation improvements.
2012-02-01 21:28:25 +00:00
Dean Camera
956f9e3709
Fixed AVRISP-MKII Clone timing out on long programming commands such as programming the EEPROM on an ATMEGA8 (thanks to Martin Kelling).
2012-01-30 16:54:09 +00:00
Dean Camera
9f99c7fa03
Fixed DFU class bootloader not resetting the LED pins as high impedance inputs when a software jump to the user applications is requested.
2012-01-29 14:37:30 +00:00
Dean Camera
5563da6a62
Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the board hardware drivers.
2012-01-29 14:33:36 +00:00
Dean Camera
a147cee95f
Added new CALLBACK_Audio_Device_GetSetInterfaceProperty() callback to the Audio Device Class driver.
2012-01-28 18:07:35 +00:00
Dean Camera
3038ea1c6e
USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as this was misnamed (thanks to NXP Semiconductors).
2012-01-02 05:43:23 +00:00
Dean Camera
154d28e39f
Fixed incorrect implementation of LEDs_ToggleLEDs() for the Adafruit-U4 board (thanks to Caroline Saliman).
2011-12-26 13:23:43 +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
77f354609f
Fixed compiler warning on GCC with -wundef compile flag is used (thanks to Georg Glock).
2011-12-20 13:15:36 +00:00
Dean Camera
676de74d9b
Don't validate the Device Descriptor's vendor ID when validating that a device is an Android Accessory device; the Product ID and (later) Accessory protocol support is enough to probe AOA class support without having to maintain a list of Android device manufacture VID values.
2011-12-14 02:52:42 +00:00
Dean Camera
84a739ae72
Minor XMEGA USB driver fixes.
2011-12-13 03:40:51 +00:00
Dean Camera
ec3e47a7d0
Change PIPE_PIPENUM_MASK from 0x07 to the more generic 0x0F to allow for full pipe address support in USB host architectures other than the current AVR8 devices. Minor documentation improvements.
2011-12-11 03:04:16 +00:00
Dean Camera
0c59d5993e
Altered the Mass Storage Host class driver so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
...
Altered the Mass Storage Host LowLevel demo so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
2011-12-01 08:39:43 +00:00
Dean Camera
798cc84ff5
Fixed AVRISP-MKII Clone failing to start application firmware once a TPI programming session is exited.
2011-11-29 13:33:28 +00:00
Dean Camera
259a3c9854
Fix typo in the Joystick board driver documentation example code.
2011-11-29 11:31:00 +00:00
Dean Camera
70f3d8e933
Add support for the Paranoid Studio USB2AX boards (hardware revisions 1-3).
2011-11-28 23:43:58 +00:00
Dean Camera
2b23318357
Add dummy board documentation nodes for the XPLAIN_REV1 and TEENSY2 meta board targets.
2011-11-28 13:15:27 +00:00
Dean Camera
cdd4e11fa8
Oops - fix incorrect value of AOA_CSCP_AOADataSubclass in the Android Open Accessory class driver.
2011-11-24 21:35:22 +00:00
Dean Camera
38d7cdf803
Minor Doxygen documentation improvements.
...
Add missing ATTR_NON_NULL_PTR_ARG and const decorations.
2011-11-24 11:59:52 +00:00
Dean Camera
3b99abb5fc
Add new USB_Host_GetDescriptor() function. Alter the USB_Host_GetDeviceDescriptor() and USB_Host_GetDeviceStringDescriptor() convenience functions so that they wrap the new function.
2011-11-24 11:46:04 +00:00
Dean Camera
e915d968a5
Added new USB_Host_GetDeviceConfiguration() and USB_Host_GetInterfaceAltSetting() functions.
2011-11-24 11:33:10 +00:00
Dean Camera
7f8dbb4908
Convert the LowLevel AndroidAccessory demo to use the new class driver constants to reduce code duplication.
...
Add missing Doxygen documentation.
2011-11-24 01:31:31 +00:00
Dean Camera
8b5aa61601
Add new Android Open Accessory class driver to the library core and add a new Android Open Accessory Host ClassDriver demo.
2011-11-24 01:24:01 +00:00
Dean Camera
d619214854
Update library to indicate support for the Android Accessory Host demo.
2011-11-23 06:59:27 +00:00
Dean Camera
4f223302b1
Oops: Typo on the new TEENSY2 board support.
2011-11-23 00:25:20 +00:00
Dean Camera
a81ccd83fd
Added support for version 2 of the Teensy boards (thanks to Christoph Redecker).
2011-11-23 00:15:58 +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
b711b7d6a4
Fixed broken AVR32 endpoint/pipe communications when ORDERED_EP_CONFIG compile time option is not enabled (thanks to Matthias).
...
Fixed broken compilation for the AVR32 devices if the NO_SOF_EVENTS compile time option was not enabled (thanks to Matthias).
2011-11-22 08:06:52 +00:00
Dean Camera
eb2e883fd3
Added Class, ClassDevice, ClassHost and ClassCommon to the internal class driver source filenames to prevent ambiguities.
2011-11-18 06:26:51 +00:00
Dean Camera
3e04487279
Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver (thanks to Laszlo Monda).
2011-11-16 08:19:34 +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
e30be658c9
Add missing SVN eol-style property to ensure that source code line endings and converted to the native values on checkout.
2011-11-09 23:35:16 +00:00
Dean Camera
8df0cf3241
Fixed race conditions in the CDC, HID and Mass Storage class drivers when processing some control requests.
2011-11-09 12:29:14 +00:00
Dean Camera
2b54cd984d
Fix typos in makefile templates.
2011-11-09 12:09:13 +00:00
Dean Camera
0ad6f1fb53
Add partial support for the Atmel A3BU Xplained's Dataflash IC (physical USART-as-SPI transport driver still pending).
2011-11-01 06:06:41 +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
139c1afeeb
Add XMEGA SPI peripheral driver.
2011-10-31 04:30:47 +00:00
Dean Camera
7992202603
Add support for the new MEGA B series devices.
2011-10-31 03:39:12 +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
eb5b8a32e4
Added INVERTED_ISP_MISO compile time option to the AVRISP-MKII clone project (thanks to Chuck Rohs).
2011-10-30 14:12:11 +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
fe87b8a225
Update ENDPOINT_EPNUM_MASK to be 0x0F, the maximum possible USB endpoint number within a device, rather than just the maximum number for the AVR8 and UC3 targets of 0x07.
2011-10-30 14:04:47 +00:00
Dean Camera
72717825e5
Namespace out the internal endpoint and pipe globals in the UC3 architecture.
2011-10-30 14:03:53 +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
c739974292
Fix error in XMEGA clock platform driver for the DFLL calibration byte order.
2011-10-30 07:43:13 +00:00
Dean Camera
ab43251bf9
Minor documentation fixes.
2011-10-30 07:09:44 +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
Dean Camera
f1543ae8ff
Fixed CDC class drivers not saving and sending all 16-bits of the control line states (thanks to Matthew Swabey).
2011-10-26 06:51:07 +00:00
Dean Camera
bc14c1a7f6
Update XMEGA platform clock management example code to suit the currently released silicon.
...
Cleanups to the UC3 endpoint/pipe multi byte read code.
2011-10-25 04:28:22 +00:00
Dean Camera
e9029d49d5
Rename the Doxygen page source directory from ManPages/ to DoxygenPages/ to prevent user confusion with the actual *nix Man tool.
2011-10-18 11:35:04 +00:00
Dean Camera
3aa8a69246
Fixed AVRISP-MKII Clone compile warning on AVR8 U4 targets even when NO_VTARGET_DETECT is enabled.
2011-10-18 11:31:03 +00:00
Dean Camera
738c9203fc
Fixed ring buffer size limited to 255 elements, instead of the intended 65535 elements.
2011-10-18 11:23:23 +00:00
Dean Camera
c6d6bdae0a
Added reliability patches to the AVRISP-MKII Clone project's PDI/TPI protocols (thanks to Justin Mattair).
2011-10-12 05:31:35 +00:00
Dean Camera
c15eaa5dae
When automatic PLL management mode is enabled on the U4 series AVR8 chips, the PLL is now configured for 48MHz and not a divided 96MHz, to lower power consumption and to keep the system within the datasheet specs for 3.3V operation (thanks to Scott Vitale).
2011-10-12 02:27:22 +00:00
Dean Camera
1a4a26271e
Added User Application APIs to the CDC and DFU class bootloaders.
2011-10-11 06:20:18 +00:00
Dean Camera
beb069b9b8
Commit for the 111009 release.
2011-10-10 10:04:25 +00:00
Dean Camera
c9e817ff47
Fixed port state table corruption in the TCP layer of the RNDIS Ethernet device demos.
...
Fix additional warnings under GCC 4.6.
2011-10-09 13:14:53 +00:00
Dean Camera
68e777e16b
Prevent written but unused variable warnings on GCC 4.6 with dummy reads.
2011-10-09 12:54:50 +00:00
Dean Camera
a4d67bb6ff
USB XMEGA support improvements; add DFLL clock platform support, ensure the endpoint table is correctly aligned and configured in the USB controller.
2011-10-07 05:52:35 +00:00
Dean Camera
db73b11244
Added reliability patches to the AVRISP-MKII Clone project's ISP and PDI/TPI protocols (thanks to Justin Mattair).
2011-10-07 04:40:56 +00:00
Dean Camera
6553bf5bfb
Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.
2011-10-07 04:38:53 +00:00
Dean Camera
2ae41fb153
Added endian-correction to the CDC driver's Line Encoding control request handlers.
2011-10-07 03:47:42 +00:00
Dean Camera
3bb8055459
Fix compile errors for the USB XMEGA parts when the USB driver is used.
...
Add core support for the ATXMEGA64A1U.
Minor documentation corrections.
2011-10-04 11:40:55 +00:00
Dean Camera
3223786c49
Fix compile error on the UC3 targets when INTERRUPT_CONTROL_ENDPOINT compile time option is used (thanks to Ian Woloschin).
...
Small size improvement for Little Endian devices when USB host mode is used.
Minor documentation fixes.
2011-09-28 13:24:08 +00:00
Dean Camera
77dbfd3cc4
Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker.
...
Add missing function and definition documentation.
2011-09-22 05:55:32 +00:00
Dean Camera
022fa26b43
Fix missing C++ linkage command in ArchitectureSpecific.h.
...
Fix missing closing brace in an Endpoint function for the UC3 targets.
2011-09-21 23:40:05 +00:00
Dean Camera
b5682f2c44
Add project name to the Doxygen makefile target output.
2011-09-21 06:45:09 +00:00
Dean Camera
06de32b1c2
Commit for the 111009 BETA release.
2011-09-21 06:28:42 +00:00
Dean Camera
99ff27e403
Fixed HID Parser's largest report size bit count not including the size of the last parsed report item.
...
Fixed HID host driver's largest HID report size count corrupt when the number of report bits exceeds 255.
2011-09-17 13:07:21 +00:00
Dean Camera
d881e0cbf6
Fixed incorrect buffer size check in the USBtoSerial project (thanks to Yuri A Nikiforov).
2011-09-07 12:05:37 +00:00
Dean Camera
4b229cb5ef
Fixed optimization error in the HID Parser item value USB_SetHIDReportItemInfo() and USB_GetHIDReportItemInfo() routines if the report item was NULL (which should be allowable according to the API).
...
Fixed HID Parser CALLBACK_HIDParser_FilterHIDReportItem() callback function not being passed a cacheable report item pointer.
2011-09-07 10:18:49 +00:00
Dean Camera
94e0a0058a
Oops - restore conditional calls to USB_USBTask() in the Mass Storage class driver for the non-stream loops.
2011-09-05 22:22:19 +00:00
Dean Camera
e64f4b0cd9
Update the TempDataLogger project and driver documentation to use the new TWI_BITLENGTH_FROM_FREQ() macro.
2011-09-02 04:41:43 +00:00
Dean Camera
413438eb23
Add new TWI_BITLENGTH_FROM_FREQ() macro to the AVR8 TWI peripheral driver.
...
Change Delay_MS() to accept a 16-bit parameter rather than an 8-bit parameter for longer possible delays.
Minor documentation improvements.
2011-09-02 04:38:56 +00:00
Dean Camera
88d022a752
Make TWI_ReadPacket() use a repeated start condition rather than a full bus release/recapture after the read address has been sent.
...
Fix TWI_ReadPacket() not releasing the bus correctly after all data transferred.
Make TWI_SendByte() and TWI_ReceiveByte() non-inline to reduce compiled binary size.
2011-08-31 07:17:33 +00:00
Dean Camera
dc9133ad21
Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where it is used.
2011-08-28 03:44:22 +00:00
Dean Camera
3b898ae178
Remove redundant prototype for Audio_Host_StartStopStreaming() and Audio_Host_GetSetEndpointProperty(). Update host mode Audio class inline functions to prevent unused parameter warnings.
2011-08-28 01:40:36 +00:00
Dean Camera
a233109909
Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host.
...
Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons).
Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage.
Minor documentation corrections.
2011-08-24 09:50:21 +00:00
Dean Camera
cff190b8f4
Minor documentation fixes.
...
Add extra parenthesis around terms in the common MIN() and MAX() macros to prevent issues with non-trivial macro inputs (thanks to David Lyons).
2011-08-23 10:39:04 +00:00
Dean Camera
2d9f98b592
Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro.
2011-08-23 07:07:34 +00:00
Dean Camera
d0ac8e46f9
Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().
...
Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines.
Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values.
Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
2011-08-22 13:03:56 +00:00
Dean Camera
40946a5704
Minor documentation corrections.
2011-08-19 06:11:39 +00:00
Dean Camera
ccf4cffd78
Improve device support documentation in the manual; split out each architecture into a different sub-page of the Device Support section of the manual, add in table to indicate USB mode support for each microcontroller model.
2011-08-19 06:04:39 +00:00
Dean Camera
af725dd418
Fix TWI peripheral driver example code in the library documentation.
2011-08-19 04:11:38 +00:00
Dean Camera
9708b45e69
Minor documentation corrections.
2011-08-17 14:51:05 +00:00
Dean Camera
fc5fa769ef
Pull out architecture specific macros and other definitions into a new common header file. Add new JTAG_DISABLE() macro for the AVR8s to software-disable JTAG debugging using cycle-safe assembly code.
2011-08-16 05:53:04 +00:00
Dean Camera
3478178127
Add shortcuts to SwapEndian_16() and SwapEndian_32() internal functions to improve optimization if called with constant inputs.
2011-08-16 05:00:45 +00:00
Dean Camera
c505ba047f
Set HOST_DEVICE_SETTLE_DELAY_MS to zero for the incomplete AndroidAccessoryHost demo to prevent a timeout on the Android device from aborting Accessory mode after a command it sent to switch modes (thanks to Opendous Inc).
2011-08-09 16:38:35 +00:00
Dean Camera
ddae47979d
Update LUFAConfig.h with missing options for the AVR32 target.
...
Add Binary Page Mode fuse command bytes to the AT45DB642D.h Dataflash header.
2011-08-04 05:32:17 +00:00
Dean Camera
aceb015ea7
Fixed incorrect Dataflash buffer use in the DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden).
2011-07-30 02:49:59 +00:00
Dean Camera
40728fd20d
Remove redundant calls to USB_USBTask() in the Mass Storage Device Class driver when INTERRUPT_CONTROL_ENDPOINT is not used, as this is done inside the stream callbacks.
...
Fix implementations of Endpoint_SetEndpointDirection() and Endpoint_GetEndpointDirection() for the AVR8 architecture.
2011-07-29 08:12:00 +00:00
Dean Camera
025742fca8
Added new VTARGET_USE_INTERNAL_REF configuration option to the AVRISP-MKII clone project (thanks to Volker Bosch).
2011-07-26 03:07:32 +00:00
Dean Camera
d5e874d348
Add INTERRUPT_CONTROL_ENDPOINT compile time option support for the UC3 devices.
2011-07-25 09:56:21 +00:00
Dean Camera
5c274d106b
Fixed USB_USBTask not being called internally in stream transfers between packets when Partial Stream Transfers are used.
...
Remove old unused function prototype in the LowLevel MassStorage device demo.
2011-07-25 01:11:24 +00:00
Dean Camera
110711598a
Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
2011-07-19 07:02:19 +00:00
Dean Camera
2c404e5af5
Add support for the ORDERED_EP_CONFIG compile time token on the UC3 architecture.
2011-07-19 02:42:27 +00:00
Dean Camera
69243c5071
Move out the EP_TYPE_* macros to the base USBController.h header, as these are used in the device descriptors as well and thus must not be changed.
2011-07-19 02:15:36 +00:00
Dean Camera
06d3797bac
Fix names of XMEGA ClockManagement driver functions.
...
Remove V2 branch for now, to concentrate on a V1 implementation of the USB XMEGAs before large-scale API alterations.
2011-07-18 09:24:50 +00:00
Dean Camera
69ab85cbc0
More USB XMEGA porting for Endpoint control.
2011-07-18 07:03:47 +00:00
Dean Camera
0c2ad9eb34
Add missing SVN eol-style property to files where it was missing.
2011-07-15 08:46:08 +00:00
Dean Camera
a36012fc4b
Add option to the USB XMEGAs to set the USB bus interrupt priority level.
2011-07-15 08:29:25 +00:00
Dean Camera
f07e766755
Complete USB XMEGA interrupt control subsystem code in the core USB driver.
...
Automatically load in the USB calibration bytes from the User Signature Row on start-up.
Create internal SRAM variable for the endpoint control and status register table, used by the XMEGA USB controller hardware.
2011-07-15 08:10:51 +00:00
Dean Camera
ffa8b430c1
Complete initial revision of the XMEGA Clock Management platform driver.
...
Start the USB clock source generator inside USB_ResetInterface() for XMEGA devices.
2011-07-14 11:31:12 +00:00
Dean Camera
c8e5176465
Add XMEGA to the LUFA core library makefile's list of architectures, so that the XMEGA files are properly cleaned on request.
2011-07-14 08:56:41 +00:00
Dean Camera
77a9df36a7
Update UC3 platform driver support to use the bitmasks defined in the header files over raw constants.
...
Start implementation of XMEGA platform drivers.
2011-07-14 08:30:33 +00:00
Dean Camera
b971dbbce8
More XMEGA USB AVR device port work - re-add missing Endpoint stream functions, remove unnecessary internal functions.
2011-07-14 07:28:32 +00:00
Dean Camera
8629e1918c
Implementation of several key core USB driver functions for the new USB XMEGA devices.
2011-07-14 07:19:30 +00:00
Dean Camera
6490d1c443
Correct the maximum banks per endpoint information macros for the UC3A3 and UC3A4 devices.
2011-07-14 07:18:31 +00:00
Dean Camera
bc41cbd26d
Add support for triple endpoint/pipe bank AVR32 UC3 devices.
2011-07-14 05:38:32 +00:00
Dean Camera
7c3290607e
Add missing ENDPOINT_DETAILS_EP7 macro for the UC3A3/UC3A4 devices.
...
MultiArchDemos: Correct usage of updated INTC_RegisterGroupHandler() in the ported demos.
2011-07-14 05:27:50 +00:00
Dean Camera
3f38ea6317
Added Device Qualifier standard descriptor structure definitions USB_StdDescriptor_DeviceQualifier_t and USB_Descriptor_DeviceQualifier_t.
2011-07-14 03:18:30 +00:00
Dean Camera
f4528c4aef
Add high speed USB support for the UC3 devices containing a high speed USB controller.
...
Add device support preprocessor checks and use symbolic bit names in the UC3 platform clock management driver.
2011-07-14 02:58:07 +00:00
Dean Camera
13951ab043
Fix compile errors in the UC3 platform support due to a forward reference and an incorrect function prototype.
2011-07-14 00:26:11 +00:00
Dean Camera
01d269879f
Add new STRINGIFY() and STRINGIFY_EXPANDED() convenience macros.
2011-07-14 00:11:51 +00:00
Dean Camera
d9643cf6ec
Add start of an architecture port to the Atmel USB XMEGA devices.
2011-07-13 23:50:05 +00:00
Dean Camera
f580232392
Remove unneeded #include of Device.h in StdDescriptors.h breaking compilation for some user projects.
2011-07-13 07:23:07 +00:00
Dean Camera
5f51554a5e
Enhance and document the AVR32 UC3 platform drivers.
2011-07-12 13:32:11 +00:00