AnsweredAssumed Answered

CubeMX 4.22.0 bug for DMA2D config

Question asked by Vitaliy Chernobay on Jul 31, 2017
Latest reply on Aug 8, 2017 by Alex Fedoseev

It is DMA2D config, generated CubeMX for Keil.

hdma2d.Instance = DMA2D;
hdma2d.Init.Mode = DMA2D_M2M;
hdma2d.Init.ColorMode = DMA2D_OUTPUT_ARGB8888;
hdma2d.Init.OutputOffset = 0;
hdma2d.LayerCfg[1].InputOffset = 0;
hdma2d.LayerCfg[1].InputColorMode = DMA2D_INPUT_ARGB8888;
hdma2d.LayerCfg[1].AlphaMode = DMA2D_REPLACE_ALPHA;
hdma2d.LayerCfg[1].InputAlpha = 0;
// hdma2d.LayerCfg[1].AlphaInverted = DMA2D_REGULAR_ALPHA;
// hdma2d.LayerCfg[1].RedBlueSwap = DMA2D_RB_REGULAR;

It is config for STM32F476IGTx. I must comment last lines for compillung.

It is line not for my processor  (STM32F476IGTx) !!!

This feature is only available on devices :
STM32F756xx, STM32F767xx, STM32F769xx, STM32F777xx and STM32F779xx.

Attachments

Outcomes