2019-11-04 1:31 PM
Hello, I've find one hidden fail in template project for STM32F411E-DISCO (STM32Cube\Repository\STM32Cube_FW_F4_V1.24.1\Projects\STM32F411E-Discovery\Templates). In header file inc/stm32f4xx_hal_conf.h there is a wrong define of hse frequency:
#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint16_t)8000000U) /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */8000000U it's not uin16_t, so it should be:
#if !defined (HSE_VALUE)
#define HSE_VALUE (8000000U) /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */I meet this, when I manually create new project from System Workbench for STM32 (New->C Project->Executable->Ac6 STM32 MCU Project...)...
STM32Cube_FW_F4_V1.24.1
CubeMX 5.4.0.
Hope this will be fixed and will help somebody.
2020-02-25 12:57 AM
Hello,
Please note that a fix was deployed in STM32CubeF4 V1.25 (available on the web).
-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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.