From c729e902dff501c8c3e441d49c6d0fe1ad28eede Mon Sep 17 00:00:00 2001 From: Frederic Marec Date: Tue, 28 Aug 2018 17:01:48 +0200 Subject: Add tests for iiodevice binding Add test for accelerometer, compass and gyroscope Add script beforeAll.sh to initiate iio dummy devices Add Readme.md to describe how to use test Fix BUILD_TYPE in cmake.config Change-Id: I39edfce6a43b519c0ff6bc0a7d2f1d2477098cff Signed-off-by: Frederic Marec --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 852069c..cc30b85 100644 --- a/README.md +++ b/README.md @@ -81,3 +81,20 @@ iiodevices unsubscribe { "event": "acceleration" } M3ULCB Kingfisher is equipped with a 9 axis sensor device (LSM9DS0) and the R-Car Starter Kit can read sensor values via I2C interface and iiodevices are provided for these sensors. + +## Tests dependencies + +### Kernel modules + +To use industrial I/O dummy device we need to load kernel modules : + +* industrialio +* industrialio-configfs +* industrialio-sw-device +* industrialio-sw-trigger +* iio-trig-hrtimer +* iio_dummy + +[documentation](https://github.com/analogdevicesinc/libiio/blob/master/examples/dummy-iiostream.c) + +[recipe](https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;a=blob_plain;f=meta-agl-bsp/recipes-kernel/linux/linux-agl.inc) \ No newline at end of file -- cgit 1.2.3-korg