Start and setting DMA2D

Description

Hello, I’m new in using LVGL and new to the embedded world.
I have managed to run LVGL using DMA and using “Regular” transfer like this: Flash**->OctaSPIDMA2D/DMA/OnebyOneFMC->**LCD.

I have enabled the needed macro but is not clear to me how to continue from here.
I saw this interesting folder lvgl\src\draw\stm32_dma2d. what do I need to do with those files? and how I enable them. and what are the steps I need to make it successful?

What MCU/Processor/Board and compiler are you using?

stm32h723xx

What LVGL version are you using?

8.3V

What do you want to achieve?

Using DMA2D the correct way.

What have you tried so far?

I have set the needed macro like this:

/*Use STM32's DMA2D (aka Chrom Art) GPU*/
#define LV_USE_GPU_STM32_DMA2D 1
#if LV_USE_GPU_STM32_DMA2D
    /*Must be defined to include path of CMSIS header of target processor
    e.g. "stm32f7xx.h" or "stm32f4xx.h"*/
    #define LV_GPU_DMA2D_CMSIS_INCLUDE "stm32h723xx.h"
#endif

THANKS!

1 Like