This commit is contained in:
刘可亮
2025-07-22 11:15:46 +08:00
parent d164b333ed
commit 11c97ef399
2870 changed files with 951307 additions and 26675 deletions

View File

@@ -16,11 +16,12 @@ if GetDepend('DRIVER_HAL_EN'):
# CMU driver
if GetDepend('AIC_CMU_DRV'):
ver = GetConfigValue('AIC_CMU_DRV_VER')
ver = ver.replace('"','')
if GetDepend('DRIVER_HAL_EN'):
src += Glob('hal/cmu/*.c', exclude=['hal/cmu/*def_v*.c'])
src += Glob('hal/cmu/*def_v%s.c' % ver)
src += Glob('hal/cmu/*.c')
if GetDepend('AIC_CMU_FRAMEWORK_V2'):
src += Glob('hal/cmu/v2/*.c')
else:
src += Glob('hal/cmu/v1/*.c')
# GPIO driver
if GetDepend('AIC_GPIO_DRV'):
@@ -202,6 +203,7 @@ if GetDepend('AIC_PM_DRV'):
# Display driver
if GetDepend('AIC_DISPLAY_DRV'):
src += Glob('drv/display/drv_fb.c')
src += Glob('drv/display/drv_fb_helper.c')
# RGB interface driver
if GetDepend('AIC_DISP_RGB'):
@@ -227,6 +229,7 @@ if GetDepend('AIC_DISP_DE_DRV'):
src += Glob('drv/display/drv_de_vi_layer.c')
src += Glob('drv/display/drv_de_ui_layer.c')
src += Glob('hal/display/aic_hal_de.c')
CPPPATH.append(cwd + '/drv/display')
# Panel driver
if GetDepend('AIC_DISPLAY_DRV'):
@@ -266,6 +269,15 @@ if GetDepend('AIC_PANEL_DSI_JD9365'):
if GetDepend('AIC_PANEL_DSI_AXS15231B'):
src += Glob('drv/display/panel/panel_dsi_axs15231b.c')
if GetDepend('AIC_PANEL_DSI_NV3051'):
src += Glob('drv/display/panel/panel_dsi_nv3051.c')
if GetDepend('AIC_PANEL_DSI_FL7707'):
src += Glob('drv/display/panel/panel_dsi_fl7707.c')
if GetDepend('AIC_PANEL_DSI_FT8201'):
src += Glob('drv/display/panel/panel_dsi_ft8201.c')
#
# MIPI-DBI Panel Driver
#
@@ -291,6 +303,9 @@ if GetDepend('AIC_PANEL_DBI_ILI9327'):
if GetDepend('AIC_PANEL_DBI_ST77903'):
src += Glob('drv/display/panel/panel_dbi_st77903.c')
if GetDepend('AIC_PANEL_DBI_CO5300'):
src += Glob('drv/display/panel/panel_dbi_co5300.c')
#
# RGB Panel Driver SPI Init
#