Skip to main content
JMüll.2
Associate
June 30, 2021
Question

STM32CubeIDE include src from other Project in the workspace

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.

This topic has been closed for replies.

1 reply

JMüll.2
JMüll.2Author
Associate
June 30, 2021

Okay, found a way to include the sourcfile

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