Skip to main content
Associate
April 2, 2025
Solved

Can not build / Run STM32Cube_FW_F4_V1.28.0 on STM32F411 Discovery.

  • April 2, 2025
  • 2 replies
  • 1618 views

I just download STM32Cube_FW_F4_V1.28.0 and using Cube IDE 1.18 run first example follow Documentation in STM32CubeF4GettingStarted.pdf  attach. 

mystar411_0-1743566977094.png

But it can not Build / Run Correctly.

mystar411_1-1743567338471.pngmystar411_2-1743567349063.png

Please help me this problem. Thanks so much!

This topic has been closed for replies.
Best answer by KDJEM.1

Hello @mystar411;

 

Are you downloading STM32Cube packages from GitHub? if yes, please look at this FAQ to avoid the compilation errors.

Alternatively, you can download our packages directly from ST.com by using the link below:
https://www.st.com/en/embedded-software/stm32cube-mcu-mpu-packages/products.html.

I'm not able to reproduce your issue. For my side the GPIO_EXTI is built without error.

KDJEM1_0-1744205182861.png

May this post can help you to solve the "fatal error: core_cm4.h: No such file or directory" error.

 

I hope this help you.

Thank you.

Kaouthar

2 replies

KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
April 9, 2025

Hello @mystar411;

 

Are you downloading STM32Cube packages from GitHub? if yes, please look at this FAQ to avoid the compilation errors.

Alternatively, you can download our packages directly from ST.com by using the link below:
https://www.st.com/en/embedded-software/stm32cube-mcu-mpu-packages/products.html.

I'm not able to reproduce your issue. For my side the GPIO_EXTI is built without error.

KDJEM1_0-1744205182861.png

May this post can help you to solve the "fatal error: core_cm4.h: No such file or directory" error.

 

I hope this help you.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
mystar411Author
Associate
April 10, 2025

I run it in Tab Example Selector on CubeIDE with Discovery Board Completely. Its OK. Thanks for your help!