How to create a static library on nRF Connect SDK/Zephyr

Hi,

I am using nrF52840 with nRF Connect, Visual Code Studio (Zephyr) 

Is there any guide or a tutorial with an example that shows how to create a static library on nRF Connect SDK/Zephyr?

There are some topics opened related to this, but none of them have the complete solution.

Please if you can explain in detail, it would help everyone a lot. Thanks

Related