I am working on a projekt with the ESP32 DevKit v1. To develope the programmcode for this one i am using the Arduino IDE.
I would really like to have a nice software structure. A Hardware abstraction layer (HAL) which includes a chip support library (CSL) and a board support library (BSL).
My Problem now is, that i have to save all my libraries in the sketch library folder. And in this folder i have to have another folder, which has the exact same name as the headerfile of the library (libraries → xylib → xylib.h).
This is an unsatisfing solution. I mean at least i would like to have a folder called CSL and one called BSL in which i would have my libraries but this does not work.
I tried to do it like this <CSL/xylib.h> and like this “CSL/xylib.h” and on many other variants.
Maybe someone has an idea how to solve this problem or Maybe there is no solution.
And maybe there is also a solution with static libraries which would be my favourite one if this is even possible.
Does someone have an answer for this?
Thank you very much and sorry for my bad english
(would also read answers in german )