tools: usb: aio example applications
authorRobert Baldyga <r.baldyga@samsung.com>
Tue, 11 Feb 2014 10:43:03 +0000 (11:43 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 14 May 2014 14:23:24 +0000 (09:23 -0500)
commitb34e08d5c7062c19a3f582d23d5f649c79ff3409
tree4d7674db849724848d2b4a7731b518dd8c5e4bb6
parent60b6dbeffb8c253d1f80527b28611e5e236dec51
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>
Signed-off-by: Felipe Balbi <balbi@ti.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]