aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel
Commit message (Collapse)AuthorAgeFilesLines
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-284-16/+16
| | | | | | | | 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-2412-24/+24
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-2412-36/+36
| | | | | | | | 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-1512-24/+24
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to ↵Dean Camera2010-09-071-5/+2
| | | | 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-3112-12/+12
| | | | USB AVR device "series" comprises of.
* Fixed LowLevel PrinterHost demo not sending control requests to the attached ↵Dean Camera2010-08-243-7/+12
| | | | printer with the correct printer interface wIndex value.
* 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)
* Tighten up the code in the delta movement detection code in the ↵Dean Camera2010-08-092-19/+11
| | | | MouseHostWithParser and JoystickHostWithParser demos. Make the ClassDriver JoystickHostWithParser demo use the HID_ALIGN_DATA() macro instead of manual shifting and casting.
* 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.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3013-13/+13
| | | | EN-GB spelling dictionary.
* 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-2915-30/+30
|
* 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.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-2137-86/+164
| | | | | | 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-1912-712/+480
| | | | 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-1812-12/+12
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1512-0/+12
| | | | 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.
* Add AVRStudio 4 project files to the LowLevel Host mode demos.Dean Camera2010-07-1312-0/+12
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-1212-12/+24
|
* 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.
* Minor fixes to demos to add in some missing comments, printf() formatting. ↵Dean Camera2010-06-121-1/+1
| | | | Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
* More documentation fixes.Dean Camera2010-06-0316-18/+18
|
* Minor documentation cleanups.Dean Camera2010-06-0327-112/+112
|
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-2312-12/+12
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-08101-38890/+38890
| | | | 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-46/+46
| | | | the make tool to be overridden.
* 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-2821-0/+21
| | | | be done in the user application once all init code has run.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-187-22/+22
|
* More improvements to the incomplete BluetoothHost demo - add Disconnection ↵Dean Camera2010-04-0112-37/+1
| | | | | | Event processing. Remove unused macro in the host mode demos for the maximum Configuration Descriptor size.
* Add file-level brief documentation.Dean Camera2010-03-291-5/+5
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* All Class Driver Host mode demos now correctly set the board LEDs to READY ↵Dean Camera2010-03-251-1/+0
| | | | | | once the enumeration process has completed. Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
* Fixed PDI programming mode in the AVRISP programmer project not exiting ↵Dean Camera2010-03-161-3/+3
| | | | | | programming mode correctly (clear target Reset key twice, set /RESET pin to pullup). Add newlines to the MIDI event printf() statements in the MIDI host demos.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-0415-16/+16
| | | | | | will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects.
* Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.Dean Camera2010-02-0312-12/+24
|
* Removed the stream example code from the Low Level VirtualSerial demos, as ↵Dean Camera2010-01-281-46/+0
| | | | they were buggy and only served to add clutter.
* Fix up project documentation files' overview tables, so that multiple items ↵Dean Camera2010-01-289-23/+34
| | | | occupy multiple lines in the same cell, rather than multiple cells.
* Add Webserver project Doxygen configuration file and overview document.Dean Camera2010-01-2512-12/+12
| | | | Fix Doxygen configuration files' input file exclusion filters.
* Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints ↵Dean Camera2010-01-253-23/+6
| | | | should use two seperate pipes, not one half-duplex pipe.
* Update Doxygen configuration files to the latest Doxygen version.Dean Camera2010-01-0612-7572/+8508
|
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-052-2/+2
| | | | events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
* Update copyright year to 2010.Dean Camera2009-12-3066-131/+131
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2865-457/+457
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-132-15/+15
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-0921-28/+28
| | | | | | | | (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.).
* Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ↵Dean Camera2009-12-081-1/+1
| | | | | | ClassDriver demo, so that slow devices don't time out the data pipe. Increase pipe timeout in both MassStorageHost demos to 5 seconds to account for the really slow devices. Fix TeensyHID bootloader not properly shutting down the USB interface to trigger a disconnection on the host before resetting the AVR.