Commit Graph

2 Commits

Author SHA1 Message Date
Philippe Coval
0a77cd35d8 fxos8700cq: Select SENSORS if used
SENSORS_FXOS8700CQ needs SENSORS for linking

Change-Id: Ie0f1ba57517f27fa7697b6c8cf7a1f6558107732
Bug: https://github.com/apache/incubator-nuttx/pull/1999
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-21 18:05:25 +08:00
Philippe Coval
6ef47323a2 examples: Add fxos8700cq sensor test
It was tested on NXP FRDM-64F:

    nsh> fxos8700cq
    { accel: [2174, 555, -752], magn: [0, 0, 0] }
    { accel: [-300, 547, 1951], magn: [55, -188, 276] }

Change-Id: If5180ce69913cf096e04db7772f3f9dd63f853bd
Bug: https://github.com/apache/incubator-nuttx/issues/1988
Forwarded: https://github.com/apache/incubator-nuttx-apps/pull/428
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-17 23:47:04 +08:00