-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static library of tflite-lib and esp-nn component and link it to project #57
Comments
@techlearnerr looks like you're linking the libraries correctly.
Since, you mentioned about above check failing,
|
1- I updated the model and it's working fine without the static library. Now esp32S3 is restarting at this point.
Error after executing the above code is as follows
Am I missing something to create and link that library to the project? |
Hi @techlearnerr , I linked libs as you did and I am able to build, flash and run the example properly.
Since, you are getting error from below lines
you can add prints over here and find a clue for the issue. BTW, If your sole motivation to use libs for tflite-lib is to reduce the build time, you may consider using ccache. It will make subsequent builds blazing fast. |
Hi @vikramdattu Did you also comment/remove the following line from the CMakeLists.txt?
|
Hi @vikramdattu
output at the terminal is as follows
code is halted at this point. unable to print the number of dimensions, Size of dimension 0, Size of dimension 1, and Data type could you please help me with this issue? |
@techlearnerr yes, I commented out that line to remove those components out. Meanwhile can you check this?
|
@vikramdattu which IDF version you are using? |
@techlearnerr I have pushed the changes on the branch: test/microspeech_use_libs |
@vikramdattu Thanks for your reply. I used your test branch and build the code with esp32s3 with esp-idf version 5.0. I build, flashed, and run the example but the code stuck at the main_function.cc as I mentioned in the first comment.
Its restarts the esp32S3 because of system panic,
|
I want to create the static library of tflite-lib and esp-nn components of the project and link it to the project of micro_speech.
I find the static library of both components under the micro_speech\build\esp-idf\
CMakeLists.txt as follows
I saved these 2 static libraries under the main/libs folder
I tried to link these static libraries by modifying the main\CMakeLisst.txt file as follows
When i build flash and monitor the code, its build the code and code stuck at the main_function.cc
when checking the components using
idf.py menuconfig
there was no extra component there
Extra info
Target platform: ESP32-S3
IDF version release/v5.0
I will wait for your positive feedback
The text was updated successfully, but these errors were encountered: