Including HAL and LL drivers as a reference
Hello,
I need to create two projects, under a common root, that shares user files and HAL drivers.
The project tree look like this:
\Inc
\Src
\Startup
\Drivers
\Project1
\Project2
So I started to create an empty STM32 project.
Then I have added the necessary preprocessor symbols and include path to include HAL drivers in my project.


As I want to include the HAL drivers files as a reference, I linked the Driver folder to my project using the feature "Link to files and recreate folder structures with virtual folders".
However, when building I have undefined reference errors to HAL functions.
It is not an include path problems, but it seems like the HAL source files aren't added to the project.
Where is my mistake?
Thank you,
Carlo
