cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32CubeF4 1.12.0 DCMI macro bug

l-proger
Associate II
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
3 REPLIES 3
Walid FTITI_O
Senior II
Posted on May 24, 2016 at 16:21

Hi serb.sergey,

Thanks for the feedback. I report it internally.

-Hannibal-

l-proger
Associate II
Posted on July 25, 2016 at 15:46

Bug is not fixed in 1.13.0 CubeF4 !  OMG.

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen