MotionApps 5.1.2 release

* Fix race condition around enable/disable with GlobalHalMutex.
 One instance could turn on "buffer/enable" causing another instance to
  fail setting up sensors, which ends with
  "HAL:ERR full data packet was not read"
 The MPLSensor::mHALMutex is not sufficient in this case.
* Fix incorrect fprintf sysfs updates.
 Using fprintf() delays writes, causing errors to go unnoticed,
 and errors from fclose() which then flushes and sees the error
 were being ignored.
* Switch to YAS53x vars.
* Add support for custom accel calibration loader function.
* Tweak calibration storage logic.
* Support for Low Power Quaternion (enabled by default)
* Support for DMP Screen Orientation (disabled by default)
* Clarify that readEvents() ignores arguments and return code.
* Tweak failed sysfs init handling.
* Simplifications/cleanups
  . messages around write_sysfs_int() invocations.
  . move common timestamp code out of Base into Support.
  . sensor enabling code.
  . remove some dead code.

* software/{build,core}...
  . better support for IceCreamSandwich and JellyBean
  . mllite, dmp register update
* software/simple_apps
  . added gesture test

* Rebuild libmllite.so for RC9
* new libmplmpu.so for RC9 (and later)

Change-Id: Ie88a16c334fc7d0f0b3d2007e3005b5fd3e2b732
Signed-off-by: Mars Lee <mlee@invensense.com>
Signed-off-by: JP Abgrall <jpa@google.com>
43 files changed
tree: 1f56dfe1ef9326aa5511ccce9a30e669a004d92c
  1. libsensors/
  2. libsensors_iio/
  3. mlsdk/
  4. Android.mk