diff options
author | Baixing Tan <baixingx.tan@intel.com> | 2015-03-25 14:27:08 +0800 |
---|---|---|
committer | Zhengyin Qian <qianzy@google.com> | 2015-07-28 12:19:26 -0700 |
commit | 91428d81475957f9fb79ecf63a6afd796cb175e7 (patch) | |
tree | 0c9a17a4e5bb5bd3f8857b18d074106fe9f8b90b /libsensors_iio/configuration.h | |
parent | 049ab1da89d389f05870f7e30d585ecfc14524dd (diff) | |
download | sensors-91428d81475957f9fb79ecf63a6afd796cb175e7.tar.gz |
Modify ST-HAL-IIO to adapt marvin product
Modify ST lsm6ds3 HAL-IIO v3.0.0 code's config to adapt marvin need
Change-Id: I2d97a25553d2a3b6e3503e32debbe065ed0a65bf
Tracked-On: https://jira01.devtools.intel.com/browse/MARVIN-175
Signed-off-by: Baixing Tan <baixingx.tan@intel.com>
Signed-off-by: Li,Fei <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com:443/346319
Diffstat (limited to 'libsensors_iio/configuration.h')
-rw-r--r-- | libsensors_iio/configuration.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libsensors_iio/configuration.h b/libsensors_iio/configuration.h new file mode 100644 index 0000000..03ee9b0 --- /dev/null +++ b/libsensors_iio/configuration.h @@ -0,0 +1,40 @@ +/* configuration.h -- Autogenerated file! Do not edit. */ + +#ifndef __ST_SENSOR_HAL_CONFIG_H +#define __ST_SENSOR_HAL_CONFIG_H + + + +#define CONFIG_ST_HAL_ANDROID_VERSION 1 + + +#define CONFIG_ST_HAL_ACCEL_ENABLED 1 +#define CONFIG_ST_HAL_MAGN_ENABLED 1 +#define CONFIG_ST_HAL_GYRO_ENABLED 1 +#define CONFIG_ST_HAL_MAGN_UNCALIB_DISABLED 1 +#define CONFIG_ST_HAL_GYRO_UNCALIB_DISABLED 1 +#define CONFIG_ST_HAL_SIGN_MOTION_ENABLED 1 +#define CONFIG_ST_HAL_STEP_DETECTOR_ENABLED 1 +#define CONFIG_ST_HAL_STEP_COUNTER_ENABLED 1 +#define CONFIG_ST_HAL_PRESSURE_ENABLED 1 +#define CONFIG_ST_HAL_ORIENTATION_DISABLED 1 +#define CONFIG_ST_HAL_GRAVITY_DISABLED 1 +#define CONFIG_ST_HAL_LINEAR_DISABLED 1 +#define CONFIG_ST_HAL_ROT_VECTOR_DISABLED 1 +#define CONFIG_ST_HAL_GAME_ROT_VECTOR_DISABLED 1 +#define CONFIG_ST_HAL_GEOMAG_ROT_VECTOR_DISABLED 1 + + +#define CONFIG_ST_HAL_MAX_SAMPLING_FREQUENCY 200 +#define CONFIG_ST_HAL_DEBUG_LEVEL 0 +#define CONFIG_ST_HAL_ACCEL_ROT_MATRIX 1,0,0,0,1,0,0,0,1 +#define CONFIG_ST_HAL_ACCEL_RANGE 17 +#define CONFIG_ST_HAL_MAGN_ROT_MATRIX 1,0,0,0,1,0,0,0,1 +#define CONFIG_ST_HAL_MAGN_RANGE 1000 +#define CONFIG_ST_HAL_GYRO_ROT_MATRIX 1,0,0,0,1,0,0,0,1 +#define CONFIG_ST_HAL_GYRO_RANGE 35 + + +#define CONFIG_ST_HAL_LSM6DS3_ENABLED 1 + +#endif /* __ST_SENSOR_HAL_CONFIG_H */ |