How to add Static library in Project

Hi All,

I am beginner in development on Nordic product.

I am using sdk v1.5.1 and nrf5340 for development.

I want to add open source library libcorrect.a for Forward error correction in my project.But i am not getting how to add libcorrect.a in my project.

Can some one guide me how to add .a file in Cmake file?

I tried the solution given in https://devzone.nordicsemi.com/f/nordic-q-a/39338/segger-studio-static-library-adding-to-linker .but its giving me the error "undefined response to" functions available in libcorrect.a

Any help will be appreciated.

Thanks!

Related