aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/MassStorage
Commit message (Collapse)AuthorAgeFilesLines
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-291-1/+1
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Add missing INTERRUPT_CONTROL_ENDPOINT compile time option to the Mass ↵Dean Camera2010-07-261-0/+1
| | | | | | Storage device projects/demos and incomplete Test and Measurement Class demo, which was accidentally removed during the makefile updates. Alter Test and Measurement Class demo's request handlers to accept, process and correctly return the fields indicated in the specification.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-216-13/+30
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-214-16/+16
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-193-70/+43
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean Camera2010-07-181-1/+1
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-152-2/+3
| | | | apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-151-18/+6
| | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
* Fix pointer aliasing warning in the Mass Storage demos.Dean Camera2010-07-151-3/+2
|
* Add AVRStudio 4 project files to the ClassDriver Device mode demos.Dean Camera2010-07-131-0/+1
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-121-1/+2
|
* Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean Camera2010-07-091-2/+2
| | | | | | functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts. Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-021-0/+1
| | | | | | functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
* More documentation fixes.Dean Camera2010-06-031-2/+2
|
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-231-1/+1
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0811-3889/+3889
| | | | correctly converted to the target system's native end of line style.
* Change over instances of "make" in the makefiles to "$(MAKE)" to allow for ↵Dean Camera2010-05-071-1/+1
| | | | the make tool to be overridden.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-281-2/+2
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-282-0/+3
| | | | be done in the user application once all init code has run.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-182-2/+2
|
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-222-6/+6
| | | | | | sub-elements in the Device mode demos, bootloaders and projects. Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-041-1/+1
| | | | | | will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects.
* Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.Dean Camera2010-02-031-1/+2
|
* Minor fixups to the documentation and preprocessor tokens.Dean Camera2010-02-021-2/+2
|
* Fix up project documentation files' overview tables, so that multiple items ↵Dean Camera2010-01-281-4/+4
| | | | occupy multiple lines in the same cell, rather than multiple cells.
* Add Webserver project Doxygen configuration file and overview document.Dean Camera2010-01-251-1/+1
| | | | Fix Doxygen configuration files' input file exclusion filters.
* Update Doxygen configuration files to the latest Doxygen version.Dean Camera2010-01-061-631/+709
|
* Update copyright year to 2010.Dean Camera2009-12-308-16/+16
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-288-57/+57
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-093-8/+8
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean Camera2009-11-231-61/+0
| | | | | | | | | | | | storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick. The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR). The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only. The USB_MODE_HOST token is now defined even when host mode is not available. Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
* Make RNDISHost demo validate the set Packet Filter to ensure that it is ↵Dean Camera2009-11-172-5/+4
| | | | | | being sent correctly. Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
* Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean Camera2009-11-151-12/+4
| | | | driver.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-061-6/+8
| | | | per-endpoint, per-interface level.
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-161-2/+2
|
* Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean Camera2009-10-121-10/+5
| | | | Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.
* Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean Camera2009-10-081-2/+2
| | | | | | demo. Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own.
* Cleanups to the Device mode Mass Storage demo applications' SCSI routines.Dean Camera2009-10-022-52/+28
|
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-221-2/+4
| | | | but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition.
* Move Dataflash operational checking code out from SCSI.c into the ↵Dean Camera2009-09-223-29/+36
| | | | DataflashManager.c in the Device mode Mass Storage demos.
* Added new MassStorageKeyboard Device Class Driver demo (thanks to Matthias ↵Dean Camera2009-09-211-0/+1
| | | | Hullin).
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-091-2/+1
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-061-31/+48
| | | | | | | | compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
* Move check for devices not supporting internal serials in demos which make ↵Dean Camera2009-09-012-4/+12
| | | | use of USE_INTERNAL_SERIAL to Descriptors.c from Descriptors.h so that the warning is only generated at most once per compilation.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-301-1/+1
|
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-262-86/+0
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Fixed AVRISP programmer demo -- can now connect to a target and read/write ↵Dean Camera2009-08-231-1/+2
| | | | | | | | Sig/Lock/Fuse/OSCCAL bytes successfully. Changed SPI_Init() to allow for the clock polarity and data sample modes to be set. Changed Dataflash_Init() to no longer call SPI_Init() automatically.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-131-2/+2
|
* Changed over manual loops waiting for endpoints to be ready to use the ↵Dean Camera2009-08-052-21/+9
| | | | library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-052-10/+10
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.