Associate
March 2, 2026
Solved
Can't include custom source file
- March 2, 2026
- 3 replies
- 189 views
Hi,
I wrote my own source file. It is located in the Core/Src directory. I have also entered it accordingly in cmakelists.txt.
my cmakelists.txt
Now I get an error saying that the include files from the Drivers directory are missing.

If I remove my entry, I no longer get the error. But then I can't use my customs. Is there a sample cmakelists.txt that includes customs?
Thank you,
Funnypinky
