各位工程师好!
由于工程要求,我们需要替换appro dm368解决方案中的sensor芯片类型,所以想请教一下各位如何修改软件部分来适应新的sensor芯片?
我们看到在Rules.make中有sensor芯片的支持列表:
——————————————————————————————–
# Sensor Selected for the build, based on SYSTEM_PLATFORM
# IPNC and EVM platform have different set of Sensor supported
ifeq ($(SYSTEM_PLATFORM), IPNC)
IMGS_ID := IMGS_MICRON_MT9P031_5MP
#IMGS_ID := IMGS_MICRON_MT9D131_2MP
#IMGS_ID := IMGS_OV10630_1MP
#IMGS_ID := IMGS_MICRON_MT9M031_1.2MP
#IMGS_ID := IMGS_MICRON_MT9M034_1.2MP
#IMGS_ID := IMGS_OV2715_2MP
#IMGS_ID := IMGS_SONY_IMX035_1_3MP
#IMGS_ID := IMGS_SONY_IMX036_3MP
#IMGS_ID := IMGS_SONY_IMX104_1_3MP
#IMGS_ID := IMGS_SONY_IMX136_2_3MP
#IMGS_ID := IMGS_SONY_IMX122_2_3MP
#IMGS_ID := IMGS_AR0130_1.2MP
#IMGS_ID := IMGS_AR0330_3.1MP
#IMGS_ID := IMGS_AR0331_3.1MP
#IMGS_ID := IMGS_AR0331_3.1MP_WDR
#IMGS_ID := IMGS_PANASONIC_MN34041_2.1MP
endif
ifeq ($(SYSTEM_PLATFORM), EVM)
IMGS_ID := IMGS_TVP514X
#IMGS_ID := IMGS_MICRON_MT9P031_5MP
endif
——————————————————————————————–
默认值是我们之前使用的IMGS_MICRON_MT9P031_5MP,想请教一下各位,如果我要更换sensor芯片的话,除了在此处做相应的选择外,还需要做其他的修改吗?
谢谢!!!
Louis:
如果是默认已经支持的sensor,直接修改宏定义,从新编译一下就好了。