Skip to main content
william.w.jr
Associate
Oct 11, 2022 4:05 AM UTC
Question

some variables in dfsdm.c generated by STM32CubeMX 6.6.1 duplicated.

I have update STM32CubeMX to newest 6.6.1.

when I use STM32F412RE with PDM mics, enable the DFSDM module.

STM32CubeMX generated dfsdm.c, raise compile error, duplicated variables.

And I have find this same code duplicated two times.

The older STM32CubeMX did not have this issue,

but I forgot the actual version...

code:

```

static uint32_t DFSDM1_Init = 0;

```

This topic has been closed for replies.

2 replies

KDJEM.1
ST Technical Moderator
Oct 14, 2022 3:35 PM UTC

Hi @william.w.jr​,

This issue is already reported in this post.

I mentioned @Sara BEN HADJ YAHYA​ to keep you posted with updates.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
william.w.jr
Associate
Oct 15, 2022 2:15 PM UTC

Thank.