aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/RNDISEthernet
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-2120-38/+91
| | | | | | 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-70/+58
| | | | 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-182-7/+2
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-151-0/+1
| | | | 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.
* 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
|
* 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.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-151-1/+1
|
* Minor documentation cleanups.Dean Camera2010-06-039-83/+82
|
* 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-231-1/+1
|
* Renamed CDC device class demos' ManagementEndpoint descriptor to ↵Dean Camera2010-05-202-2/+2
| | | | NotificationEndpoint to more accurately indicate its purpose.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0830-6684/+6684
| | | | 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-071-1/+1
| | | | the make tool to be overridden.
* Remove incorrect Abstract Call Management class specific descriptor from the ↵Dean Camera2010-05-062-10/+1
| | | | CDC demos, bootloaders and projects.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-281-2/+2
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-283-4/+4
| | | | be done in the user application once all init code has run.
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-222-10/+10
| | | | | | 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.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-041-1/+1
| | | | | | 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-031-1/+2
|
* Add Webserver project Doxygen configuration file and overview document.Dean Camera2010-01-251-1/+1
| | | | Fix Doxygen configuration files' input file exclusion filters.
* Fix up the incomplete Webserver project so that it integrates with the uIP ↵Dean Camera2010-01-211-0/+3
| | | | | | stack correctly. Add simple HTTP webserver as a placeholder until FatFS can be integrated. Begin to look into the RNDIS Host Class Driver, which seems to crash on test hardware after many packets have been received.
* Update Doxygen configuration files to the latest Doxygen version.Dean Camera2010-01-061-631/+709
|
* Update copyright year to 2010.Dean Camera2009-12-3026-52/+52
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2826-185/+185
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-091-1/+1
| | | | | | | | (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.).
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-261-2/+15
| | | | | | | | Class Driver demo. Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble. Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-094-4/+4
|
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-161-1/+1
|
* Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean Camera2009-10-121-5/+3
| | | | Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.
* Application documentation/comment cleanup.Dean Camera2009-10-084-4/+1
|
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-091-2/+1
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-061-30/+47
| | | | | | | | compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-301-1/+1
|
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-131-3/+3
|
* Cleanups to RNDIS device demos. Fix issue in RNDIS demos where the memory ↵Dean Camera2009-08-076-24/+28
| | | | | | | | would become corrupted due to an incorrect bounds check when iterating over the port state table, causing random resets. Revert change to Template_Endpoint_Control_R.c, which broke control stream reads. Remove uneeded ADC.h include in the class driver AudioOutput demo.
* Make Control Endpoint stream transfers more reliable by adding in early ↵Dean Camera2009-08-052-12/+17
| | | | | | | | aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes. Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed. Fix incorrect model compatibility information in the Host LowLevel demo overview text files.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-052-9/+9
| | | | | | | | 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.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-022-2/+2
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Added 404 errors to the RNDIS Webserver example.Dean Camera2009-07-291-19/+54
|
* 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.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-1/+1
| | | | | | | | | | | | USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
* Add explicit guards to all device mode tasks to ensure the device is ↵Dean Camera2009-07-211-0/+4
| | | | connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
* 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 new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-161-1/+2
| | | | | | 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 new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream ↵Dean Camera2009-07-131-1/+1
| | | | functions. Changed Endpoint.c and Pipe.c to use a templated system to build the seperate functions, rather than duplicating each function's code many times.
* Added compatibility list to the documentation of each individual demo.Dean Camera2009-07-132-26/+35
| | | | | | Documented FAST_STREAM_TRANSFERS compile time option. Reduced the TCP window size for the RNDIS demos (Class and LowLevel) to make them compatible with the AT90USB64x.