Problems runing and compiling for ESP32S3

Question/Issue:
Hi, I know this issue already exist but I tried a different approach.
I had this problem with any model compiling with DEI_CLASSIFIER_TFLITE_ENABLE_ESP_NN_S3=1 on ESP-IDF 4.4.7 (All on VSCode)
So I replaced the “ESP_NN” folder with the current one from expressiff/esp-nn repo and modified some includes for it to work.
It compiles!! :partying_face: but now I keep getting this error before it reboots :weary::

`Guru Meditation Error: Core 0 panic’ed (LoadProhibited). Exception was unhandled.

Core 0 register dump:
PC : 0x4207d73e PS : 0x00060d30 A0 : 0x8207cb4e A1 : 0x3fcf32b0
0x4207d73e: tflite::MicroContext::GetScratchBuffer(int) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/tensorflow/lite/micro/micro_context.cc:44

A2 : 0x3fce9c68 A3 : 0x00000000 A4 : 0x00000010 A5 : 0x3fcf3394
A6 : 0x00000010 A7 : 0x00000003 A8 : 0x00000000 A9 : 0x00000000
A10 : 0x3d8709a4 A11 : 0x00000348 A12 : 0x8037b5de A13 : 0x3fc92760
A14 : 0x3fc94014 A15 : 0x3fc94014 SAR : 0x00000009 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x40056f5c LEND : 0x40056f72 LCOUNT : 0x00000000

Backtrace: 0x4207d73b:0x3fcf32b0 0x4207cb4b:0x3fcf32d0 0x420461c5:0x3fcf32f0 0x420468c5:0x3fcf3420 0x42063dab:0x3fcf34e0 0x4205b665:0x3fcf3500 0x420088ff:0x3fcf3520 0x42008bde:0x3fcf3560 0x42008c45:0x3fcf35f0 0x42008c91:0x3fcf3610 0x4200910d:0x3fcf3710 0x420091aa:0x3fcf3730 0x4207ebec:0x3fcf39a0 0x4037c76d:0x3fcf39c0
0x4207d73b: tflite::MicroContext::GetScratchBuffer(int) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/tensorflow/lite/micro/micro_context.cc:42

0x4207cb4b: tflite::MicroContextGetScratchBuffer(TfLiteContext*, int) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/tensorflow/lite/micro/micro_context.h:139

0x420461c5: tflite::(anonymous namespace)::SoftmaxQuantized(TfLiteContext*, TfLiteEvalTensor const*, TfLiteEvalTensor*, tflite::(anonymous namespace)::NodeData const*) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/tensorflow/lite/micro/kernels/softmax.cc:335

0x420468c5: tflite::(anonymous namespace)::Eval(TfLiteContext*, TfLiteNode*) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/tensorflow/lite/micro/kernels/softmax.cc:390

0x42063dab: tflite::MicroGraph::InvokeSubgraph(int) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/tensorflow/lite/micro/micro_graph.cc:182

0x4205b665: tflite::MicroInterpreter::Invoke() at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/tensorflow/lite/micro/micro_interpreter.cc:302

0x420088ff: inference_tflite_run(ei_impulse const*, ei_learning_block_config_tflite_graph_t*, unsigned long long, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, tflite::MicroInterpreter*, unsigned char*, ei_impulse_result_t*, bool) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/inferencing_engines/tflite_micro.h:178

0x42008bde: run_nn_inference_image_quantized(ei_impulse const*, ei::ei_signal_t*, ei_impulse_result_t*, void*, bool) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/inferencing_engines/tflite_micro.h:416

0x42008c45: run_classifier_image_quantized at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/ei_run_classifier.h:610

0x42008c91: process_impulse at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/ei_run_classifier.h:230

0x4200910d: run_classifier at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/ei_run_classifier.h:813

0x420091aa: app_main at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/main/main.cpp:124

0x4207ebec: main_task at /home/tomas/esp/v4.4.7/esp-idf/components/freertos/port/port_common.c:141 (discriminator 2)

0x4037c76d: vPortTaskWrapper at /home/tomas/esp/v4.4.7/esp-idf/components/freertos/port/xtensa/port.c:142

The model I tried is a FOMO MovileNetv2 0.35 122x122 RGB
Project ID:
378540
Context/Use case:
Object recognition on different esp32s3 boards

More Context:
Tried running it without any ESP-NN optimization and it works between a lot of
E (19367) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: E (19367) task_wdt: - IDLE0 (CPU 0) errors.
Update: Setting Optimization Level to “Optimize for performance” got rid of the problem.

Also tried a YOLOv5 - Nano 320x320 RGB with both methods and it wont work because of the Task watchdog got triggered error.

Also² on ESP-IDF 5.0.1 without “ESP_NN” it reboots with this error:

assert failed: remove_free_block tlsf.c:330 (prev && “prev_free field can not be null”)

Backtrace: 0x40375b52:0x3fc9a5a0 0x4037a7a1:0x3fc9a5c0 0x403801f1:0x3fc9a5e0 0x4037f56c:0x3fc9a700 0x4037f36b:0x3fc9a720 0x403762da:0x3fc9a740 0x40380235:0x3fc9a760 0x4200b065:0x3fc9a780 0x42009024:0x3fc9a7a0 0x4200a6a1:0x3fc9a7c0 0x4200a725:0x3fc9a890 0x4200abde:0x3fc9a940 0x4206721b:0x3fc9abb0
0x40375b52: panic_abort at /home/tomas/esp/v5.2.1/esp-idf/components/esp_system/panic.c:472
0x4037a7a1: esp_system_abort at /home/tomas/esp/v5.2.1/esp-idf/components/esp_system/port/esp_system_chip.c:93
0x403801f1: __assert_func at /home/tomas/esp/v5.2.1/esp-idf/components/newlib/assert.c:81
0x4037f56c: remove_free_block at /home/tomas/esp/v5.2.1/esp-idf/components/heap/tlsf/tlsf.c:330 (discriminator 1)
(inlined by) block_remove at /home/tomas/esp/v5.2.1/esp-idf/components/heap/tlsf/tlsf.c:380 (discriminator 1)
(inlined by) block_merge_prev at /home/tomas/esp/v5.2.1/esp-idf/components/heap/tlsf/tlsf.c:470 (discriminator 1)
(inlined by) tlsf_free at /home/tomas/esp/v5.2.1/esp-idf/components/heap/tlsf/tlsf.c:1122 (discriminator 1)
0x4037f36b: multi_heap_free_impl at /home/tomas/esp/v5.2.1/esp-idf/components/heap/multi_heap.c:234
(inlined by) multi_heap_free_impl at /home/tomas/esp/v5.2.1/esp-idf/components/heap/multi_heap.c:223
0x403762da: heap_caps_free at /home/tomas/esp/v5.2.1/esp-idf/components/heap/heap_caps.c:393
0x40380235: free at /home/tomas/esp/v5.2.1/esp-idf/components/newlib/heap.c:39
0x4200b065: ei_free(void*) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/porting/espressif/ei_classifier_porting.cpp:100
0x42009024: (anonymous namespace)::ei_aligned_free(void*) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/ei_aligned_malloc.h:102
0x4200a6a1: std::unique_ptr<void, void ()(void)>::~unique_ptr() at /home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/include/c++/13.2.0/bits/unique_ptr.h:404 (discriminator 1)
(inlined by) run_nn_inference_image_quantized(ei_impulse const*, ei::ei_signal_t*, ei_impulse_result_t*, void*, bool) at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/inferencing_engines/tflite_micro.h:433 (discriminator 1)
0x4200a725: process_impulse at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/ei_run_classifier.h:610
(inlined by) process_impulse at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/ei_run_classifier.h:230
0x4200abde: app_main at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/edge-impulse-sdk/classifier/ei_run_classifier.h:813
(inlined by) app_main at /home/tomas/ESP32_VSCODE/example-standalone-inferencing-espressif-esp32s3/main/main.cpp:124
0x4206721b: main_task at /home/tomas/esp/v5.2.1/esp-idf/components/freertos/app_startup.c:208

Hello, @tomasmercadito !
Okay, actually now at the moment ESP32-S3 should be supported both in Arduino IDE and with regular ESP-IDF.
So let’s try debugging this step by step - what error are you facing if you
git clone GitHub - edgeimpulse/firmware-espressif-esp32: Edge Impulse firmware for the Espressif ESP-EYE(ESP32) Development board
drop your project files there (ei sdk, model folders)
enable this macro example-standalone-inferencing-espressif-esp32/main/CMakeLists.txt at 221c9c44cf73601e69070dc9df4bbef695752cbc · edgeimpulse/example-standalone-inferencing-espressif-esp32 · GitHub
and compile it?

Hi @AIWintermuteAI , thanks for your response.

I think you made a mistake with this comand you gave me:
git clone [GitHub - edgeimpulse/firmware-espressif-esp32: Edge Impulse firmware for the Espressif ESP-EYE(ESP32) Development board](https://github.com/edgeimpulse/firmware-espressif-esp32)

I tried compiling for an esp32s3 and it gave a lot of problems since GPIO_NUM_22 is not usable on the S3 version.

Assuming you mean the “example-standalone-inferencing-espressif-esp32” github I followed your steps and got this:

[122/124] Linking CXX executable ei_standalone_esp32.elf
FAILED: ei_standalone_esp32.elf 
: && /home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++ -mlongcalls -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32S3=0 -Wl,--Map=/home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/build/ei_standalone_esp32.map -Wl,--no-warn-rwx-segments -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common -T esp32s3.peripherals.ld -T esp32s3.rom.ld -T esp32s3.rom.api.ld -T esp32s3.rom.libgcc.ld -T esp32s3.rom.newlib.ld -T esp32s3.rom.version.ld -T memory.ld -T sections.ld CMakeFiles/ei_standalone_esp32.elf.dir/project_elf_src_esp32s3.c.obj -o ei_standalone_esp32.elf -L/home/tomas/esp/v5.2.1/esp-idf/components/soc/esp32s3/ld   -L/home/tomas/esp/v5.2.1/esp-idf/components/esp_rom/esp32s3/ld   -L/home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/build/esp-idf/esp_system/ld   -L/home/tomas/esp/v5.2.1/esp-idf/components/esp_phy/lib/esp32s3   -L/home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3 esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/app_trace/libapp_trace.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/unity/libunity.a  esp-idf/cmock/libcmock.a  esp-idf/console/libconsole.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/esp_hid/libesp_hid.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/esp_lcd/libesp_lcd.a  esp-idf/protobuf-c/libprotobuf-c.a  esp-idf/protocomm/libprotocomm.a  esp-idf/esp_local_ctrl/libesp_local_ctrl.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/wear_levelling/libwear_levelling.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/fatfs/libfatfs.a  esp-idf/json/libjson.a  esp-idf/mqtt/libmqtt.a  esp-idf/nvs_sec_provider/libnvs_sec_provider.a  esp-idf/perfmon/libperfmon.a  esp-idf/spiffs/libspiffs.a  esp-idf/touch_element/libtouch_element.a  esp-idf/usb/libusb.a  esp-idf/wifi_provisioning/libwifi_provisioning.a  esp-idf/main/libmain.a  esp-idf/app_trace/libapp_trace.a  esp-idf/app_trace/libapp_trace.a  esp-idf/cmock/libcmock.a  esp-idf/unity/libunity.a  esp-idf/esp_hid/libesp_hid.a  esp-idf/esp_lcd/libesp_lcd.a  esp-idf/esp_local_ctrl/libesp_local_ctrl.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/fatfs/libfatfs.a  esp-idf/wear_levelling/libwear_levelling.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/mqtt/libmqtt.a  esp-idf/nvs_sec_provider/libnvs_sec_provider.a  -u nvs_sec_provider_include_impl  esp-idf/perfmon/libperfmon.a  esp-idf/spiffs/libspiffs.a  esp-idf/touch_element/libtouch_element.a  esp-idf/usb/libusb.a  esp-idf/wifi_provisioning/libwifi_provisioning.a  esp-idf/protocomm/libprotocomm.a  esp-idf/console/libconsole.a  esp-idf/protobuf-c/libprotobuf-c.a  esp-idf/json/libjson.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/http_parser/libhttp_parser.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /home/tomas/esp/v5.2.1/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  /home/tomas/esp/v5.2.1/esp-idf/components/xtensa/esp32s3/libxt_hal.a  -u esp_app_desc  -u pthread_include_pthread_impl  -u pthread_include_pthread_cond_var_impl  -u pthread_include_pthread_local_storage_impl  -u pthread_include_pthread_rwlock_impl  -u pthread_include_pthread_semaphore_impl  -u ld_include_highint_hdl  -u start_app  -u start_app_other_cores  -u __ubsan_include  -Wl,--wrap=longjmp  -u __assert_func  -Wl,--undefined=FreeRTOS_openocd_params  -u app_main  -lc  -lm  -u newlib_include_heap_impl  -u newlib_include_syscalls_impl  -u newlib_include_pthread_impl  -u newlib_include_assert_impl  -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting  -Wl,--wrap=__register_frame_info_bases  -Wl,--wrap=__register_frame_info  -Wl,--wrap=__register_frame  -Wl,--wrap=__register_frame_info_table_bases  -Wl,--wrap=__register_frame_info_table  -Wl,--wrap=__register_frame_table  -Wl,--wrap=__deregister_frame_info_bases  -Wl,--wrap=__deregister_frame_info  -Wl,--wrap=_Unwind_Find_FDE  -Wl,--wrap=_Unwind_GetGR  -Wl,--wrap=_Unwind_GetCFA  -Wl,--wrap=_Unwind_GetIP  -Wl,--wrap=_Unwind_GetIPInfo  -Wl,--wrap=_Unwind_GetRegionStart  -Wl,--wrap=_Unwind_GetDataRelBase  -Wl,--wrap=_Unwind_GetTextRelBase  -Wl,--wrap=_Unwind_SetIP  -Wl,--wrap=_Unwind_SetGR  -Wl,--wrap=_Unwind_GetLanguageSpecificData  -Wl,--wrap=_Unwind_FindEnclosingFunction  -Wl,--wrap=_Unwind_Resume  -Wl,--wrap=_Unwind_RaiseException  -Wl,--wrap=_Unwind_DeleteException  -Wl,--wrap=_Unwind_ForcedUnwind  -Wl,--wrap=_Unwind_Resume_or_Rethrow  -Wl,--wrap=_Unwind_Backtrace  -Wl,--wrap=__cxa_call_unexpected  -Wl,--wrap=__gxx_personality_v0  -u __cxa_guard_dummy  -lstdc++  esp-idf/pthread/libpthread.a  esp-idf/newlib/libnewlib.a  -lgcc  esp-idf/cxx/libcxx.a  -u __cxx_fatal_exception  -u include_esp_phy_override  -lphy  -lbtbb  esp-idf/esp_phy/libesp_phy.a  -lphy  -lbtbb  esp-idf/esp_phy/libesp_phy.a  -lphy  -lbtbb  -u vfs_include_syscalls_impl && :
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(add.cc.obj):(.literal._ZN6tflite16EvalAddQuantizedEP13TfLiteContextP10TfLiteNodeP15TfLiteAddParamsPKNS_9OpDataAddEPK16TfLiteEvalTensorSB_PS9_+0x8): undefined reference to `esp_nn_add_elementwise_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(add.cc.obj): in function `_ZN6tflite16EvalAddQuantizedEP13TfLiteContextP10TfLiteNodeP15TfLiteAddParamsPKNS_9OpDataAddEPK16TfLiteEvalTensorSB_PS9_':
/home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/edge-impulse-sdk/tensorflow/lite/micro/kernels/add.cc:1115:(.text._ZN6tflite16EvalAddQuantizedEP13TfLiteContextP10TfLiteNodeP15TfLiteAddParamsPKNS_9OpDataAddEPK16TfLiteEvalTensorSB_PS9_+0x1a2): undefined reference to `esp_nn_add_elementwise_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(fully_connected.cc.obj):(.literal._ZN6tflite12_GLOBAL__N_14EvalEP13TfLiteContextP10TfLiteNode+0x8): undefined reference to `esp_nn_fully_connected_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(fully_connected.cc.obj): in function `_ZN6tflite12_GLOBAL__N_14EvalEP13TfLiteContextP10TfLiteNode':
/home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/edge-impulse-sdk/tensorflow/lite/micro/kernels/fully_connected.cc:1536:(.text._ZN6tflite12_GLOBAL__N_14EvalEP13TfLiteContextP10TfLiteNode+0x1a4): undefined reference to `esp_nn_fully_connected_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(mul.cc.obj):(.literal._ZN6tflite16MulEvalQuantizedEP13TfLiteContextP10TfLiteNodePKNS_9OpDataMulEPK16TfLiteEvalTensorS9_PS7_+0x0): undefined reference to `esp_nn_mul_elementwise_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(mul.cc.obj): in function `_ZN6tflite16MulEvalQuantizedEP13TfLiteContextP10TfLiteNodePKNS_9OpDataMulEPK16TfLiteEvalTensorS9_PS7_':
/home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/edge-impulse-sdk/tensorflow/lite/micro/kernels/mul.cc:267:(.text._ZN6tflite16MulEvalQuantizedEP13TfLiteContextP10TfLiteNodePKNS_9OpDataMulEPK16TfLiteEvalTensorS9_PS7_+0x142): undefined reference to `esp_nn_mul_elementwise_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(pooling.cc.obj):(.literal._ZN6tflite12_GLOBAL__N_120AverageEvalQuantizedEP13TfLiteContextPK10TfLiteNodePK16TfLitePoolParamsPKNS_13OpDataPoolingEPK16TfLiteEvalTensorPSC_+0x0): undefined reference to `esp_nn_avg_pool_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(pooling.cc.obj):(.literal._ZN6tflite12_GLOBAL__N_116MaxEvalQuantizedEP13TfLiteContextP10TfLiteNodeP16TfLitePoolParamsPKNS_13OpDataPoolingEPK16TfLiteEvalTensorPSA_+0x0): undefined reference to `esp_nn_max_pool_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(pooling.cc.obj): in function `_ZN6tflite12_GLOBAL__N_120AverageEvalQuantizedEP13TfLiteContextPK10TfLiteNodePK16TfLitePoolParamsPKNS_13OpDataPoolingEPK16TfLiteEvalTensorPSC_':
/home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/edge-impulse-sdk/tensorflow/lite/micro/kernels/pooling.cc:1251:(.text._ZN6tflite12_GLOBAL__N_120AverageEvalQuantizedEP13TfLiteContextPK10TfLiteNodePK16TfLitePoolParamsPKNS_13OpDataPoolingEPK16TfLiteEvalTensorPSC_+0x14c): undefined reference to `esp_nn_avg_pool_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(pooling.cc.obj): in function `_ZN6tflite12_GLOBAL__N_116MaxEvalQuantizedEP13TfLiteContextP10TfLiteNodeP16TfLitePoolParamsPKNS_13OpDataPoolingEPK16TfLiteEvalTensorPSA_':
/home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/edge-impulse-sdk/tensorflow/lite/micro/kernels/pooling.cc:1306:(.text._ZN6tflite12_GLOBAL__N_116MaxEvalQuantizedEP13TfLiteContextP10TfLiteNodeP16TfLitePoolParamsPKNS_13OpDataPoolingEPK16TfLiteEvalTensorPSA_+0x14c): undefined reference to `esp_nn_max_pool_s8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_conv_esp32s3.c.obj):(.literal.esp_nn_conv_s8_esp32s3+0x4): undefined reference to `esp_nn_conv_s8_mult8_1x1_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_conv_esp32s3.c.obj):(.literal.esp_nn_conv_s8_esp32s3+0x8): undefined reference to `esp_nn_conv_s8_filter_aligned_input_padded_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_conv_esp32s3.c.obj): in function `esp_nn_conv_s8_esp32s3':
/home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/edge-impulse-sdk/porting/espressif/ESP-NN/src/convolution/esp_nn_conv_esp32s3.c:225:(.text.esp_nn_conv_s8_esp32s3+0x212): undefined reference to `esp_nn_conv_s8_mult8_1x1_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: /home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/edge-impulse-sdk/porting/espressif/ESP-NN/src/convolution/esp_nn_conv_esp32s3.c:265:(.text.esp_nn_conv_s8_esp32s3+0x37e): undefined reference to `esp_nn_conv_s8_filter_aligned_input_padded_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_depthwise_conv_s8_esp32s3.c.obj):(.literal.esp_nn_depthwise_conv_s8_esp32s3+0x4): undefined reference to `esp_nn_depthwise_conv_s8_mult1_3x3_padded_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_depthwise_conv_s8_esp32s3.c.obj):(.literal.esp_nn_depthwise_conv_s8_esp32s3+0x8): undefined reference to `esp_nn_s8_to_s16_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_depthwise_conv_s8_esp32s3.c.obj):(.literal.esp_nn_depthwise_conv_s8_esp32s3+0xc): undefined reference to `esp_nn_aligned_s8_to_s16_with_offset_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_depthwise_conv_s8_esp32s3.c.obj):(.literal.esp_nn_depthwise_conv_s8_esp32s3+0x10): undefined reference to `esp_nn_depthwise_conv_s16_mult1_3x3_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_depthwise_conv_s8_esp32s3.c.obj):(.literal.esp_nn_depthwise_conv_s8_esp32s3+0x14): undefined reference to `esp_nn_depthwise_conv_s16_mult8_3x3_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_depthwise_conv_s8_esp32s3.c.obj):(.literal.esp_nn_depthwise_conv_s8_esp32s3+0x18): undefined reference to `esp_nn_depthwise_conv_s16_mult8_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_depthwise_conv_s8_esp32s3.c.obj):(.literal.esp_nn_depthwise_conv_s8_esp32s3+0x1c): undefined reference to `esp_nn_depthwise_conv_s16_mult4_esp32s3'
/home/tomas/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(esp_nn_depthwise_conv_s8_esp32s3.c.obj): in function `esp_nn_depthwise_conv_s8_esp32s3':
/home/tomas/Descargas/example-standalone-inferencing-espressif-esp32-221c9c4/edge-impulse-sdk/porting/espressif/ESP-NN/src/convolution/esp_nn_depthwise_conv_s8_esp32s3.c:474:(.text.esp_nn_depthwise_conv_s8_esp32s3+0x1b6): undefined reference to `esp_nn_depthwise_conv_s8_mult1_3x3_padded_esp32s3'
... + some more that didn't fit here
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Yes, you’re right, it was supposed to be example-standalone-inferencing-espressif-esp32.
Unfortunately I cannot reproduce the error here
ESP-IDF v5.1.2
I get

[1175/1176] Generating binary image from built executableesptool.py v4.7.dev3
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/build/ei_standalone_esp32.bin
[1176/1176] cd /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/build/esp-idf/.../Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/build/ei_standalone_esp32.binei_standalone_esp32.bin binary size 0x66200 bytes. Smallest app partition is 0x100000 bytes. 0x99e00 bytes (60%) free.

Project build complete. To flash, run this command:
/Users/dmitrymaslov/.espressif/python_env/idf5.1_py3.10_env/bin/python ../../esp/esp-idf/components/esptool_py/esptool/esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32s3  write_flash --flash_mode dio --flash_size 2MB --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/ei_standalone_esp32.bin
or run 'idf.py -p (PORT) flash'

i.e a successful build.
On latest production EI SDK (which you get on Deployment), the functions that are reported missing in your output are implemented in ASM, e.g.
esp_nn_depthwise_conv_s8_mult1_3x3_padded_esp32s3 is in edge-impulse-sdk/porting/espressif/ESP-NN/src/convolution/esp_nn_depthwise_conv_s8_mult1_3x3_padded_esp32s3.S. Provided both EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN and EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN_S3 are defined, the function should be available to linker.

Perhaps it’s worth looking at the usual suspects?
Have you tried fullclean option?
Are you using latest EI SDK? What is the version you see in model-parameters/model_metadata.h (EI_STUDIO_VERSION_*)?

Yes the ASM files are there and both options are defined.

Yes I tried building after a full clean.

I deployed the project as a C++ library optimized for TensorFlow Lite. I got this in model_metadata.h:

#define EI_STUDIO_VERSION_MAJOR             1
#define EI_STUDIO_VERSION_MINOR             49
#define EI_STUDIO_VERSION_PATCH             15

I’m on Linux Mint 21 using VSCode and ESP-IDF v5.1.2

Yes, this is very recent version.
Okay, let’s keep digging.
Can you send me your project? The .zip archive you get from Studio. You can attach it here or send to dmitry@edgeimpulse.com.

As a follow-up: I was not able to reproduce the issue on my end. Conclusion:

It is very likely there are some issues with your environment setup, however it is impossible for me to tell what is exactly wrong.

A couple of things to try:

  1. Use standalone ESP IDF (are you using vscode extension?)

  2. Use standalone ESP IDF inside the container, to be 100% of clean reproducible env.