diff options
author | Frederic Marec <frederic.marec@iot.bzh> | 2018-08-28 17:01:48 +0200 |
---|---|---|
committer | Frédéric Marec <frederic.marec@iot.bzh> | 2018-10-04 12:37:01 +0000 |
commit | c729e902dff501c8c3e441d49c6d0fe1ad28eede (patch) | |
tree | d4678a3e7115149a17ce796752e32dc403c52c52 /README.md | |
parent | 0648db82e6a5694befcf9e2fff25f4392e6814e1 (diff) |
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 <frederic.marec@iot.bzh>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 |