Generate custom library for esp32
Posted: Mon Feb 10, 2020 11:06 am
Hello,
I have to generate a custom library for one of our client to use in esp32 project.
The code is hardware independent, so no worries about using different sdkconfig in build time by the client.
I have simply added the code source as component in esp-idf component folder and compiled a random project than retrieved the .a file+ headers later.This method works just fine but not neat one since I have to compile all esp32 component each time I change the machine...etc.
I was wondering if there is a way to build a library using xtensa compiler directly without going through esp-idf ?
any inputs or tips would be much appreciated
Thank you guys.
I have to generate a custom library for one of our client to use in esp32 project.
The code is hardware independent, so no worries about using different sdkconfig in build time by the client.
I have simply added the code source as component in esp-idf component folder and compiled a random project than retrieved the .a file+ headers later.This method works just fine but not neat one since I have to compile all esp32 component each time I change the machine...etc.
I was wondering if there is a way to build a library using xtensa compiler directly without going through esp-idf ?
any inputs or tips would be much appreciated
Thank you guys.