Compile components sources files into one .a file (static lib)

aleksnc
Posts: 1
Joined: Thu Jan 28, 2021 3:43 am

Compile components sources files into one .a file (static lib)

Postby aleksnc » Thu Jan 28, 2021 4:02 am

Hi there,

I'm working on an ESP32 component that I'd like to share with others. I can't the source code as it must stay private.
I'd like to know if there is a way to compile my component into one ".a" file (static lib) ?

My component has several ".c" files and some dependencies to esp-idf components.

I have found this example "import_prebuilt" on the esp-idf github but it doesn't work for me
https://github.com/espressif/esp-idf/tr ... t_prebuilt

Thanks in advance for your help ;)

Who is online

Users browsing this forum: No registered users and 14 guests