]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6063f16c9d1b35c609fabecbb7ae6169b9a60edd
tree4d7674db849724848d2b4a7731b518dd8c5e4bb6
parent3e6e1fd2c4381bb36e0f3d8fe689658bb2cc871f
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]