How to build a library base on 20719-B1-Bluetooth

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

cross mob
NiLi_2861801
Level 3
Level 3
First like received First like given

Hi,  How can I build my own library file such as .a or .lib base on 20719-B1-Bluetooth, wiced 6.1.0

0 Likes
1 Solution
Anonymous
Not applicable

There is no direct way to build your own library in WICED.

You need to use the archiver 'ar' in the ARM GNU toolchain to combine your object files. The arm-none-eabi-ar.exe is available under ...\43xxx_Wi-Fi\tools\ARM_GNU\bin folder.

The command would like like this:

arm-none-eabi-ar.exe rcs your_lib.a file1.o file2.o file3.o

You should be able to find more information from the web.

View solution in original post

1 Reply
Anonymous
Not applicable

There is no direct way to build your own library in WICED.

You need to use the archiver 'ar' in the ARM GNU toolchain to combine your object files. The arm-none-eabi-ar.exe is available under ...\43xxx_Wi-Fi\tools\ARM_GNU\bin folder.

The command would like like this:

arm-none-eabi-ar.exe rcs your_lib.a file1.o file2.o file3.o

You should be able to find more information from the web.