Solved
STM32Cube project, how does a file (source or header) containing only a path work?
For example there would be a file called "common.h" containing a single line no #include or anything:
../../../Common/Inc/common.h
And in that path there is also a common.h containing the actual C code.
The STM32Cube project structure is something like this with App1 and App2 being project folders so it is being used to link to common files.
- Common/
---- Inc
-------- common.h
- App1/
---- Core
-------- Inc
------------ common.h
- App2/
---- Core
-------- Inc
------------ common.h
It works so what I would love to know is how it works and what makes it work especially? Is it cube? If so, what in cube is it? How can I reproduce it?
Grateful for any insight!
Grateful for any insight!
Oscar
