2020-04-25 09:56 AM
Hi guys,
i just wanted to mention that there is a ****** in the header files.
I am using an STM32G474:
Just an example - stm32g474xx.h defines
#define COMP3 ((COMP_TypeDef *) COMP3_BASE)
And core_cm4.h uses
__IOM uint32_t COMP3; /*!< Offset: 0x050 (R/W) Comparator Register 3 */
as part of DWT_Type.
Same applies to COMP2 and so on.
Good luck fixing this. Basically you have to rename the comparators.
2020-05-04 05:33 AM
Hi @Albi G. ,
Thanks for raising this issue. It is reported internally.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.