I am probably approaching it all wrong, and apologies if this is a duplicate question (found some related questions but I still don’t understand exactly how to approach this).
I am trying to use FreeRTOS in a small example project. I would really like to maintain the folder structure that is defined by FreeRTOS, so that I can easily update to newer versions in the future.
I would like to use it as a library, to clearly separate external code from my own code.
As the image clearly shows, files appear in red. The FreeRTOS .c files are unable to include the .h files which are present in FreeRTOS\Source\include.
I thought I would fix that problem by adding a bunch of directories to the include search path as follows:
But that doesn’t seem to solve the problem.
Is what I am trying to achieve possible? Or should I re-organize the folder structure of FreeRTOS so that it fits into the “PIO suggested way” of organizing libaries (lib/libname/src and lib/libname/include).