Question/Issue:
I tried to run the example esp32_microphone_continuous for keyword spotting on ESP32 One, but for some reason I get reference undefined for most of the functions located in src files.
Project ID:
685503
Context/Use case:
keyword spotting model for my university project on ESP32 One
Steps Taken:
- Moved all the /src/ folders to the example folder where the .ino file is located
- Checked paths
- Checked existence of files
Expected Outcome:
I want to run a esp32_microphone_continous example for keyword spotting in Arduino IDE for ESP32 One.
Actual Outcome:
linkage errors like “undefined reference to `ei_read_timer_us()'”
Reproducibility:
- [x] Always
- [ ] Sometimes
- [ ] Rarely
Logs/Attachments:
I assume that my paths are correct because the IDE actually attempts to compile the project and doesn’t throw include or .h file related problems
Additional Information:
the errors look like this C:/Users/user/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/…/lib/gcc/xtensa-esp-elf/14.2.0/…/…/…/…/xtensa-esp-elf/bin/ld.exe: C:\Users\krave\AppData\Local\arduino\sketches\1CE8350177F2CE7F9646FE75082CC9D1\sketch\esp32_microphone_continuous.ino.cpp.o:(.rodata._ZL24ei_config_tflite_graph_6+0xc): undefined reference to `tflite_learn_6_reset(void ()(void))’
but this function exists in tflite_learn_6_compiled.cpp and the file itself exists.
my working directory: