Use of static library on WICED Smart SDK

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I must use binary-provided static library (.lib) for Cortex-M3 in my project.

How do I write makefile.mk?


0 Likes
1 Solution
Anonymous
Not applicable

Please try adding APP_PATCHES_AND_LIBS += yourlibraryname.a into makefile.mk.

The static library should be placed in <WICED-Smart-SDK>/Wiced-Smart/tier2/brcm/libraries/lib/20737/.

About makefile.mk, some sample apps in Apps directory use static library.

For detail, please see <WICED-Smart-SDK>/Wiced-Smart/spar/spar_2073x.inc.

View solution in original post

1 Reply
Anonymous
Not applicable

Please try adding APP_PATCHES_AND_LIBS += yourlibraryname.a into makefile.mk.

The static library should be placed in <WICED-Smart-SDK>/Wiced-Smart/tier2/brcm/libraries/lib/20737/.

About makefile.mk, some sample apps in Apps directory use static library.

For detail, please see <WICED-Smart-SDK>/Wiced-Smart/spar/spar_2073x.inc.