Commit Graph

142 Commits

Author SHA1 Message Date
Dean Camera 40755d4fde Fixed inverted LED driving code for the Arduino Leonardo board. Fixed inverted LEDs_GetLEDs() function implementation for the Benito, Minimus and Arduino UNO boards. 2012-08-12 17:25:39 +00:00
Dean Camera f0e5425208 Added support for the Arduino Leonardo board. Swap Olimex 32U4 RX/TX LED masks so that it lines up with the Arduino boards. 2012-08-12 14:03:57 +00:00
Dean Camera ffbb30e0f8 Added workaround for broken VBUS detection on AVR8 devices when a bootloader starts the application via a software jump without first turning off the OTG pad (thanks to Simon Inns) 2012-08-12 13:46:24 +00:00
Dean Camera fa664f8b46 Fixed broken RESET_TOGGLES_LIBUSB_COMPAT compile time option in the AVRISP-MKII project. 2012-08-12 13:25:27 +00:00
Dean Camera af3c001cba Reset to placeholder version values in the library after the 120730 release. 2012-07-30 17:52:34 +00:00
Dean Camera e90eeb791d Commit for the 120730 release. 2012-07-30 16:59:38 +00:00
Dean Camera 16cd7c6896 Add support for the Olimex AVR-ISP-MK2 board. 2012-07-26 19:23:15 +00:00
Dean Camera badbca5791 Fixed endianess issues in the RNDIS host class driver for UC3 devices (thanks to Andrew Chu). Fix broken build for UC3 devices when ORDERED_EP_CONFIG compile time option is set. 2012-07-22 13:32:39 +00:00
Dean Camera 8e1328dc6a Commit for the LUFA-120730-BETA release. 2012-07-16 17:07:47 +00:00
Dean Camera 4b8a46193e Fixed incorrect Micropendous board LED driver LEDs_SetAllLEDs() and LEDs_ChangeLEDs() function implementations (thanks to MitchJS). 2012-07-03 15:54:17 +00:00
Dean Camera 2e27cc2670 Fixed CDC and DFU bootloaders API page erase and write function failures (thanks to Martin Lambert). 2012-06-29 04:55:44 +00:00
Dean Camera 579fbb68fc Fixed invalid configuration descriptor in the low level KeyboardMouse device demo (thanks to Jun Wako). 2012-06-27 19:41:30 +00:00
Dean Camera cd0bd7bf90 Added new JTAG_ENABLE() macro for the AVR8 architecture. Fixed the JTAG_DISABLE() macro clearing all other bits in MCUSR when called.
Moved the XPLAIN board specific bootloader entry condition code to the Application_Jump_Check() function of the DFU bootloader, added support for the original XPLAIN board to the CDC class bootloader.
2012-06-09 13:00:56 +00:00
Dean Camera 56e792c95b Switch over Demos, Bootloaders and Projects to the new and improved build system. 2012-06-01 22:32:43 +00:00
Dean Camera 35564bb1a7 Fixed swapped Little Endian/Big Endian endpoint and pipe write code for the UC3 devices (thanks to Andrew Chu). 2012-05-26 16:02:20 +00:00
Dean Camera d4f00fe7d5 Added new RESET_TOGGLES_LIBUSB_COMPAT compile time option to the AVRISP-MKII clone programmer project (thanks to Robert Spitzenpfeil). 2012-05-20 15:34:47 +00:00
Dean Camera 380f014c4c Added build test to verify correct compilation of all bootloaders using all supported devices.
Fixed compile error with the unreleased ATMEGA32U6 device.
2012-05-13 13:06:11 +00:00
Dean Camera 96fd39eda8 Fixed CDC and DFU bootloaders API function offsets incorrect on some devices (thanks to Rod DeMay). 2012-05-13 10:13:24 +00:00
Dean Camera 9207e8b2fd Changed board LED driver implementations of LEDs_ToggleLEDs() for the AVR8 architecture to use the fast PIN register toggle alternative function for speed. 2012-05-06 12:19:03 +00:00
Dean Camera 395e4287a1 Added support for the Olimex AVR-USB-32U4 and Olimex AVR-USB-T32U4 boards. 2012-05-06 12:10:30 +00:00
Dean Camera 1007317c5f Fixed broken MIDI host driver MIDI_Host_ReceiveEventPacket() function due to not unfreezing the MIDI data IN pipe before use (thanks to Michael Brown). 2012-05-06 11:11:33 +00:00
Dean Camera 590d9b5ff8 Increased endpoint polling interval for all demos and projects to 5ms, as 1ms was causing some enumeration issues on some machines (thanks to Riku Salminen). 2012-05-06 11:10:25 +00:00
Dean Camera 2d98e5499b Fixed possible deadlock in the CDC device driver if the USB connection is dropped while the CDC_REQ_SetLineEncoding control request is being processed by the stack (thanks to Jonathan Hudgins). 2012-05-05 19:43:06 +00:00
Dean Camera 46d511c021 Fixed incorrect DFU version number reported to the host in the DFU bootloader descriptors. Fixed incorrect version hundredths value encoding in VERSION_BCD() macro (thanks to Georg Glock). 2012-05-05 15:25:27 +00:00
Dean Camera 04740d680e The library bootloaders will now correctly start the user application after a watchdog-based application start, even if the /HWB line is held low externally during the reset phase. 2012-04-29 17:15:06 +00:00
Dean Camera 69ecaae732 Added support for the DorkbotPDX Duce board. 2012-04-25 18:42:33 +00:00
Dean Camera bd6123e2c1 Fixed inverted LED logic in the USB2AX board LED driver (thanks to Nicolas Saugnier). 2012-04-25 18:32:55 +00:00
Dean Camera e875d7cf9f Changed MIDI event structure MIDI_EventPacket_t to use a single field for the combined virtual cable index and command ID, to prevent bitfield packing issues on some architectures (thanks to Darren Gibbs). 2012-04-25 18:28:56 +00:00
Dean Camera 56aed4b3e6 Fixed AVRISP-MKII programmer project reset line polarity inverted when the generated EEP file is loaded into the USB AVR's EEPROM and avr-dude is used. 2012-04-16 17:03:07 +00:00
Dean Camera c0841d98c5 Fixed incorrect reponse to GET STATUS requests in device mode if NO_DEVICE_SELF_POWER or NO_DEVICE_REMOTE_WAKEUP tokens are defined (thanks to Georg Glock). 2012-04-15 13:34:11 +00:00
Dean Camera 2e757d8c38 Added new SerialToLCD user project contributed by Simon Foster. 2012-04-14 21:35:25 +00:00
Dean Camera 47f6a35013 Reintegrate the FullEPAddresses development branch into trunk. 2012-04-14 14:41:17 +00:00
Dean Camera e8570c4a37 Fixed CDC and DFU bootloaders failing to compile when the bootloader section size is 8KB or more (thanks to Georg Glock). 2012-04-14 10:09:45 +00:00
Dean Camera b2fe539d1c Removed the old pseudo-scheduler from the library as it was unused and deprecated since the 090810 release. 2012-04-08 21:48:46 +00:00
Dean Camera f11826fc47 Minor documentation improvements. 2012-04-08 21:43:36 +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 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 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 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 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 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 f5c155cf05 Minor documentation improvements. 2012-02-26 15:03:03 +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 5561524a8f Added support for the BitWizard Multio and Big-Multio boards. 2012-02-22 21:31:18 +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 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 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 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 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 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 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 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 10a56f6105 Add support for the Micropendous series of USB AVR8 boards. 2012-02-03 20:20:11 +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 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 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 70f3d8e933 Add support for the Paranoid Studio USB2AX boards (hardware revisions 1-3). 2011-11-28 23:43:58 +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 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 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 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 7992202603 Add support for the new MEGA B series devices. 2011-10-31 03:39:12 +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 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 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