cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE include src from other Project in the workspace

JMüll.2
Associate II

I build a project in the CubeIDE (program-project). Late i decide to make some Test for this project in another project(testing-project). Know i want when i build the testing-project, that it directly take the sourcefiles from the program-project. So in both project are used the same sources.

I include the headerfile from program-project in the testing-project with:

"${workspace_loc:/program-project/inc}"

so the include file are found.

but whene i try to build i get the error that the referenc to the function are undefined.

1 REPLY 1
JMüll.2
Associate II

Okay, found a way to include the sourcfile

Settings=>C/C++ General=>Paths and Symbols=>Source Location=>Link Folder