AnsweredAssumed Answered

STm32CubeMX code generation bug

Question asked by narsutis.dainius on Aug 31, 2016
Latest reply on Sep 1, 2016 by ForumSTM32.ForumSTM3

I started a brand new project in STM32CubeMX, picked STM32F427ZIT6 MCU, selected SW4STM32 toolchain. Code generation settings not changed, left to default "Copy only the necessary files", "Keep used code ...", "Delete Previously generated...".

When I generate the code, there is a missing #include.
The main.c has lines
if (HAL_PWREx_EnableOverDrive() != HAL_OK)

But the  HAL_PWREx_EnableOverDrive() is unidentified because the #stm32f4xx_pwr_ex.h" is not included in the stm32f4xx_hal_conf.h file.

STM32CubeMX 4.16 STM32Cube V1.0 Bug