加思比科摄像头模块

[1]在projectConfig.mk加上
CUSTOM_HAL_IMGSENSOR = hi253_yuv hi704_yuv sp0a19_yuv
CUSTOM_KERNEL_IMGSENSOR = hi253_yuv hi704_yuv sp0a19_yuv
[2]在mediatek\custom\common\kernel\imgsensor加上sp0a19_yuv文件夹
在mediatek\custom\common\hal\imgsensor加上sp0a19_yuv文件夹
[3]在Sensorlist.cpp (mediatek\custom\common\hal\imgsensor\src)加上
#if defined(SP0A19_YUV)
    RAW_INFO(SP0A19_SENSOR_ID, SENSOR_DRVNAME_SP0A19_YUV, NULL), 
#endif
[4]在Kd_imgsensor.h (mediatek\custom\common\kernel\imgsensor\inc):
加上#define SP0A19_SENSOR_ID            0x00a6

[5]Kd_Camera_hw.c在相关代码。

 

./mk project r kernel

 ./mk project bootimage

 

 

你可能感兴趣的:(加思比科摄像头模块)