-
Notifications
You must be signed in to change notification settings - Fork 73
Integrating DASH
oskara edited this page Aug 13, 2012
·
1 revision
Here follows a short documentation on how to integrate the DASH in you Android tree.
The following chapter will explain how to integrate the dynamic Android sensor HAL into your Android tree.
First, enter your Android tree and clone the DASH git:
$ cd my_android_tree
$ git clone https://github.com/sonyericssondev/DASH.git
Next, you need to make sure your configuration is in place. A good place to put the configuration is in the AndroidBoard.mk of your device. As an example, let's enable the BMA150 digital accelerometer:
$ cd device/acme/mydevice
$ echo "SOMC_CFG_SENSORS_ACCEL_BMA150_INPUT := yes" > sensors.mk
Now, just open your AndroidBoard.mk and include the sensors.mk file:
$ echo AndroidBoard.mk >> include device/acme/mydevice/sensors.mk
All done! Now you can build DASH and push it to your hardware:
$ cd $ANDROID_BUILD_TOP/DASH
$ mm
$ adb root
$ adb remount
$ adb push $OUT/system/lib/hw/sensors.default.so /system/lib/hw