- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What are the options in the "WICED-Smart-SDK-2.2.1-IDE-Installer.exe" IDE for building the static library from the source code.How can I use the built static library in another code.
Is it like this ?Add below line in makefile.mk of the aplication
APP_PATCHES_AND_LIBS += <build_library.a>and then put the same static library and the header file in the the directory using this new static file.
Solved! Go to Solution.
- Labels:
-
SDK 2.X
- Tags:
- static libraries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After building your application, .o files will be generated in <WICED-Smart-SDK>/build/<YOURAPPLICATION>/.
I could make a static library by <WICED-Smart-SDK>/Tools/ARM_GNU/bin/Win32/arm-none-eabi-ar.exe r mylib.a MYLIB.o.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Saurabh
Yes that is correct.
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the confirmation,
But how can I compile the source code to static library?In the IDE what/where are the options to do the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After building your application, .o files will be generated in <WICED-Smart-SDK>/build/<YOURAPPLICATION>/.
I could make a static library by <WICED-Smart-SDK>/Tools/ARM_GNU/bin/Win32/arm-none-eabi-ar.exe r mylib.a MYLIB.o.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK , thanks, have you tested this library after building, did it work fine?