STM32LTDC: DMA2D enabling might be too late
The following snipped is located in
#if LTDC_USE_DMA2D // DMA2D supports accelerated fills #define GDISP_HARDWARE_FILLS GFXON // Accelerated bitfills are also possible but only for gOrientation0 // and if no color translation is required (for now) #if !GDISP_NEED_CONTROL && !defined(GDISP_PIXELFORMAT) #define GDISP_HARDWARE_BITFILLS GFXON #endif #endif /* GDISP_USE_DMA2D */
However, this snipped is processed before the board file gets included.
This needs some investigation/checking/testing/fixing.
We might not be able to set
LTDC_USE_DMA2D in the board file and might need to resort to setting it in the global
gfxconf.h similar to how we set
gfxconf.h if needed.
Confirmed: We need to either do this in the config file or the
We're therefore going to "expose" all STM32LTDC driver related options to
Deleting a branch is permanent. It CANNOT be undone. Continue?