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

Parents
  • Thank you for help. Now it builds with bash terminal but still I get build error on VS Code.

    I restarted the PC and I assumed VS Code doesn't see the PATH so, I changed VS Code Preferences> Settings> Features>Terminal>Default Profile Windows to PowerShell(tried Command Prompt and nRF Connect from dropdown menu as well), but still I couldn't build on VS Code.

    What I should do to build on VS Code?

    Thank you for asking, my intentions are creating a static library in a project and later using this static library in another project.

    Thanks

Reply
  • Thank you for help. Now it builds with bash terminal but still I get build error on VS Code.

    I restarted the PC and I assumed VS Code doesn't see the PATH so, I changed VS Code Preferences> Settings> Features>Terminal>Default Profile Windows to PowerShell(tried Command Prompt and nRF Connect from dropdown menu as well), but still I couldn't build on VS Code.

    What I should do to build on VS Code?

    Thank you for asking, my intentions are creating a static library in a project and later using this static library in another project.

    Thanks

Children
Related