aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/MassStorage
Commit message (Collapse)AuthorAgeFilesLines
...
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-244-4/+0
| | | | | | 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.
* Minor documentation corrections.Dean Camera2010-10-131-2/+2
|
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-1310-188/+198
| | | | tool made by Laszlo Monda
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-301-1/+1
| | | | | | | | | | 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.
* Remove dfu-programmer program switches, to ensure maximum compatibility with ↵Dean Camera2010-09-241-2/+2
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-241-3/+3
| | | | | | | | 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.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-151-2/+2
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Fix typos in the project overview text files.Dean Camera2010-09-091-1/+1
|
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-312-7/+7
| | | | USB AVR device "series" comprises of.
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-242-9/+10
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage ↵Dean Camera2010-08-211-2/+0
| | | | and MIDI Device Class demos.
* Fixed MassStorage based demos and projects resetting the SCSI sense values ↵Dean Camera2010-08-182-32/+68
| | | | | | before the command is executed, leading to missed SCSI sense values when the host retrieves the sense key (thanks to Martin Degelsegger). Added missing DataflashManager_CheckDataflashOperation() function to the MassStorageKeyboard demo, removed redundant SCSI_Codes.h file as these values are part of the MassStorage Class Driver.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-3/+6
| | | | | | use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-081-1/+4
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-021-1/+2
| | | | in some situations.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-301-1/+1
| | | | EN-GB spelling dictionary.
* Spell check all source files once again to find any typos.Dean Camera2010-07-294-64/+64
|
* 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.