aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/OTG/TestApp
Commit message (Collapse)AuthorAgeFilesLines
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-052-99/+72
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Fix build error in TestApp demo caused by previous commit.Dean Camera2009-08-021-1/+1
|
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-021-1/+1
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-281-39/+21
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* Change Doxygen configuration files to not produce 4096 directories for the ↵Dean Camera2009-07-201-1/+1
| | | | | | documentation files -- the LUFA components do not generate enough documentation files to justify the large performance hit of creating so many directories. Fix missing Doxygen documentation in the Class Driver Mass Storage Device demo.
* Added error codes to most StillImageHost demo commands.Dean Camera2009-07-201-2/+4
|
* Don't send terminal RESET codes via serial - just set the foreground colour ↵Dean Camera2009-07-191-1/+1
| | | | and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
* Use sane ANSI terminal escape codes for the Host mode demos, so that they do ↵Dean Camera2009-07-192-27/+26
| | | | not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
* Added new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-161-0/+1
| | | | | | USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility). Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
* Added incomplete PrinterHost demo application.Dean Camera2009-07-111-1/+1
| | | | | | Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder. Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
* Corrected the ADC driver for the ATMEGA16U4 and ATMEGA32U4 (thanks to ↵Dean Camera2009-06-221-1/+1
| | | | Opendous Inc.).
* Fix makefiles -- the auto-addition of -D switches to each LUFA compile time ↵Dean Camera2009-06-191-2/+2
| | | | option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.
* Move LUFA compile time options to a new section in the application makefiles ↵Dean Camera2009-06-191-2/+5
| | | | for clarity.
* Remove hardcoded DOT path from all Doxygen config files.Dean Camera2009-06-161-1/+1
| | | | Better documentation for the MissleLauncher project - add credit to PyLauncher project.
* More Doxygen fixes - ensure no undocumented function parameters.Dean Camera2009-06-151-1/+1
|
* Remove outdated AVRStudio project files from demos, projects, bootloaders. ↵Dean Camera2009-06-051-1/+0
| | | | Fix makefiles of ClassDriver device demos.
* Fixed EVENT_USB_CDC_ControLineStateChanged() event not taking the CDC ↵Dean Camera2009-06-046-109/+61
| | | | | | | | interface structure as a parameter. Converted TestApp demo over to the new demo structure. More class driver documentation improvements.
* Fix Doxygen errors in demos.Dean Camera2009-06-041-1/+1
|
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-012-4/+0
| | | | | | | | | | MIDI demo - not documented yet. Removed scheduler and memory allocation libraries. Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated). Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
* Deleted StdDescriptors.c, renamed USB_GetDescriptor() to ↵Dean Camera2009-05-225-19/+5
| | | | CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs.
* Rewritten event system to remove all macros, to make user code clearer.Dean Camera2009-05-183-71/+38
| | | | | | | | Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley). Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code. Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
* Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only ↵Dean Camera2009-05-171-5/+5
| | | | served to obfuscate code.
* Fixed Mouse and Keyboard device demos not acting in accordance with the HID ↵Dean Camera2009-05-121-0/+2
| | | | | | specification for idle periods (thanks to Brian Dickman). Removed support for endpoint/pipe non-control interrupts; these did not act in the way users expected, and had many subtle issues.
* Changed HWB board driver to Buttons driver, to allow for the support of ↵Dean Camera2009-05-062-9/+9
| | | | future boards with more than one mounted GPIO button.
* Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent ↵Dean Camera2009-05-043-3/+3
| | | | | | problems with faulty devices which do not respect the given wLength value when reading in the device descriptor. Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
* More minor renaming of library enums and events to try to create a ↵Dean Camera2009-05-032-3/+3
| | | | consistent API.
* USB_HostRequest renamed to USB_ControlRequest, entire control request header ↵Dean Camera2009-04-221-2/+3
| | | | | | | | is now read into USB_ControlRequest in Device mode rather than having the library pass only partially read header data to the application. The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure. The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent.
* Changed over all deprecated GCC structure tag initializers to the ↵Dean Camera2009-04-202-46/+46
| | | | standardized C99 format (thanks to Mike Alexander).
* Spell checked non-source documentation pages.Dean Camera2009-04-191-2/+2
|
* More documentation changes for better module-level documentation rather than ↵Dean Camera2009-04-171-6/+8
| | | | file-level documentation.
* Renamed Serial_Stream driver to SerialStream to remain consistent with the ↵Dean Camera2009-04-173-3/+3
| | | | rest of the library's naming scheme for files.
* Partial commit: change references to Drivers/AT90USBXXX to Drivers/Peripheral.Dean Camera2009-04-164-6/+6
|
* Fixed GenericHIDHost demo report write routine incorrect for control type ↵Dean Camera2009-04-162-7/+0
| | | | | | | | | | | | | | | | | | requests (thanks to Andrei Krainev). Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length). Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API. Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API. Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel). Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity. Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity. Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway.
* All comments in the library, bootloaders, demos and projects have now been ↵Dean Camera2009-04-012-4/+4
| | | | spell-checked and spelling mistakes/typos corrected.
* Seperated out OTG, Device and Host mode demos into seperate folders for ↵Dean Camera2009-03-2010-0/+3135
clarity. Adjusted makefiles so that the path to the LUFA library can be set in one place.