espressif / esp-tflite-micro

TensorFlow Lite Micro for Espressif Chipsets
Apache License 2.0
347 stars 76 forks source link

Problems with `micro_speech` example for esp32-s3-eye (TFMIC-21) #78

Closed gamename closed 3 months ago

gamename commented 3 months ago

Hi,

I tried to use the micro_speech example on an esp32-s3-eye (v2.2). I set it to be type esp32s3 and it compiled just fine.

However, the chip does not "hear" speech at all. See the log below. It simply stops at main_task: Calling app_main().

Is there something more I need to configure?

Thanks, -T

Executing action: all (aliases: build)
Running ninja in directory /Users/tennis/src/esp32-s3-eye-micro-speech-example/build
Executing "ninja all"...
[0/1] Re-running CMake...
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32s3
Processing 3 dependencies:
[3/3] idf (5.2.0)
-- Project sdkconfig file /Users/tennis/src/esp32-s3-eye-micro-speech-example/sdkconfig
Loading defaults file /Users/tennis/src/esp32-s3-eye-micro-speech-example/sdkconfig.defaults...
/Users/tennis/src/esp32-s3-eye-micro-speech-example/sdkconfig.defaults:16 CONFIG_FLASHMODE_QIO was replaced with CONFIG_ESPTOOLPY_FLASHMODE_QIO
/Users/tennis/src/esp32-s3-eye-micro-speech-example/sdkconfig.defaults:18 CONFIG_INT_WDT was replaced with CONFIG_ESP_INT_WDT
/Users/tennis/src/esp32-s3-eye-micro-speech-example/sdkconfig.defaults:19 CONFIG_TASK_WDT was replaced with CONFIG_ESP_TASK_WDT_INIT
/var/folders/x2/4lbk1sy91jv_j1811qfzb02h0000gn/T/kconfgen_tmpjs1v0wts:18 line was updated to CONFIG_ESP_INT_WDT=n
/var/folders/x2/4lbk1sy91jv_j1811qfzb02h0000gn/T/kconfgen_tmpjs1v0wts:19 line was updated to CONFIG_ESP_TASK_WDT_INIT=n
-- Compiler supported targets: xtensa-esp-elf
-- App "micro_speech" version: 1
-- Adding linker script /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_bootloader_format esp_coex esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__esp-nn espressif__esp-tflite-micro esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash nvs_sec_provider openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport touch_element ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /Users/tennis/esp/v5.2/esp-idf/components/app_trace /Users/tennis/esp/v5.2/esp-idf/components/app_update /Users/tennis/esp/v5.2/esp-idf/components/bootloader /Users/tennis/esp/v5.2/esp-idf/components/bootloader_support /Users/tennis/esp/v5.2/esp-idf/components/bt /Users/tennis/esp/v5.2/esp-idf/components/cmock /Users/tennis/esp/v5.2/esp-idf/components/console /Users/tennis/esp/v5.2/esp-idf/components/cxx /Users/tennis/esp/v5.2/esp-idf/components/driver /Users/tennis/esp/v5.2/esp-idf/components/efuse /Users/tennis/esp/v5.2/esp-idf/components/esp-tls /Users/tennis/esp/v5.2/esp-idf/components/esp_adc /Users/tennis/esp/v5.2/esp-idf/components/esp_app_format /Users/tennis/esp/v5.2/esp-idf/components/esp_bootloader_format /Users/tennis/esp/v5.2/esp-idf/components/esp_coex /Users/tennis/esp/v5.2/esp-idf/components/esp_common /Users/tennis/esp/v5.2/esp-idf/components/esp_eth /Users/tennis/esp/v5.2/esp-idf/components/esp_event /Users/tennis/esp/v5.2/esp-idf/components/esp_gdbstub /Users/tennis/esp/v5.2/esp-idf/components/esp_hid /Users/tennis/esp/v5.2/esp-idf/components/esp_http_client /Users/tennis/esp/v5.2/esp-idf/components/esp_http_server /Users/tennis/esp/v5.2/esp-idf/components/esp_https_ota /Users/tennis/esp/v5.2/esp-idf/components/esp_https_server /Users/tennis/esp/v5.2/esp-idf/components/esp_hw_support /Users/tennis/esp/v5.2/esp-idf/components/esp_lcd /Users/tennis/esp/v5.2/esp-idf/components/esp_local_ctrl /Users/tennis/esp/v5.2/esp-idf/components/esp_mm /Users/tennis/esp/v5.2/esp-idf/components/esp_netif /Users/tennis/esp/v5.2/esp-idf/components/esp_netif_stack /Users/tennis/esp/v5.2/esp-idf/components/esp_partition /Users/tennis/esp/v5.2/esp-idf/components/esp_phy /Users/tennis/esp/v5.2/esp-idf/components/esp_pm /Users/tennis/esp/v5.2/esp-idf/components/esp_psram /Users/tennis/esp/v5.2/esp-idf/components/esp_ringbuf /Users/tennis/esp/v5.2/esp-idf/components/esp_rom /Users/tennis/esp/v5.2/esp-idf/components/esp_system /Users/tennis/esp/v5.2/esp-idf/components/esp_timer /Users/tennis/esp/v5.2/esp-idf/components/esp_wifi /Users/tennis/esp/v5.2/esp-idf/components/espcoredump /Users/tennis/src/esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-nn /Users/tennis/src/esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro /Users/tennis/esp/v5.2/esp-idf/components/esptool_py /Users/tennis/esp/v5.2/esp-idf/components/fatfs /Users/tennis/esp/v5.2/esp-idf/components/freertos /Users/tennis/esp/v5.2/esp-idf/components/hal /Users/tennis/esp/v5.2/esp-idf/components/heap /Users/tennis/esp/v5.2/esp-idf/components/http_parser /Users/tennis/esp/v5.2/esp-idf/components/idf_test /Users/tennis/esp/v5.2/esp-idf/components/ieee802154 /Users/tennis/esp/v5.2/esp-idf/components/json /Users/tennis/esp/v5.2/esp-idf/components/log /Users/tennis/esp/v5.2/esp-idf/components/lwip /Users/tennis/src/esp32-s3-eye-micro-speech-example/main /Users/tennis/esp/v5.2/esp-idf/components/mbedtls /Users/tennis/esp/v5.2/esp-idf/components/mqtt /Users/tennis/esp/v5.2/esp-idf/components/newlib /Users/tennis/esp/v5.2/esp-idf/components/nvs_flash /Users/tennis/esp/v5.2/esp-idf/components/nvs_sec_provider /Users/tennis/esp/v5.2/esp-idf/components/openthread /Users/tennis/esp/v5.2/esp-idf/components/partition_table /Users/tennis/esp/v5.2/esp-idf/components/perfmon /Users/tennis/esp/v5.2/esp-idf/components/protobuf-c /Users/tennis/esp/v5.2/esp-idf/components/protocomm /Users/tennis/esp/v5.2/esp-idf/components/pthread /Users/tennis/esp/v5.2/esp-idf/components/sdmmc /Users/tennis/esp/v5.2/esp-idf/components/soc /Users/tennis/esp/v5.2/esp-idf/components/spi_flash /Users/tennis/esp/v5.2/esp-idf/components/spiffs /Users/tennis/esp/v5.2/esp-idf/components/tcp_transport /Users/tennis/esp/v5.2/esp-idf/components/touch_element /Users/tennis/esp/v5.2/esp-idf/components/ulp /Users/tennis/esp/v5.2/esp-idf/components/unity /Users/tennis/esp/v5.2/esp-idf/components/usb /Users/tennis/esp/v5.2/esp-idf/components/vfs /Users/tennis/esp/v5.2/esp-idf/components/wear_levelling /Users/tennis/esp/v5.2/esp-idf/components/wifi_provisioning /Users/tennis/esp/v5.2/esp-idf/components/wpa_supplicant /Users/tennis/esp/v5.2/esp-idf/components/xtensa
-- Configuring done (4.4s)
-- Generating done (0.3s)
-- Build files have been written to: /Users/tennis/src/esp32-s3-eye-micro-speech-example/build
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file /Users/tennis/src/esp32-s3-eye-micro-speech-example/sdkconfig
-- Compiler supported targets: xtensa-esp-elf
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Bootloader project name: "bootloader" version: 1
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
-- Adding linker script /Users/tennis/esp/v5.2/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_bootloader_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /Users/tennis/esp/v5.2/esp-idf/components/bootloader /Users/tennis/esp/v5.2/esp-idf/components/bootloader_support /Users/tennis/esp/v5.2/esp-idf/components/efuse /Users/tennis/esp/v5.2/esp-idf/components/esp_app_format /Users/tennis/esp/v5.2/esp-idf/components/esp_bootloader_format /Users/tennis/esp/v5.2/esp-idf/components/esp_common /Users/tennis/esp/v5.2/esp-idf/components/esp_hw_support /Users/tennis/esp/v5.2/esp-idf/components/esp_rom /Users/tennis/esp/v5.2/esp-idf/components/esp_system /Users/tennis/esp/v5.2/esp-idf/components/esptool_py /Users/tennis/esp/v5.2/esp-idf/components/freertos /Users/tennis/esp/v5.2/esp-idf/components/hal /Users/tennis/esp/v5.2/esp-idf/components/log /Users/tennis/esp/v5.2/esp-idf/components/bootloader/subproject/main /Users/tennis/esp/v5.2/esp-idf/components/bootloader/subproject/components/micro-ecc /Users/tennis/esp/v5.2/esp-idf/components/newlib /Users/tennis/esp/v5.2/esp-idf/components/partition_table /Users/tennis/esp/v5.2/esp-idf/components/soc /Users/tennis/esp/v5.2/esp-idf/components/spi_flash /Users/tennis/esp/v5.2/esp-idf/components/xtensa
-- Configuring done (1.4s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/bootloader
[1/1] cd /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/bootloader/esp-i.../Users/tennis/src/esp32-s3-eye-micro-speech-example/build/bootloader/bootloader.bin
Bootloader binary size 0x5800 bytes. 0x2800 bytes (31%) free.
[6/7] Generating binary image from built executable
esptool.py v4.7.0
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/micro_speech.bin
[7/7] cd /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/esp-idf/esptool_...able.bin /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/micro_speech.bin
micro_speech.bin binary size 0x52b40 bytes. Smallest app partition is 0x100000 bytes. 0xad4c0 bytes (68%) free.
Executing action: flash
Serial port /dev/cu.usbmodem21101
Connecting....
Detecting chip type... ESP32-S3
Running ninja in directory /Users/tennis/src/esp32-s3-eye-micro-speech-example/build
Executing "ninja flash"...
[1/5] cd /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/esp-idf/esptool_...able.bin /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/micro_speech.bin
micro_speech.bin binary size 0x52b40 bytes. Smallest app partition is 0x100000 bytes. 0xad4c0 bytes (68%) free.
[1/1] cd /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/bootloader/esp-i.../Users/tennis/src/esp32-s3-eye-micro-speech-example/build/bootloader/bootloader.bin
Bootloader binary size 0x5800 bytes. 0x2800 bytes (31%) free.
[4/5] cd /Users/tennis/esp/v5.2/esp-idf/components/esptool_py && /opt/homebrew/Cell...build -P /Users/tennis/esp/v5.2/esp-idf/components/esptool_py/run_serial_tool.cmake
esptool.py --chip esp32s3 -p /dev/cu.usbmodem21101 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 micro_speech.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.7.0
Serial port /dev/cu.usbmodem21101
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: dc:da:0c:4b:54:60
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x00062fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 22528 bytes to 13933...
Writing at 0x00000000... (100 %)
Wrote 22528 bytes (13933 compressed) at 0x00000000 in 0.4 seconds (effective 511.9 kbit/s)...
Hash of data verified.
Compressed 338752 bytes to 201435...
Writing at 0x00060bb4... (100 %)
Wrote 338752 bytes (201435 compressed) at 0x00010000 in 2.3 seconds (effective 1153.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 517.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory /Users/tennis/src/esp32-s3-eye-micro-speech-example
Executing "/Users/tennis/.espressif/python_env/idf5.2_py3.12_env/bin/python /Users/tennis/esp/esp-idf/tools/idf_monitor.py -p /dev/cu.usbmodem21101 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 --revision 0 /Users/tennis/src/esp32-s3-eye-micro-speech-example/build/micro_speech.elf -m '/Users/tennis/.espressif/python_env/idf5.2_py3.12_env/bin/python' '/Users/tennis/esp/esp-idf/tools/idf.py'"...
--- esp-idf-monitor 1.4.0 on /dev/cu.usbmodem21101 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
I (231) cpu_start: Chip rev:       ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x40048839
0x40048839: uart_tx_one_char_uart in ROM

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3820,len:0x1918
load:0x403c9700,len:0x4
load:0x403c9704,len:0xe5c
load:0x403cc700,len:0x3024
entry 0x403c993c
I (26) boot: ESP-IDF v5.2-dirty 2nd stage bootloader
I (27) boot: compile time Apr  4 2024 12:43:46
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.2
I (34) qio_mode: Enabling default flash chip QIO
I (39) boot.esp32s3: Boot SPI Speed : 80MHz
I (44) boot.esp32s3: SPI Mode       : QIO
I (49) boot.esp32s3: SPI Flash Size : 2MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (70) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (77) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (85) boot:  2 factory          factory app      00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3c030020 size=162c4h ( 90820) map
I (119) esp_image: segment 1: paddr=000262ec vaddr=3fc91300 size=0276ch ( 10092) load
I (121) esp_image: segment 2: paddr=00028a60 vaddr=40374000 size=075b8h ( 30136) load
I (130) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=2ce14h (183828) map
I (161) esp_image: segment 4: paddr=0005ce3c vaddr=4037b5b8 size=05ce0h ( 23776) load
I (171) boot: Loaded app from partition at offset 0x10000
I (171) boot: Disabling RNG early entropy source...
I (183) cpu_start: Multicore app
I (192) cpu_start: Pro cpu start user code
I (192) cpu_start: cpu freq: 160000000 Hz
I (192) cpu_start: Application information:
I (195) cpu_start: Project name:     micro_speech
I (200) cpu_start: App version:      1
I (205) cpu_start: Compile time:     Apr  4 2024 12:43:41
I (211) cpu_start: ELF file SHA256:  723b8a5c1...
I (216) cpu_start: ESP-IDF:          v5.2-dirty
I (221) cpu_start: Min chip rev:     v0.0
I (226) cpu_start: Max chip rev:     v0.99 
I (231) cpu_start: Chip rev:         v0.2
I (236) heap_init: Initializing. RAM available for dynamic allocation:
I (243) heap_init: At 3FC9D940 len 0004BDD0 (303 KiB): RAM
I (249) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (255) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (261) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (268) spi_flash: detected chip: gd
I (272) spi_flash: flash io: qio
W (276) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
W (289) i2s(legacy): legacy i2s driver is deprecated, please migrate to use driver/i2s_std.h, driver/i2s_pdm.h or driver/i2s_tdm.h
I (301) sleep: Configure to isolate all GPIO pins in sleep state
I (308) sleep: Enable automatic switching of GPIO sleep configuration
I (315) main_task: Started on CPU0
I (325) main_task: Calling app_main()
gamename commented 3 months ago

@vikramdattu FYI

gamename commented 3 months ago

Here is a line from the above log. Is this the real issue?

W (289) i2s(legacy): legacy i2s driver is deprecated, please migrate to use driver/i2s_std.h, driver/i2s_pdm.h or driver/i2s_tdm.h
vikramdattu commented 3 months ago

Here is a line from the above log. Is this the real issue?

W (289) i2s(legacy): legacy i2s driver is deprecated, please migrate to use driver/i2s_std.h, driver/i2s_pdm.h or driver/i2s_tdm.h

This should not be an issue. Did you try the example on IDF release/v5.1? I will test on 5.2 and update on the same.

gamename commented 3 months ago

Hi @vikramdattu

This should not be an issue. Did you try the example on IDF release/v5.1?

No. I'll try that too.

gamename commented 3 months ago

@vikramdattu

Same results with v5.1.3:

Running cmake in directory /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/Users/tennis/.espressif/python_env/idf5.1_py3.12_env/bin/python -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example"...
-- IDF_TARGET is not set, guessed 'esp32s3' from sdkconfig '/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/sdkconfig'
-- Found Git: /usr/bin/git (found version "2.39.3 (Apple Git-146)") 
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/tennis/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/tennis/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/tennis/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
Dependency "idf (5.2.0)" version changed, solving dependencies.
...Updating lock file at /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/dependencies.lock
Processing 3 dependencies:
[1/3] espressif/esp-nn (1.0.2)
[2/3] espressif/esp-tflite-micro (1.2.0)
[3/3] idf (5.1.3)
-- Project sdkconfig file /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/sdkconfig
Loading defaults file /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/sdkconfig.defaults...
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/sdkconfig.defaults:16 CONFIG_FLASHMODE_QIO was replaced with CONFIG_ESPTOOLPY_FLASHMODE_QIO
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/sdkconfig.defaults:18 CONFIG_INT_WDT was replaced with CONFIG_ESP_INT_WDT
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/sdkconfig.defaults:19 CONFIG_TASK_WDT was replaced with CONFIG_ESP_TASK_WDT_INIT
/var/folders/x2/4lbk1sy91jv_j1811qfzb02h0000gn/T/kconfgen_tmpcdqqkwv_:18 line was updated to CONFIG_ESP_INT_WDT=n
/var/folders/x2/4lbk1sy91jv_j1811qfzb02h0000gn/T/kconfgen_tmpcdqqkwv_:19 line was updated to CONFIG_ESP_TASK_WDT_INIT=n
Compiler supported targets: xtensa-esp32s3-elf

-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: /Users/tennis/.espressif/python_env/idf5.1_py3.12_env/bin/python (found version "3.12.2") found components: Interpreter 
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "micro_speech" version: c3aad2d
-- Adding linker script /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_coex esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__esp-nn espressif__esp-tflite-micro esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport touch_element ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /Users/tennis/esp/v5.1.3/components/app_trace /Users/tennis/esp/v5.1.3/components/app_update /Users/tennis/esp/v5.1.3/components/bootloader /Users/tennis/esp/v5.1.3/components/bootloader_support /Users/tennis/esp/v5.1.3/components/bt /Users/tennis/esp/v5.1.3/components/cmock /Users/tennis/esp/v5.1.3/components/console /Users/tennis/esp/v5.1.3/components/cxx /Users/tennis/esp/v5.1.3/components/driver /Users/tennis/esp/v5.1.3/components/efuse /Users/tennis/esp/v5.1.3/components/esp-tls /Users/tennis/esp/v5.1.3/components/esp_adc /Users/tennis/esp/v5.1.3/components/esp_app_format /Users/tennis/esp/v5.1.3/components/esp_coex /Users/tennis/esp/v5.1.3/components/esp_common /Users/tennis/esp/v5.1.3/components/esp_eth /Users/tennis/esp/v5.1.3/components/esp_event /Users/tennis/esp/v5.1.3/components/esp_gdbstub /Users/tennis/esp/v5.1.3/components/esp_hid /Users/tennis/esp/v5.1.3/components/esp_http_client /Users/tennis/esp/v5.1.3/components/esp_http_server /Users/tennis/esp/v5.1.3/components/esp_https_ota /Users/tennis/esp/v5.1.3/components/esp_https_server /Users/tennis/esp/v5.1.3/components/esp_hw_support /Users/tennis/esp/v5.1.3/components/esp_lcd /Users/tennis/esp/v5.1.3/components/esp_local_ctrl /Users/tennis/esp/v5.1.3/components/esp_mm /Users/tennis/esp/v5.1.3/components/esp_netif /Users/tennis/esp/v5.1.3/components/esp_netif_stack /Users/tennis/esp/v5.1.3/components/esp_partition /Users/tennis/esp/v5.1.3/components/esp_phy /Users/tennis/esp/v5.1.3/components/esp_pm /Users/tennis/esp/v5.1.3/components/esp_psram /Users/tennis/esp/v5.1.3/components/esp_ringbuf /Users/tennis/esp/v5.1.3/components/esp_rom /Users/tennis/esp/v5.1.3/components/esp_system /Users/tennis/esp/v5.1.3/components/esp_timer /Users/tennis/esp/v5.1.3/components/esp_wifi /Users/tennis/esp/v5.1.3/components/espcoredump /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-nn /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro /Users/tennis/esp/v5.1.3/components/esptool_py /Users/tennis/esp/v5.1.3/components/fatfs /Users/tennis/esp/v5.1.3/components/freertos /Users/tennis/esp/v5.1.3/components/hal /Users/tennis/esp/v5.1.3/components/heap /Users/tennis/esp/v5.1.3/components/http_parser /Users/tennis/esp/v5.1.3/components/idf_test /Users/tennis/esp/v5.1.3/components/ieee802154 /Users/tennis/esp/v5.1.3/components/json /Users/tennis/esp/v5.1.3/components/log /Users/tennis/esp/v5.1.3/components/lwip /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/main /Users/tennis/esp/v5.1.3/components/mbedtls /Users/tennis/esp/v5.1.3/components/mqtt /Users/tennis/esp/v5.1.3/components/newlib /Users/tennis/esp/v5.1.3/components/nvs_flash /Users/tennis/esp/v5.1.3/components/openthread /Users/tennis/esp/v5.1.3/components/partition_table /Users/tennis/esp/v5.1.3/components/perfmon /Users/tennis/esp/v5.1.3/components/protobuf-c /Users/tennis/esp/v5.1.3/components/protocomm /Users/tennis/esp/v5.1.3/components/pthread /Users/tennis/esp/v5.1.3/components/sdmmc /Users/tennis/esp/v5.1.3/components/soc /Users/tennis/esp/v5.1.3/components/spi_flash /Users/tennis/esp/v5.1.3/components/spiffs /Users/tennis/esp/v5.1.3/components/tcp_transport /Users/tennis/esp/v5.1.3/components/touch_element /Users/tennis/esp/v5.1.3/components/ulp /Users/tennis/esp/v5.1.3/components/unity /Users/tennis/esp/v5.1.3/components/usb /Users/tennis/esp/v5.1.3/components/vfs /Users/tennis/esp/v5.1.3/components/wear_levelling /Users/tennis/esp/v5.1.3/components/wifi_provisioning /Users/tennis/esp/v5.1.3/components/wpa_supplicant /Users/tennis/esp/v5.1.3/components/xtensa
-- Configuring done (5.9s)
-- Generating done (0.3s)
-- Build files have been written to: /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build
Running ninja in directory /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build
Executing "ninja all"...
[7/1164] Generating ../../partition_table/partition-table.binPartition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[464/1164] Performing configure step for 'bootloader'-- Found Git: /usr/bin/git (found version "2.39.3 (Apple Git-146)") 
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/tennis/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/tennis/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/tennis/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/sdkconfig
Compiler supported targets: xtensa-esp32s3-elf

-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Adding linker script /Users/tennis/esp/v5.1.3/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- App "bootloader" version: v5.1.3
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
-- Adding linker script /Users/tennis/esp/v5.1.3/components/bootloader/subproject/main/ld/esp32s3/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /Users/tennis/esp/v5.1.3/components/bootloader /Users/tennis/esp/v5.1.3/components/bootloader_support /Users/tennis/esp/v5.1.3/components/efuse /Users/tennis/esp/v5.1.3/components/esp_app_format /Users/tennis/esp/v5.1.3/components/esp_common /Users/tennis/esp/v5.1.3/components/esp_hw_support /Users/tennis/esp/v5.1.3/components/esp_rom /Users/tennis/esp/v5.1.3/components/esp_system /Users/tennis/esp/v5.1.3/components/esptool_py /Users/tennis/esp/v5.1.3/components/freertos /Users/tennis/esp/v5.1.3/components/hal /Users/tennis/esp/v5.1.3/components/log /Users/tennis/esp/v5.1.3/components/bootloader/subproject/main /Users/tennis/esp/v5.1.3/components/bootloader/subproject/components/micro-ecc /Users/tennis/esp/v5.1.3/components/newlib /Users/tennis/esp/v5.1.3/components/partition_table /Users/tennis/esp/v5.1.3/components/soc /Users/tennis/esp/v5.1.3/components/spi_flash /Users/tennis/esp/v5.1.3/components/xtensa
-- Configuring done (3.8s)
-- Generating done (0.1s)
-- Build files have been written to: /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/bootloader
[109/110] Generating binary image from built executableesptool.py v4.7.0
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Generated /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/bootloader/bootloader.bin
[110/110] cd /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/bootloade...ers/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/bootloader/bootloader.binBootloader binary size 0x5770 bytes. 0x2890 bytes (32%) free.
[1049/1164] Building CXX object esp-idf/espressif__esp-tflite-micro/CMakeFiles/__idf_espressif__esp-tflite-micro.dir/tensorflow/lite/micro/kernels/lstm_eval.cc.objIn file included from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/lstm_eval.cc:25:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:150:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  150 |       [](const ArithmeticParams& params, const uint8_t input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:126:56: note: shadowed declaration is here
  126 | inline void BroadcastMul6DSlow(const ArithmeticParams& params,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:209:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  209 |       [](const ArithmeticParams& params, const T input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:171:44: note: shadowed declaration is here
  171 | BroadcastMul6DSlow(const ArithmeticParams& params,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:249:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  249 |       [](const ArithmeticParams& params, const std::complex<float> input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:221:56: note: shadowed declaration is here
  221 | inline void BroadcastMul6DSlow(const ArithmeticParams& params,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
[1058/1164] Building CXX object esp-idf/espressif__esp-tflite-micro/CMakeFiles/__idf_espressif__esp-tflite-micro.dir/tensorflow/lite/micro/kernels/mul_common.cc.objIn file included from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/mul_common.cc:19:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:150:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  150 |       [](const ArithmeticParams& params, const uint8_t input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:126:56: note: shadowed declaration is here
  126 | inline void BroadcastMul6DSlow(const ArithmeticParams& params,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:209:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  209 |       [](const ArithmeticParams& params, const T input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:171:44: note: shadowed declaration is here
  171 | BroadcastMul6DSlow(const ArithmeticParams& params,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:249:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  249 |       [](const ArithmeticParams& params, const std::complex<float> input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:221:56: note: shadowed declaration is here
  221 | inline void BroadcastMul6DSlow(const ArithmeticParams& params,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In instantiation of 'typename std::enable_if<((! tflite::is_small_integer<T>::value) || enable_for_short_integers), void>::type tflite::reference_ops::BroadcastMul6DSlow(const tflite::ArithmeticParams&, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, T*) [with T = long int; bool enable_for_short_integers = false; typename std::enable_if<((! tflite::is_small_integer<T>::value) || enable_for_short_integers), void>::type = void]':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:260:28:   required from 'void tflite::reference_ops::BroadcastMul4DSlow(const tflite::ArithmeticParams&, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, T*) [with T = long int]'
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/mul_common.cc:141:40:   required from here
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:209:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  209 |       [](const ArithmeticParams& params, const T input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:171:44: note: shadowed declaration is here
  171 | BroadcastMul6DSlow(const ArithmeticParams& params,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In instantiation of 'typename std::enable_if<((! tflite::is_small_integer<T>::value) || enable_for_short_integers), void>::type tflite::reference_ops::BroadcastMul6DSlow(const tflite::ArithmeticParams&, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, T*) [with T = float; bool enable_for_short_integers = false; typename std::enable_if<((! tflite::is_small_integer<T>::value) || enable_for_short_integers), void>::type = void]':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:260:28:   required from 'void tflite::reference_ops::BroadcastMul4DSlow(const tflite::ArithmeticParams&, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, T*) [with T = float]'
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/mul_common.cc:196:38:   required from here
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:209:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  209 |       [](const ArithmeticParams& params, const T input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:171:44: note: shadowed declaration is here
  171 | BroadcastMul6DSlow(const ArithmeticParams& params,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
[1079/1164] Building CXX object esp-idf/espressif__esp-tflite-micro/CMakeFiles/__idf_espressif__esp-tflite-micro.dir/tensorflow/lite/micro/kernels/sub_common.cc.objIn file included from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/sub_common.cc:22:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:264:62: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  264 |       [](T input1_val, T input2_val, const ArithmeticParams& params) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:256:47: note: shadowed declaration is here
  256 | void BroadcastSubSlow(const ArithmeticParams& params,
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:284:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  284 |          const ArithmeticParams& params) {
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:272:59: note: shadowed declaration is here
  272 | inline void BroadcastSub16POTSlow(const ArithmeticParams& params,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:308:62: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  308 |       [](T input1_val, T input2_val, const ArithmeticParams& params) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:298:52: note: shadowed declaration is here
  298 | void BroadcastQuantSubSlow(const ArithmeticParams& params,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:420:62: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  420 |       [](T input1_val, T input2_val, const ArithmeticParams& params) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:413:34: note: shadowed declaration is here
  413 | void Sub(const ArithmeticParams& params, const RuntimeShape& input1_shape,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
[1087/1164] Building CXX object esp-idf/espressif__esp-tflite-micro/CMakeFiles/__idf_espressif__esp-tflite-micro.dir/tensorflow/lite/micro/kernels/sub.cc.objIn file included from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/sub.cc:24:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:264:62: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  264 |       [](T input1_val, T input2_val, const ArithmeticParams& params) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:256:47: note: shadowed declaration is here
  256 | void BroadcastSubSlow(const ArithmeticParams& params,
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:284:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  284 |          const ArithmeticParams& params) {
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:272:59: note: shadowed declaration is here
  272 | inline void BroadcastSub16POTSlow(const ArithmeticParams& params,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:308:62: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  308 |       [](T input1_val, T input2_val, const ArithmeticParams& params) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:298:52: note: shadowed declaration is here
  298 | void BroadcastQuantSubSlow(const ArithmeticParams& params,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:420:62: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  420 |       [](T input1_val, T input2_val, const ArithmeticParams& params) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:413:34: note: shadowed declaration is here
  413 | void Sub(const ArithmeticParams& params, const RuntimeShape& input1_shape,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In instantiation of 'void tflite::reference_ops::BroadcastSubSlow(const tflite::ArithmeticParams&, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, T*) [with T = float]':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/sub.cc:48:44:   required from here
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:264:62: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  264 |       [](T input1_val, T input2_val, const ArithmeticParams& params) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:256:47: note: shadowed declaration is here
  256 | void BroadcastSubSlow(const ArithmeticParams& params,
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In instantiation of 'void tflite::reference_ops::BroadcastQuantSubSlow(const tflite::ArithmeticParams&, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, T*) [with T = signed char]':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/sub.cc:91:53:   required from here
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:308:62: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  308 |       [](T input1_val, T input2_val, const ArithmeticParams& params) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:298:52: note: shadowed declaration is here
  298 | void BroadcastQuantSubSlow(const ArithmeticParams& params,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h: In instantiation of 'void tflite::reference_ops::BroadcastQuantSubSlow(const tflite::ArithmeticParams&, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, const T*, const tflite::RuntimeShape&, T*) [with T = short int]':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/sub.cc:111:53:   required from here
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:308:62: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  308 |       [](T input1_val, T input2_val, const ArithmeticParams& params) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/sub.h:298:52: note: shadowed declaration is here
  298 | void BroadcastQuantSubSlow(const ArithmeticParams& params,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
[1095/1164] Building C object esp-idf/espressif__esp-tflite-micro/CMakeFiles/__idf_espressif__esp-tflite-micro.dir/tensorflow/lite/experimental/microfrontend/lib/filterbank_util.c.obj/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/filterbank_util.c: In function 'FreqToMel':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/filterbank_util.c:31:65: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   31 | static float FreqToMel(float freq) { return 1127.0 * log1p(freq / 700.0); }
      |                                                                 ^
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/filterbank_util.c: In function 'QuantizeFilterbankWeights':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/filterbank_util.c:52:57: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   52 |   *weight = floor(float_weight * (1 << kFilterbankBits) + 0.5);
      |                                                         ^
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/filterbank_util.c:53:26: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   53 |   *unweight = floor((1.0 - float_weight) * (1 << kFilterbankBits) + 0.5);
      |                          ^
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/filterbank_util.c: In function 'FilterbankPopulateState':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/filterbank_util.c:98:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   98 |   const float hz_per_sbin = 0.5 * sample_rate / ((float)spectrum_size - 1);
      |                                               ^
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/filterbank_util.c:99:28: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   99 |   state->start_index = 1.5 + config->lower_band_limit / hz_per_sbin;
      |                            ^
[1109/1164] Building C object esp-idf/espressif__esp-tflite-micro/CMakeFiles/__idf_espressif__esp-tflite-micro.dir/tensorflow/lite/experimental/microfrontend/lib/window_util.c.obj/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/window_util.c: In function 'WindowPopulateState':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/window_util.c:44:32: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   44 |   const float arg = M_PI * 2.0 / ((float)state->size);
      |                                ^
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/window_util.c:46:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
   46 |   for (i = 0; i < state->size; ++i) {
      |                 ^
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/window_util.c:47:46: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   47 |     float float_value = 0.5 - (0.5 * cos(arg * (i + 0.5)));
      |                                              ^
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/experimental/microfrontend/lib/window_util.c:50:56: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   50 |         floor(float_value * (1 << kFrontendWindowBits) + 0.5);
      |                                                        ^
[1136/1164] Building CXX object esp-idf/espressif__esp-tflite-micro/CMakeFiles/__idf_espressif__esp-tflite-micro.dir/tensorflow/lite/micro/kernels/esp_nn/mul.cc.objIn file included from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/kernels/esp_nn/mul.cc:21:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:150:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  150 |       [](const ArithmeticParams& params, const uint8_t input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:126:56: note: shadowed declaration is here
  126 | inline void BroadcastMul6DSlow(const ArithmeticParams& params,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:209:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  209 |       [](const ArithmeticParams& params, const T input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:171:44: note: shadowed declaration is here
  171 | BroadcastMul6DSlow(const ArithmeticParams& params,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h: In lambda function:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:249:34: warning: declaration of 'const tflite::ArithmeticParams& params' shadows a parameter [-Wshadow]
  249 |       [](const ArithmeticParams& params, const std::complex<float> input1_val,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/kernels/internal/reference/mul.h:221:56: note: shadowed declaration is here
  221 | inline void BroadcastMul6DSlow(const ArithmeticParams& params,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
[1137/1164] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/audio_provider.cc.objIn file included from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/main/audio_provider.cc:27:
/Users/tennis/esp/v5.1.3/components/driver/deprecated/driver/i2s.h:27:2: warning: #warning "This set of I2S APIs has been deprecated, please include 'driver/i2s_std.h', 'driver/i2s_pdm.h' or 'driver/i2s_tdm.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress leagcy driver deprecated warning' option under 'I2S Configuration' menu in Kconfig" [-Wcpp]
   27 | #warning "This set of I2S APIs has been deprecated, \
      |  ^~~~~~~
In file included from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/main/audio_provider.cc:29:
/Users/tennis/esp/v5.1.3/components/spi_flash/include/esp_spi_flash.h:6:2: warning: #warning esp_spi_flash.h is deprecated, please use spi_flash_mmap.h instead [-Wcpp]
    6 | #warning esp_spi_flash.h is deprecated, please use spi_flash_mmap.h instead
      |  ^~~~~~~
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/main/audio_provider.cc: In function 'void i2s_init()':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/main/audio_provider.cc:80:31: warning: 'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
   80 |       .communication_format = I2S_COMM_FORMAT_I2S,
      |                               ^~~~~~~~~~~~~~~~~~~
In file included from /Users/tennis/esp/v5.1.3/components/driver/deprecated/driver/i2s.h:20:
/Users/tennis/esp/v5.1.3/components/driver/deprecated/driver/i2s_types_legacy.h:88:5: note: declared here
   88 |     I2S_COMM_FORMAT_I2S       __attribute__((deprecated)) = 0x01, /*!< I2S communication format I2S, correspond to `I2S_COMM_FORMAT_STAND_I2S`*/
      |     ^~~~~~~~~~~~~~~~~~~
[1156/1164] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/main_functions.cc.objIn file included from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/tflite_bridge/flatbuffer_conversions_bridge.h:19,
                 from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/micro_allocator.h:26,
                 from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/micro/micro_interpreter.h:26,
                 from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/main/main_functions.cc:24:
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/core/api/flatbuffer_conversions.h: In member function 'T* tflite::BuiltinDataAllocator::AllocatePOD()':
/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/core/api/flatbuffer_conversions.h:46:24: warning: 'template<class _Tp> struct std::is_pod' is deprecated: use is_standard_layout && is_trivial instead [-Wdeprecated-declarations]
   46 |     static_assert(std::is_pod<T>::value, "Builtin data structure must be POD.");
      |                        ^~~~~~
In file included from /Users/tennis/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/bits/stl_pair.h:60,
                 from /Users/tennis/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/utility:69,
                 from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/core/c/common.h:1372,
                 from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/managed_components/espressif__esp-tflite-micro/tensorflow/lite/c/common.h:28,
                 from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/main/audio_provider.h:19,
                 from /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/main/main_functions.cc:18:
/Users/tennis/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/type_traits:757:5: note: declared here
  757 |     is_pod
      |     ^~~~~~
[1163/1164] Generating binary image from built executableesptool.py v4.7.0
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/micro_speech.bin
[1164/1164] cd /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/esp-idf...e.bin /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/micro_speech.binmicro_speech.bin binary size 0x4e210 bytes. Smallest app partition is 0x100000 bytes. 0xb1df0 bytes (69%) free.
Executing action: flash
Serial port /dev/cu.usbmodem21101
Connecting...
Detecting chip type... ESP32-S3
Running ninja in directory /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build
Executing "ninja flash"...
[1/5] cd /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/esp-idf/esptool_py && /Users/tennis/.espressif/python_env/idf5.1_py3.12_env/bin/python /Users/tennis/esp/v5.1.3/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/partition_table/partition-table.bin /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/micro_speech.bin
micro_speech.bin binary size 0x4e210 bytes. Smallest app partition is 0x100000 bytes. 0xb1df0 bytes (69%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/bootloader/esp-idf/esptool_py && /Users/tennis/.espressif/python_env/idf5.1_py3.12_env/bin/python /Users/tennis/esp/v5.1.3/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/bootloader/bootloader.bin
Bootloader binary size 0x5770 bytes. 0x2890 bytes (32%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] cd /Users/tennis/esp/v5.1.3/components/esptool_py && /opt/homebrew/Cellar/cmake/3.28.1/bin/cmake -D IDF_PATH=/Users/tennis/esp/v5.1.3 -D "SERIAL_TOOL=/Users/tennis/.espressif/python_env/idf5.1_py3.12_env/bin/python;;/Users/tennis/esp/v5.1.3/components/esptool_py/esptool/esptool.py;--chip;esp32s3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=/Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build -P /Users/tennis/esp/v5.1.3/components/esptool_py/run_serial_tool.cmake
esptool.py --chip esp32s3 -p /dev/cu.usbmodem21101 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 8MB 0x0 bootloader/bootloader.bin 0x10000 micro_speech.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.7.0
Serial port /dev/cu.usbmodem21101
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: dc:da:0c:4b:54:60
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x0005efff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 22384 bytes to 14208...
Writing at 0x00000000... (100 %)
Wrote 22384 bytes (14208 compressed) at 0x00000000 in 0.4 seconds (effective 511.6 kbit/s)...
Hash of data verified.
Compressed 320016 bytes to 200057...
Writing at 0x00010000... (7 %)
Writing at 0x000184f7... (15 %)
Writing at 0x0001f7d8... (23 %)
Writing at 0x00028d0b... (30 %)
Writing at 0x0002e4a3... (38 %)
Writing at 0x00033e0a... (46 %)
Writing at 0x0003973f... (53 %)
Writing at 0x0003e664... (61 %)
Writing at 0x0004387a... (69 %)
Writing at 0x00048d0c... (76 %)
Writing at 0x0004ea32... (84 %)
Writing at 0x00054ece... (92 %)
Writing at 0x0005cb52... (100 %)
Wrote 320016 bytes (200057 compressed) at 0x00010000 in 2.5 seconds (effective 1042.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 511.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example
Executing "/Users/tennis/.espressif/python_env/idf5.1_py3.12_env/bin/python /Users/tennis/esp/esp-idf/tools/idf_monitor.py -p /dev/cu.usbmodem21101 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 --revision 0 /Users/tennis/src/cat-doorbell-v3-esp32-s3-eye-micro-speech-example/build/micro_speech.elf -m '/Users/tennis/.espressif/python_env/idf5.1_py3.12_env/bin/python' '/Users/tennis/esp/esp-idf/tools/idf.py'"...
--- esp-idf-monitor 1.4.0 on /dev/cu.usbmodem21101 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
I (242) ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x40048839
0x40048839: uart_tx_one_char_uart in ROM

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x18dc
load:0x403c9700,len:0x4
load:0x403c9704,len:0xda4
load:0x403cc700,len:0x3084
entry 0x403c9934
I (26) boot: ESP-IDF v5.1.3 2nd stage bootloader
I (27) boot: compile time Apr  8 2024 10:32:42
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.2
I (34) qio_mode: Enabling default flash chip QIO
I (39) boot.esp32s3: Boot SPI Speed : 80MHz
I (44) boot.esp32s3: SPI Mode       : QIO
I (48) boot.esp32s3: SPI Flash Size : 8MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (69) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (77) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (84) boot:  2 factory          factory app      00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3c030020 size=13334h ( 78644) map
I (116) esp_image: segment 1: paddr=0002335c vaddr=3fc90c00 size=02774h ( 10100) load
I (119) esp_image: segment 2: paddr=00025ad8 vaddr=40374000 size=0a540h ( 42304) load
I (130) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=2bb18h (178968) map
I (158) esp_image: segment 4: paddr=0005bb40 vaddr=4037e540 size=026a8h (  9896) load
I (166) boot: Loaded app from partition at offset 0x10000
I (166) boot: Disabling RNG early entropy source...
I (178) cpu_start: Multicore app
I (179) cpu_start: Pro cpu up.
I (179) cpu_start: Starting app cpu, entry point is 0x4037523c
0x4037523c: call_start_cpu1 at /Users/tennis/esp/v5.1.3/components/esp_system/port/cpu_start.c:159

I (0) cpu_start: App cpu up.
I (196) cpu_start: Pro cpu start user code
I (196) cpu_start: cpu freq: 160000000 Hz
I (197) cpu_start: Application information:
I (199) cpu_start: Project name:     micro_speech
I (205) cpu_start: App version:      c3aad2d
I (210) cpu_start: Compile time:     Apr  8 2024 10:32:38
I (216) cpu_start: ELF file SHA256:  746fb5c9...
I (221) cpu_start: ESP-IDF:          v5.1.3
I (226) cpu_start: Min chip rev:     v0.0
I (231) cpu_start: Max chip rev:     v0.99 
I (236) cpu_start: Chip rev:         v0.2
I (240) heap_init: Initializing. RAM available for dynamic allocation:
I (247) heap_init: At 3FC9D148 len 0004C5C8 (305 KiB): DRAM
I (254) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (260) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (267) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (273) spi_flash: detected chip: gd
I (277) spi_flash: flash io: qio
W (281) i2s(legacy): legacy i2s driver is deprecated, please migrate to use driver/i2s_std.h, driver/i2s_pdm.h or driver/i2s_tdm.h
I (293) sleep: Configure to isolate all GPIO pins in sleep state
I (300) sleep: Enable automatic switching of GPIO sleep configuration
I (307) app_start: Starting scheduler on CPU0
I (312) app_start: Starting scheduler on CPU1
I (312) main_task: Started on CPU0
I (322) main_task: Calling app_main()
vikramdattu commented 3 months ago

Hi @gamename I tried the example right now on esp-s3-eye (ESP32-S3-EYE-MB_V2.1) board and seems to be working fine for me. I tried with IDF release/v5.1. Will try with 5.2 as well.

I (358) main_task: Calling app_main()
I (378) feature_provider: InitializeMicroFeatures successful
I (448) TF_LITE_AUDIO_PROVIDER: Audio Recording started
Detected      no, score: 0.92
Detected     yes, score: 1.00
Detected unknown, score: 0.91
Detected unknown, score: 0.91
Detected      no, score: 0.93
Detected unknown, score: 0.81
Detected     yes, score: 1.00
Detected     yes, score: 1.00
Detected unknown, score: 0.84
Detected unknown, score: 1.00
Detected      no, score: 0.83
Detected unknown, score: 0.81
Detected     yes, score: 0.97
Detected     yes, score: 0.92
Detected      no, score: 0.97
Detected unknown, score: 0.90
gamename commented 3 months ago

I found the problem! It was a copy of the code I was using, not the original one in the repo. Somehow, I broke it when making the copy. Thanks for the help. Closing.