aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/MassStorage/Lib
AgeCommit message (Collapse)Author
2012-05-15AppConfigHeaders: Make sure that in applications using an AppConfig.h ↵Dean
configuration file, all application headers include the configuration file. git-svn-id: http://lufa-lib.googlecode.com/svn/branches/AppConfigHeaders@2218 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-05-13AppConfigHeaders: Move out the last of the demo/app configurations into new ↵Dean
AppConfig.h header files. git-svn-id: http://lufa-lib.googlecode.com/svn/branches/AppConfigHeaders@2217 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-29Update StaticAnalysisTest to check for missing header files. Fix found ↵Dean
incorrect header file paths in the demos and projects. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2076 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-30Fixed incorrect Dataflash buffer use in the ↵Dean
DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1900 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-04Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean
Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1726 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-23Use the MIN() macro where possible instead of manual "(x < y) ? x : y" ↵Dean
constructs. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1723 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-10Add static keyword to all project globals whose scope should be restricted ↵Dean
to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1661 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-10Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean
parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1628 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-26Added ability to write protect Mass Storage disk write operations from the ↵Dean
host OS. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1594 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-24All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1537 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Minor documentation corrections.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1525 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-31Clarify in the project documentation files what the each of the different ↵Dean
USB AVR device "series" comprises of. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1459 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-18Fixed MassStorage based demos and projects resetting the SCSI sense values ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1441 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-29Spell check all source files once again to find any typos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1420 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Update all demos, projects and bootloaders to indent all function ↵Dean
parameters, one per line, for better readability. Add missing const qualifiers to the demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1400 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Add missing const qualifiers to class drivers.Dean
Indent core library function parameters so that there is only one parameter per line, to increase readability. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1398 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-19Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1394 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-15Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1392 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-15Fix pointer aliasing warning in the Mass Storage demos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1389 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-09Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean
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(). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1364 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03More documentation fixes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1313 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-02Minor fixups to the documentation and preprocessor tokens.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1102 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-30Update copyright year to 2010.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1032 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-28Fix MIT license language to make its intent clearer.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1019 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-09Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean
(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.). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@957 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-23The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@909 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-17Make RNDISHost demo validate the set Packet Filter to ensure that it is ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@902 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-15Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean
driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@898 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-08Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@863 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-02Cleanups to the Device mode Mass Storage demo applications' SCSI routines.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@855 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-22Add new error condition to the HID Report Parser for when a report is parsed ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@841 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-22Move Dataflash operational checking code out from SCSI.c into the ↵Dean
DataflashManager.c in the Device mode Mass Storage demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@840 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-26Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean
it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@776 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Changed over manual loops waiting for endpoints to be ready to use the ↵Dean
library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@721 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-21Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean
USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@676 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-20Change Doxygen configuration files to not produce 4096 directories for the ↵Dean
documentation files -- the LUFA components do not generate enough documentation files to justify the large performance hit of creating so many directories. Fix missing Doxygen documentation in the Class Driver Mass Storage Device demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@668 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-11Added incomplete PrinterHost demo application.Dean
Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder. Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@639 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-29Minor correction to MagStripe demo to fix build problems.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@638 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-29Dataflash_WaitWhileBusy() now always ensures that the dataflash is ready for ↵Dean
the next command immediately after returning, no need to call Dataflash_ToggleSelectedChipCS() afterwards. Added new DATAFLASH_CHIP_MASK() macro to the Dataflash driver, which returns the Dataflash select mask for the given chip index. Updated MassStorage device block write routines to use ping-pong Dataflash buffering to increase throughput by around 30%. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@637 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-28Added const modifiers to device mode class drivers.Dean
Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@636 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-18Break device mode class driver interfaces into seperate config and state ↵Dean
structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@609 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-15More Doxygen fixes - ensure no undocumented function parameters.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@597 d5102386-fcda-11dd-9fdb-3debd5008f28