aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/LowLevel/MassStorage/Lib
AgeCommit message (Collapse)Author
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-10Remove redundant type information for bitfield elements, other than the ↵Dean
signed/unsignedness of the element. Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1733 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-20Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage ↵Dean
class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger) git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1442 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-26Rename reserved members of all structs so that they are uniformly named ↵Dean
across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1411 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-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-07Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class ↵Dean
driver and Keyboard demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1114 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-09Spell check all source code variables, comments and strings.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@889 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-18Moved USBtoSerial demo the Projects directory, as it is simply an expanded ↵Dean
CDC demo. Added const qualifier to Endpoint/Pipe stream write routines. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@868 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-19Moved out the handling of V2 Protocol parameters to a seperate set of files. ↵Dean
Added parameter privellages, so that an error can be returned to the host when trying to perform a get/set value action on a parameter without the correct privellages. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@751 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-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-05Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean
re-add old low level demos to a LowLevel subdirectory. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@572 d5102386-fcda-11dd-9fdb-3debd5008f28