You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on integrating a custom library to our project, exactly the way it is described in the example application repo, where a custom library is added outside the Zephyr tree. It all works fine up to the point that I need to use some functions from a Zephyr module, in particular mbedtls.
But then the problem is that I get a build error because the header files from mbedtls I want to include are not found by the building system.
I suspect this is because in the CMakeLists file of Zephyr, the lib folder, where my custom library is placed, is processed before the modules folder, where mbedtls is present. Therefore, the mbedtls header files are not yet added and are not found when they are needed by the library.
Is there anyone that has encountered similar challenges to give me some advice?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm working on integrating a custom library to our project, exactly the way it is described in the example application repo, where a custom library is added outside the Zephyr tree. It all works fine up to the point that I need to use some functions from a Zephyr module, in particular mbedtls.
But then the problem is that I get a build error because the header files from mbedtls I want to include are not found by the building system.
I suspect this is because in the CMakeLists file of Zephyr, the lib folder, where my custom library is placed, is processed before the modules folder, where mbedtls is present. Therefore, the mbedtls header files are not yet added and are not found when they are needed by the library.
Is there anyone that has encountered similar challenges to give me some advice?
Beta Was this translation helpful? Give feedback.
All reactions