2025-06-14 8:03 AM - last edited on 2025-06-16 6:27 AM by Andrew Neil
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
2025-06-14 2:33 PM
link to demo project?
2025-06-14 3:42 PM
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.
2025-06-14 7:16 PM
Source files (*.c, *.cpp) need to be listed in a directory or subdirectory of one listed here:
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.