2019-08-24 11:31 AM
The compiler cannot find the function MX_CRC_Init()
The reason is that STM32CubeMX 5.3.0 doesn't generate CRC.c for STM32G474 when the CRC module is enabled.
The CRC.h header is correct generated.
This happens only in the STM32CubeIDE with the integrated STM32CubeMX 5.3.0
2019-09-13 12:51 AM
Hello @OGhis ,
could you please share your .ioc ?
Thanks,
Khouloud.
2019-09-13 01:37 AM
I tried to reproduce your issue , with G471CETx and crc enabled, toolchain : CubeIDE and I have no problem in the project generated .
Well, the MX_CRC_Init() was generated under main.c, but if you want to obtain the crc.c in the project generated by CubeMX you need to Select " Generate peripheral initialization as a pain of '.c/.h' files per peripheral" under Project Manager- Code Generator.
then ,If your problem still exist, please send me your ioc file.
Best Regards,
Khouloud.