aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
Commit message (Collapse)AuthorAgeFilesLines
...
* Added CDC functional descriptor structs to the Low Level CDC demos and CDC ↵Dean Camera2010-09-286-101/+162
| | | | | | class bootloader, to improve the readability of the descriptors. Fixed BootloaderCDC project failing on some operating systems due to removed Line Encoding options (thanks to Alexey Belyaev).
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-2844-257/+244
| | | | | | | | 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-2453-106/+106
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-2453-159/+159
| | | | | | | | 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.
* Reverted modifications to USBInterrupt.h that were intefering with correct ↵Dean Camera2010-09-221-1/+1
| | | | | | | | host mode operation. Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
* Rename internal suspend and wake up USB interrupt macros so that they follow ↵Dean Camera2010-09-191-2/+0
| | | | the same naming scheme as the other USB ISR macros.
* Ensure device address latch bit is not set at the same time as the new ↵Dean Camera2010-09-193-1/+12
| | | | | | | | address, as per datasheet. Minor documentation fixes. Fix broken USB host mode due to the USB frame counter not being updated during the early enumeration steps, causing USB_Host_DelayMS() to spinloop forever.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-1553-106/+106
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Fix typos in the project overview text files.Dean Camera2010-09-0918-21/+21
|
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-0923-94/+94
| | | | naming.
* Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to ↵Dean Camera2010-09-072-6/+3
| | | | the Print Host Class driver.
* Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() ↵Dean Camera2010-09-052-14/+17
| | | | | | | | functions to retrieve the current USB frame number. Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode. Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application.
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-3152-123/+123
| | | | USB AVR device "series" comprises of.
* Remove remaining void* descriptor casts in the projects and demos that were ↵Dean Camera2010-08-293-8/+9
| | | | 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-244-8/+13
| | | | printer with the correct printer interface wIndex value.
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-2458-294/+325
| | | | 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-2212-134/+63
| | | | 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-214-16/+16
| | | | Audio 1.0 specification, not the newer (and more advanced/less supported) 2.0 specification.
* Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage ↵Dean Camera2010-08-212-4/+0
| | | | and MIDI Device Class demos.
* Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage ↵Dean Camera2010-08-202-4/+6
| | | | 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-189-179/+166
| | | | | | 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.
* Tighten up the code in the delta movement detection code in the ↵Dean Camera2010-08-094-32/+18
| | | | MouseHostWithParser and JoystickHostWithParser demos. Make the ClassDriver JoystickHostWithParser demo use the HID_ALIGN_DATA() macro instead of manual shifting and casting.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-0930-322/+217
| | | | | | 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.
* Add notification endpoint to the incomplete TMC demo.Dean Camera2010-08-093-5/+29
|
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-0854-56/+221
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Ensure all demos now compile in C99 standards mode, and not GNU99 (C99 + GNU ↵Dean Camera2010-08-035-15/+15
| | | | extensions).
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-0251-51/+102
| | | | in some situations.
* Fixed Serial peripheral driver not turning off the USART before ↵Dean Camera2010-07-311-3/+3
| | | | reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock).
* Oops - fix mixed "initialize" and "initialise" - opt for American spelling ↵Dean Camera2010-07-302-2/+2
| | | | due to its wide use in technical standards.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3059-59/+59
| | | | EN-GB spelling dictionary.
* Fix typo in DualVirtualSerial.c due to the changed CDC Device APIs that was ↵Dean Camera2010-07-301-1/+1
| | | | preventing the demo from being compiled.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-304-12/+9
| | | | | | that no data is indicated by a negative return value. Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
* Oops - need to turn off USART via control register B before reconfiguring, ↵Dean Camera2010-07-301-4/+4
| | | | fix ordering of USART control register modifications in the Benito and USBtoSerial projects.
* Spell check all source files once again to find any typos.Dean Camera2010-07-2972-301/+301
|
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-293-3/+3
| | | | | | 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-283-53/+89
| | | | | | 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.
* Move over message ID specific header data to unions inside the standard TMC ↵Dean Camera2010-07-272-7/+36
| | | | header structure, so that all header data is read in one chunk in the incomplete TMC demo.
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-267-54/+82
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Add comments to the currently completed portions of the incomplete Test and ↵Dean Camera2010-07-261-1/+22
| | | | Measurement Class demo.
* Add missing INTERRUPT_CONTROL_ENDPOINT compile time option to the Mass ↵Dean Camera2010-07-265-45/+60
| | | | | | 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-265-18/+167
| | | | | | the incomplete Test and Measurement Class device demo. Change over the keyboard demo's manufacturer name back to the primary author of the demo.
* Add TMC device capabilities to the incomplete TMC demo.Dean Camera2010-07-233-2/+67
|
* Convert over internal pseudo-function macros to true inline functions for ↵Dean Camera2010-07-221-12/+19
| | | | added type-safety and compile-checking.
* Added start of a low level device Test and Measurement class demo (thanks to ↵Dean Camera2010-07-226-1/+1235
| | | | Peter Lawrence).
* Fix up minor whitespace formatting errors.Dean Camera2010-07-229-9/+9
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-21205-490/+1002
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-218-32/+32
| | | | 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-1962-3194/+2171
| | | | 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-1854-65/+54
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1555-8/+60
| | | | 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.