From d294d870384602a33ba3a64613709ff0eb6e7870 Mon Sep 17 00:00:00 2001 From: Johann Fischer Date: Mon, 15 Oct 2018 22:29:59 +0200 Subject: [PATCH] samples: fxos8700: add config for accelerometer devices Add configuration for accelerometer devices like MMA8451, MMA8652 and MMA8653. Signed-off-by: Johann Fischer --- samples/sensor/fxos8700/prj_accel.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 samples/sensor/fxos8700/prj_accel.conf diff --git a/samples/sensor/fxos8700/prj_accel.conf b/samples/sensor/fxos8700/prj_accel.conf new file mode 100644 index 0000000000..d64c1732dc --- /dev/null +++ b/samples/sensor/fxos8700/prj_accel.conf @@ -0,0 +1,8 @@ +CONFIG_STDOUT_CONSOLE=y +CONFIG_LOG=y +CONFIG_I2C=y +CONFIG_SENSOR=y +CONFIG_FXOS8700=y +CONFIG_SENSOR_LOG_LEVEL_DBG=y +CONFIG_FXOS8700_MODE_ACCEL=y +CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y