Skip to main content
AMoro.16
Associate
Nov 4, 2019 9:31 PM UTC
Question

STM32F411E-DISCO CubeMX's repository issue

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.

This topic has been closed for replies.

1 reply

Amel NASRI
ST Technical Moderator
Feb 25, 2020 8:57 AM UTC

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 "Best Answer" on the reply which solved your issue or answered your question.