|
发表于 2022-5-26 17:21:51
1232 浏览 0 回复
T618 Android 11 Sensorhub 调试
sensor型号:
Gsensor/GY sensor:ICM42607
Msensor:AKM09918C
ALS/PS :AP3426
代码客制化修改路径:
- --------- sprd/device/sprd/sharkl5Pro/ums512_1h10/module/sensor/md.mk ---------
- old mode 100644
- new mode 100755
- index 87cc6ce..95651a7
- @@ -1,10 +1,10 @@
- PRODUCT_COPY_FILES += \
- vendor/sprd/modules/sensors/libsensorhub/ConfigSensor/calibration/dynamic_call/akm09918_and_ltr578_img_l5p.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/EXEC_CALIBRATE_MAG_IMAGE
-
- # Config Sensor driver
- -SENSOR_HUB_ACCELEROMETER := lsm6dsl_ums512
- -SENSOR_HUB_GYROSCOPE := lsm6dsl
- -SENSOR_HUB_LIGHT := ltr578als ltr553als
- +SENSOR_HUB_ACCELEROMETER := icm42607
- +SENSOR_HUB_GYROSCOPE := icm42607
- +SENSOR_HUB_LIGHT := ap3426
- SENSOR_HUB_MAGNETIC := akm09918_ums512
- -SENSOR_HUB_PROXIMITY := ltr578als ltr553als
- +SENSOR_HUB_PROXIMITY := ap3426
- SENSOR_HUB_PRESSURE := null
复制代码
调试主要步骤:
调试方法:
参考资料:
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|