Skip to main content
May 24, 2016
Question

Stm32CubeF4 1.12.0 DCMI macro bug

  • May 24, 2016
  • 3 replies
  • 809 views
Posted on May 24, 2016 at 15:41

Bug in file ''stm32f4xx_hal_dcmi.h'' at line 335:

#define __HAL_DCMI_GET_FLAG(__HANDLE__, __FLAG__)\
((((__FLAG__) & (DCMI_SR_INDEX|DCMI_MIS_INDEX)) == 0x0U)? ((__HANDLE__)->Instance->RIS & (__FLAG__)) :\
(((__FLAG__) & DCMI_SR_INDEX) == 0x0U)? ((__HANDLE__)->Instance->MIS & (__FLAG__)) : ((__HANDLE__)->Instance->SR & (__FLAG__)))

There are no RIS and MIS fileds inDCMI_TypeDef structure referenced by this macro. That macro should use RIS

R

and MIS

R

fields. #!cubef4 #!bug
    This topic has been closed for replies.

    3 replies

    Walid FTITI_O
    Visitor II
    May 24, 2016
    Posted on May 24, 2016 at 16:21

    Hi serb.sergey,

    Thanks for the feedback. I report it internally.

    -Hannibal-

    July 25, 2016
    Posted on July 25, 2016 at 15:46

    Bug is not fixed in 1.13.0 CubeF4 !  OMG.

    ST Technical Moderator
    January 19, 2017
    Posted on January 19, 2017 at 19:01

    Hello

    ‌,

    Thanks for bringing this issue to our attention. 

    I'm pleased to inform you that your reported issue is already fixed in the last release of

    http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef4.html

    .

    All your comments and suggestions are welcome to improve our solutions.

    Best Regards

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks