Skip to main content
DavePfz
Associate III
June 14, 2025
Question

File folder not being included in build

  • June 14, 2025
  • 3 replies
  • 506 views

I have been able to load the demo source code for the STM32F469I_Discovery from GitHub and get it to run as expected under TouchGFX. However, when I try to build it in STM32CubeIDE, the folder for the BSP is not included and the corresponding obj files not generated.

The attached file shows the top structure of the project. The Drivers\STM32F4xx_HAL_driver is being compiled, but none of the Drivers\BSP files are. The corresponding .h files are being found.

What am I missing?

Thanks, Dave

AndrewNeil_0-1750080456536.jpeg

 

3 replies

Karl Yamashita
Principal
June 14, 2025

link to demo project?

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
DavePfz
DavePfzAuthor
Associate III
June 14, 2025

The original code can be found at https://github.com/RTwTools/STM32F469I-Discovery but be warned that there were many edits to get the proper include paths. 

I am left with the situation that a few modules as described above don't get compiled at all.

TDK
Super User
June 15, 2025

Source files (*.c, *.cpp) need to be listed in a directory or subdirectory of one listed here:

TDK_0-1749953690427.png

If it's a C++ project, if not done already, it needs to be converted to a C++ project by right clicking and selecting the option. This will enable the g++ compiler.

"If you feel a post has answered your question, please click ""Accept as Solution""."