AnsweredAssumed Answered

CubeMX bug: stm32f4xx_hal_crc.c is not included in IAR project

Question asked by childress.steve on Apr 29, 2015
Latest reply on May 5, 2015 by chahrayar.chahrazed
After adding the CRC peripheral for an STM32F415 project...

CubeMX bug: stm32f4xx_hal_crc.c is not included in IAR project.
The main.c code does have the code to create a handle and all the init code is brought in.  But stm32f4xx_hal_crc.c is not in the project's Driver folders, either CMSIS or the HAL drivers folder.

The compiler thus errors, with  HAL_CRC_Init not found.

If I  manually add stm32f4xx_hal_crc.c to the project, no more errors.

So CubeMX forgot to include the .c but did everything else OK.

Outcomes