aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/MassStorage
Commit message (Collapse)AuthorAgeFilesLines
* Use the MIN() macro where possible instead of manual "(x < y) ? x : y" ↵Dean Camera2011-03-231-3/+2
| | | | constructs.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-211-7/+7
| | | | architecture ports.
* Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent ↵Dean Camera2011-03-051-2/+2
| | | | | | | | with the Pipe_ResetPipe() function name. Fix undefined error in Pipe_UC3B.h. Add missing migration notes.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-191-1/+5
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-101-2/+2
| | | | | | 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.
* Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean Camera2011-02-061-5/+5
| | | | Add const to all project descriptor definitions for safety.
* Fix typos and outdated information.Dean Camera2011-01-101-11/+10
|
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-102-42/+33
| | | | | | | | | | 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).
* Update copyright year on all source files.Dean Camera2011-01-018-16/+16
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-261-4/+4
| | | | fix incorrect and missing section names.
* Added ability to write protect Mass Storage disk write operations from the ↵Dean Camera2010-11-263-2/+42
| | | | host OS.
* Lower bulk endpoint polling rate in the descriptors to the lowest possible ↵Dean Camera2010-11-221-2/+2
| | | | value to give maximum throughput.
* Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean Camera2010-11-101-2/+2
| | | | endpoint descriptors (thanks to MCS Electronics).
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-052-5/+5
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-288-8/+8
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-251-6/+6
| | | | | | | | 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-244-158/+18
| | | | | | 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-1311-226/+237
| | | | 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.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-281-1/+1
| | | | | | | | 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-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).
* Changed all Device mode LowLevel demos and Device Class drivers so that the ↵Dean Camera2010-08-221-4/+2
| | | | control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period.
* Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage ↵Dean Camera2010-08-201-2/+3
| | | | class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger)
* Fixed MassStorage based demos and projects resetting the SCSI sense values ↵Dean Camera2010-08-182-29/+57
| | | | | | 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-16/+9
| | | | | | 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 TMC header read and write functions, so that TMC data can now be ↵Dean Camera2010-07-281-34/+26
| | | | | | exchanged in both directions. Minor update to the LowLevel MassStorage device demo, so that the ReadInCommandBlock() performs the data OUT endpoint selection and packet arrival test.
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-261-5/+5
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* 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-214-11/+24
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-192-68/+42
| | | | 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-153-12/+11
|
* Add AVRStudio 4 project files to the LowLevel 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-12/+8
| | | | | | 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
|