2021-05-25 04:32 PM
We are porting an existing vxWorks project to STM32. I am able to import the existing source files into a STM project, but I cannot get it to compile any of the files.
I have tried a variety of project types and always refresh the project after adding the files.
Please provide or point me to instructions for doing this.
BTW - I can successfully import examples, build and run them on a eval board.
Solved! Go to Solution.
2021-05-25 11:30 PM
@TDK is right.
@RHerm.3 If aiming to add your own folder instead Core/.... let's rely on project contextual menu to add source entry(ies)
Small "C" green overlay icon should appear as your new included folder decoration
2021-05-25 05:05 PM
Put them in a folder where other source files are. Typically, this is in Core/Src.
You can put them in a separate folder, but then you need to mark it as a source folder so they get compiled.
Header files can go anywhere in the include path. Typically, this is in Core/Inc.
2021-05-25 11:30 PM
@TDK is right.
@RHerm.3 If aiming to add your own folder instead Core/.... let's rely on project contextual menu to add source entry(ies)
Small "C" green overlay icon should appear as your new included folder decoration
2021-05-26 08:43 AM
Thank you TDK & Cartu38 - now I can import existing C files into the project and build them.