aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed AudioInput and AudioOutput demos to reload the next sample via an ↵Dean Camera2010-10-262-2/+3
| | | | interrupt rather than polling the sample timer.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-2522-131/+237
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-2448-220/+264
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Better algorithm to extract and convert the internal device serial number ↵Dean Camera2010-10-242-6/+6
| | | | | | into a string descriptor (if present). Fix incorrect warning text when an unsuitable F_CLOCK value is given.
* Oops - fix broken SPI driver due to missing bit inversion on a port mask.Dean Camera2010-10-201-3/+3
|
* Added default test tone generation mode to the Device mode AudioInput demos.Dean Camera2010-10-202-2/+4
|
* Added board hardware driver support for the Minimus board (thanks to the ↵Dean Camera2010-10-177-2/+239
| | | | PSGroove team).
* Oops - add missing Maximus board LED hardware driver file.Dean Camera2010-10-171-0/+131
|
* Added board hardware driver support for the Maximus board (thanks to the ↵Dean Camera2010-10-174-1/+8
| | | | PSGroove team).
* Added board hardware driver support for the Blackcat USB JTAG board (thanks ↵Dean Camera2010-10-177-2/+140
| | | | to the PSGroove team).
* Renamed ENDPOINT_DOUBLEBANK_SUPPORTED() to ENDPOINT_BANKS_SUPPORTED() and ↵Dean Camera2010-10-134-21/+26
| | | | changed it to return the maximum number of supported banks for the given endpoint.
* Fix SoftUART.c not compiling due to accidental check in of changes not yet ↵Dean Camera2010-10-131-4/+8
| | | | complete in the rest of the XPLAINBridge project code.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-13183-2656/+2819
| | | | tool made by Laszlo Monda
* Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host ↵Dean Camera2010-10-1218-85/+87
| | | | | | interface was not configured. Small documentation improvements to explicitly reference tokens in Doxygen, to ensure that they are converted to cross-reference links in the output files.
* Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.Dean Camera2010-10-1210-77/+76
| | | | | | | | Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic. Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run. Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
* Fixed random enumeration failure while in device mode due to interrupts ↵Dean Camera2010-10-122-29/+29
| | | | causing the Set Address request to exceed maximum timings.
* Minor documentation enhancements.Dean Camera2010-10-123-0/+10
|
* Added new NO_SOF_EVENTS compile time option, enabled in the bootloaders to ↵Dean Camera2010-10-076-40/+61
| | | | reduce the compiled binary size.
* Added board hardware driver support for the Busware CUL V3 board.Dean Camera2010-10-0615-960/+1194
| | | | Added SVN eol-style property to the library driver files that are missing it.
* Fixed SPI driver not explicitly setting /SS and MISO pins as inputs when ↵Dean Camera2010-10-062-0/+2
| | | | SPI_Init() is called.
* Cache the USB_DeviceState variable internally in the library core when ↵Dean Camera2010-10-066-23/+30
| | | | multiple checks are required in a single loop iteration, to reduce compiled code size.
* Revert change to the AVRISP-MKII project for fuse byte programming via the ↵Dean Camera2010-10-021-1/+0
| | | | CMDEX bit - this appears to be an error in the XMEGA manual external memory programming table.
* Fixed broken lock byte programming in the AVRISP-MKII clone project for some ↵Dean Camera2010-10-021-0/+1
| | | | XMEGA targets.
* Fixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when ↵Dean Camera2010-10-021-0/+1
| | | | writing in non-paged mode and the polling byte cannot be used.
* Fixed LowLevel JoystickHostWithParser demo not saving the chosen HID ↵Dean Camera2010-10-012-2/+2
| | | | | | interface's report descriptor size. Simplified low level Host demo configuration descriptor parser routines.
* Fix device mode for the U4 parts.Dean Camera2010-10-011-1/+1
|
* Whitespace corrections.Dean Camera2010-10-018-65/+68
| | | | Make Printer Host mode Class driver interface descriptor search routine pre-cast the current interface descriptor to simplify the value checks.
* Make Host mode Class drivers only set the class driver instance's state ↵Dean Camera2010-09-309-140/+77
| | | | values once a compatible interface has been found within the device.
* Fix incorrectly named configuration descriptor callback routines in the host ↵Dean Camera2010-09-305-15/+20
| | | | | | mode class drivers. Fix typo in MIDI low level device demo.
* Fix low level host mode demos not correctly fetching the next endpoint when ↵Dean Camera2010-09-3022-310/+458
| | | | | | an invalid interface is discarded. Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-3012-175/+178
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* Changed default value for the reset polarity parameter in the AVRISP-MKII ↵Dean Camera2010-09-295-5/+19
| | | | | | project so that it defaults to active low drive. Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set.
* Fix up incorrect version numbers in demo/project descriptors.Dean Camera2010-09-2810-62/+65
| | | | Add class name prefixes to missed constants in the class drivers to give all class driver elements a consistent namespace.
* Added board hardware driver support for the Arduino Uno development board.Dean Camera2010-09-286-4/+141
| | | | Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver.
* Added CDC functional descriptor structs to the Low Level CDC demos and CDC ↵Dean Camera2010-09-282-0/+2
| | | | | | class bootloader, to improve the readability of the descriptors. Fixed BootloaderCDC project failing on some operating systems due to removed Line Encoding options (thanks to Alexey Belyaev).
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-2824-435/+602
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Remove dfu-programmer program switches, to ensure maximum compatibility with ↵Dean Camera2010-09-242-7/+5
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-243-8/+11
| | | | | | | | ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target. Makefile whitespace fixes.
* Fixed endpoint selection within the CALLBACK_HID_Device_CreateHIDReport() ↵Dean Camera2010-09-243-3/+5
| | | | | | callback function causing broken GET REPORT requests. Minor whitespace fixes.
* Reverted modifications to USBInterrupt.h that were intefering with correct ↵Dean Camera2010-09-224-13/+10
| | | | | | | | host mode operation. Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
* Oops - need to call USB_Attach() when reinitializing into USB Host mode, or ↵Dean Camera2010-09-211-1/+2
| | | | no devices will be detected.
* Fixed USB_Host_ClearPipeStall() incorrectly attempting to determine the ↵Dean Camera2010-09-213-4/+2
| | | | endpoint's direction from the currently selected pipe.
* Rename internal suspend and wake up USB interrupt macros so that they follow ↵Dean Camera2010-09-194-16/+14
| | | | the same naming scheme as the other USB ISR macros.
* Make device mode configure the control endpoint even before the bus has been ↵Dean Camera2010-09-191-12/+14
| | | | reset, so that the device will enumerate correctly on hosts that do not reset the device before initial use.
* More simplifications to USBController.c, fix errors and warnings when ↵Dean Camera2010-09-191-8/+12
| | | | compiled for the series 2 USB AVRs.
* Fix warning when not compiled for UID auto-selection mode.Dean Camera2010-09-191-0/+2
|
* Clean up USBController.c/.h to more clearly seperate out host and device ↵Dean Camera2010-09-193-135/+111
| | | | | | setup and reset paths. Make USBInterrupt.c process all pending USB host mode interrupts before resetting the bus, so that no interrupts are lost when in UID auto-selection mode.
* Ensure device address latch bit is not set at the same time as the new ↵Dean Camera2010-09-195-14/+26
| | | | | | | | address, as per datasheet. Minor documentation fixes. Fix broken USB host mode due to the USB frame counter not being updated during the early enumeration steps, causing USB_Host_DelayMS() to spinloop forever.
* Removed the EVENT_USB_InitFailure() event, as not specifying a USB mode to ↵Dean Camera2010-09-156-35/+5
| | | | USB_Init() now defaults the controller into UID selection mode.
* Fix incorrect documentation on the Get Descriptor standard request.Dean Camera2010-09-152-5/+7
|