tools: usb: aio example applications
authorRobert Baldyga <r.baldyga@samsung.com>
Tue, 11 Feb 2014 10:43:03 +0000 (11:43 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:08 +0000 (07:27 +0200)
commit1e2edef85cd791b1cfc96c168564b9bb00c99dc9
tree0eae89919dd6576f68e53db82843a4919913d3be
parent453675fdf701f2aff4e573ee26b68cbb5e9726d1
tools: usb: aio example applications

This patch adds two example applications showing usage of Asynchronous I/O API
of FunctionFS. First one (aio_simple) is simple example of bidirectional data
transfer. Second one (aio_multibuff) shows multi-buffer data transfer, which
may to be used in high performance applications.

Both examples contains userspace applications for device and for host.
It needs libaio library on the device, and libusb library on host.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c [new file with mode: 0644]
tools/usb/ffs-aio-example/multibuff/host_app/Makefile [new file with mode: 0644]
tools/usb/ffs-aio-example/multibuff/host_app/test.c [new file with mode: 0644]
tools/usb/ffs-aio-example/simple/device_app/aio_simple.c [new file with mode: 0644]
tools/usb/ffs-aio-example/simple/host_app/Makefile [new file with mode: 0644]
tools/usb/ffs-aio-example/simple/host_app/test.c [new file with mode: 0644]