add lcd driver for xidatong

This commit is contained in:
Wang_Weigen
2022-05-06 17:53:48 +08:00
parent afc4b58b74
commit 5338598158
14 changed files with 1728 additions and 10 deletions
+9
View File
@@ -63,6 +63,10 @@ extern int ExtSramInit(void);
extern int ETH_BSP_Config();
#endif
#ifdef BSP_USING_LCD
extern int Imxrt1052HwLcdInit(void);
#endif
void BOARD_SD_Pin_Config(uint32_t speed, uint32_t strength)
{
IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B0_00_USDHC1_CMD,
@@ -273,6 +277,8 @@ void SysTick_Handler(int irqn, void *arg)
}
DECLARE_HW_IRQ(SYSTICK_IRQN, SysTick_Handler, NONE);
/**
* This function will initial imxrt1050 board.
*/
@@ -331,5 +337,8 @@ void InitBoardHardware()
Imxrt1052HwSdioInit();
#endif
#ifdef BSP_USING_LCD
Imxrt1052HwLcdInit();
#endif
}