]> 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)
commit7fedd2c716dafd9fc4bb11002cfdaad68f5bc6d6
tree4d7674db849724848d2b4a7731b518dd8c5e4bb6
parentc37d5052039c30be1b8f0b19f9074f996b020216
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]