Hi li
suggest to look at
Sensor Drivers for Android, Linux and OS|Freescale
https://community.freescale.com/docs/DOC-100869
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
And on My deivces there are mag3110 ,mma845x , how to enable gyro in HAL layer ?
But in it ,there is message about gyrocope in android HAL layer ! Do you have the files like Gyrocope.cpp ?
and how to modify the code sensors.cpp SensorBase.cpp
mma845x , mag3110 and gyroscope
I have ported the Gyroscope.cpp,But the data is not ok .When I enable gyroscope , mag app is not ok !
But When I disable gyroscope, mag app is ok !
I want to know the relationship between the three ?
I have the driver ,But I have not the HAL layer code ..please help me !