cancel
Showing results for 
Search instead for 
Did you mean: 

File folder not being included in build

DavePfz
Associate III

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 3
Karl Yamashita
Principal

link to demo project?

I was told that if a devices starts to smoke, put the smoke back in. I guess I never got all the smoke because the device never worked afterwards.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.
DavePfz
Associate III

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

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".