Added support for ILI9225

Added support for ILI9225 display controller. Currently no support for hardware rotation is implemented and only the default portrait resolution 176x220 is supported.
This commit is contained in:
Keagan Ladds 2022-01-17 20:17:19 +01:00
parent 26fe6e7703
commit 07ad6bf43e
8 changed files with 324 additions and 0 deletions

View file

@ -45,6 +45,8 @@ void *disp_driver_init(void)
ili9163c_init();
#elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_PCD8544
pcd8544_init();
#elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9225
ili9225_init();
#endif
// We still use menuconfig for these settings
@ -111,6 +113,8 @@ void disp_driver_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t *
ili9163c_flush(drv, area, color_map);
#elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_PCD8544
pcd8544_flush(drv, area, color_map);
#elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9225
ili9225_flush(drv, area, color_map);
#endif
}