aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in the project overview text files.Dean Camera2010-09-098-11/+11
|
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-3112-42/+42
| | | | USB AVR device "series" comprises of.
* Remove remaining void* descriptor casts in the projects and demos that were ↵Dean Camera2010-08-291-2/+2
| | | | not removed when the GetDescriptor callback function's signature was altered.
* Fixed LowLevel PrinterHost demo not sending control requests to the attached ↵Dean Camera2010-08-241-1/+1
| | | | printer with the correct printer interface wIndex value.
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-2424-119/+131
| | | | 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-2211-114/+46
| | | | 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.
* Clarify in the documentation that the Audio demos and driver is for the ↵Dean Camera2010-08-212-8/+8
| | | | Audio 1.0 specification, not the newer (and more advanced/less supported) 2.0 specification.
* 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-0914-231/+133
| | | | | | 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-0812-12/+48
| | | | 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-0212-12/+24
| | | | in some situations.
* Oops - fix mixed "initialize" and "initialise" - opt for American spelling ↵Dean Camera2010-07-301-1/+1
| | | | due to its wide use in technical standards.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3016-16/+16
| | | | EN-GB spelling dictionary.
* Spell check all source files once again to find any typos.Dean Camera2010-07-2918-84/+84
|
* 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-262-6/+6
| | | | | | 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.
* Add stream callback flags and class specific control request handler code to ↵Dean Camera2010-07-261-2/+2
| | | | | | the incomplete Test and Measurement Class device demo. Change over the keyboard demo's manufacturer name back to the primary author of the demo.
* Fix up minor whitespace formatting errors.Dean Camera2010-07-222-2/+2
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-2150-87/+183
| | | | | | 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-1916-725/+500
| | | | 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-1813-18/+13
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1513-3/+15
| | | | 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-1512-216/+72
| | | | | | 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-1312-0/+12
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-1212-12/+24
|
* 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-0212-0/+12
| | | | | | 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.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-151-1/+1
|
* Fix incorrect copyright attribution on the class-driver keyboard demos due ↵Dean Camera2010-06-063-3/+3
| | | | to header copy-pasting.
* More documentation fixes.Dean Camera2010-06-031-2/+2
|
* Minor documentation cleanups.Dean Camera2010-06-0313-92/+91
|
* Switch to using the correct intptr_t type use where a pointer must be cast ↵Dean Camera2010-05-262-5/+5
| | | | to an integer type.
* Fixed RNDISEthernet demos crashing when calculating checksums for ↵Dean Camera2010-05-252-2/+2
| | | | | | Ethernet/TCP packets of more than ~500 bytes due to an overflow in the checksum calculation loop (thanks to Kevin Malec). Removed string Attributes from the Service Discovery Protocol code to minimise the potential points of failure while the base code is being debugged.
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-2312-12/+12
|
* Renamed CDC device class demos' ManagementEndpoint descriptor to ↵Dean Camera2010-05-204-4/+4
| | | | NotificationEndpoint to more accurately indicate its purpose.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-08114-43353/+43353
| | | | 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-0713-48/+48
| | | | the make tool to be overridden.
* Remove incorrect Abstract Call Management class specific descriptor from the ↵Dean Camera2010-05-066-37/+1
| | | | CDC demos, bootloaders and projects.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-2812-24/+24
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-2825-6/+29
| | | | be done in the user application once all init code has run.
* Make bluetooth SDP code correctly unpack the search UUIDs and parameters.Dean Camera2010-04-191-1/+1
| | | | Minor documentation improvements.
* Fixed compilation error in the AudioInput demos when ↵Dean Camera2010-03-241-1/+1
| | | | | | | | MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian). Minor documentation cleanups. Make sure HID class driver uses properly cast pointers when writing to the report buffer.
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-2224-129/+132
| | | | | | 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.
* Fixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked ↵Dean Camera2010-03-192-7/+7
| | | | endpoints.
* Fix LowLevel Keyboard demo -- accidentally trying to dereference a uint8_t ↵Dean Camera2010-02-081-3/+3
| | | | type in ProcessLEDReport().
* Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure ↵Dean Camera2010-02-081-1/+0
| | | | | | erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit. Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.