Hi CrasyCat, thanks for your reply. Yesterday, after posting I found those videos you mentioned, I couldn't watch them yet.
One more question eme... When creating a new fodler, There's the option to "link" a folder to the project, what's the difference with adding a folder without the link option checked?
One more thing, that maybe is the answer to the question above. I'm used to work this way: I've got a GENERIC folder with generic files containing generic routins, for example GENERIC_SCI.c conitaning basic routins such as putting a byte into a buffer (for receiving), extracting a byte from a buffer (for transmitting). Then I also have a project folder PROYECT1. Inside it, inside Source folder I've got main.c wich calls functions from the GENERIC files in Generic folder. So this way I used and UNIQUE file to receive/transmit data in several projects. If I modify a generic file, then ALL the projects can "see" this change.
The folder tree would be:
+---- GENERIC
| +-------------- GENERIC_SCI.c
| +-------------- GENERIC_SCI.h
|
|
+---- PROJECT_1
| +-------------- Source
| +---------- main.c (call functions from GENERIC_SCI.c)
|
+---- PROJECT_2
+-------------- Source
+---------- main.c (call functions from GENERIC_SCI.c)
So my question is how do I do what I want to do? I mean, PROJECT_1 and PROJECT_2 share GENERIC_SCI.c and .h
1) Should I use the #include instruction for both .c and .h?
2) What happend if I use the link option when creating a new fodler? What about the check-option in the BUILD tab?
I repeat, I could watch the videos yet... I'll do that in a moment
Thanks!