LVGL porting to stm32f469-discovery new board

hello is sone one had done porting to stm32f469 new discovery board? please share

The latest Board Support package from ST (STM32Cube_FW_F4) already does the detection automatically in order to initialize the display correctly (booth display driver and touch driver), and the same firmware works in multiple board revision.

The rest of the LVGL code to push data to the display remains the same…

I had tryed but no sucess

Ok, i will try to make a project for this on GitHub.

Probably only by the end of week…

hello arturv please check if possible with LVGL 6.1.2

Sorry, forgot to bring the boards home during the weekend.

In attachment the files used to “control” the Display, the GPIO initialization is the one that CubeIDE does by default for this board, tried to strip the “company” code, but should be workable, since the the main point is the function LCD_InitHW. and the clock config is PLL max speed… The QSPI / SDRAM uses the BSP functions to init…

  LL_RCC_PLL_ConfigDomain_SYS(LL_RCC_PLLSOURCE_HSE, LL_RCC_PLLM_DIV_8, 360, LL_RCC_PLLP_DIV_2);
  LL_RCC_PLL_Enable();

Can’t pass a complete project at the moment, by the lacking of boards and too “much company code” in other files…

Using the ST BSP Latest files should work, the stm32469i_discovery_lcd.c by calling BSP_LCD_Init() already does the driver IC detection and initialization. Done in function uint8_t BSP_LCD_InitEx(LCD_OrientationTypeDef orientation) at line 233 where it gets the driver type dynamically and after that uses that variable…

As long you have the latest CubeF4 package installed it’s already there. My code has it’s own initialization “routine” since when the driver was changed the BSP did not make the automatic switch (was dependent on some defines inside the BSP at compile time like USE_STM32469I_DISCO_REVC for the new driver.

Regarding LVGL 6.1.2, sorry but no.

And we can do the opposite, how about you share what you have done up to now, i have already given you hints/clues on how to solve this in other posts, check the BSP for the board, the latest files have that solved and integrate in your project.
hal_stm_lvgl.zip (7.6 KB)

here is the full zip code, working well but in landscape. I tryed lot of changes to make it portrail but not sucessfull, please look what need to change