Hi all -
I'm trying to create a static library for use with various ESP-IDF projects. I've done a lot of web searching, but haven't found exactly the instructions I was hoping to find. (Maybe what I'm trying to do doesn't make sense for the ESP/FreeRTOS environment.)
I created a project, modified the CMakeLists.txt file to include component.cmake (instead of project.cmake). When I run "idf.py build" it says "Project build complete" but I can't find any library file. I notice it recommends a flash command that includes build\rtp.bin (rtp is my project name) but no such file exists.
So, a couple questions:
1. is what I'm trying to do (create an .a file) the right approach?
2. if so, any ideas what I'm missing in my build setup to get a library created?
Thanks...
trying to build static library: nothing happens
Re: trying to build static library: nothing happens
Try to add the .h and .c files in src folder.
Re: trying to build static library: nothing happens
Add them to what, exactly?
It appears that everything compiled fine; it's just not creating a library. It's as though it doesn't think it needs to perform that step.
It appears that everything compiled fine; it's just not creating a library. It's as though it doesn't think it needs to perform that step.
Who is online
Users browsing this forum: Baidu [Spider] and 71 guests