[1/10] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\Users\henri\Documentos\Projetos_MPCI\teste_i2s_std\build\bootloader\esp-idf\esptool_py && C:\Users\henri\.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:/Users/henri/esp/v5.2.1/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 C:/Users/henri/Documentos/Projetos_MPCI/teste_i2s_std/build/bootloader/bootloader.bin"

Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.


[2/8] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
C:/Users/henri/Documentos/Projetos_MPCI/teste_i2s_std/main/main.c: In function 'generate_sine_wave2':
C:/Users/henri/Documentos/Projetos_MPCI/teste_i2s_std/main/main.c:107:22: warning: iteration 44 invokes undefined behavior [-Waggressive-loop-optimizations]
  107 |         sine_wave[i] = (int16_t)(32767 * sin(2 * PI * i / SAMPLE_RATE));
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/henri/Documentos/Projetos_MPCI/teste_i2s_std/main/main.c:105:23: note: within this loop
  105 |     for (int i = 0; i < SAMPLE_RATE; i++)
      |                       ^
[3/8] Linking C static library esp-idf\main\libmain.a
[4/8] Generating ld/sections.ld
[5/8] Linking CXX executable teste_i2s.elf
[6/8] Generating binary image from built executable
esptool.py v4.7.0

Creating esp32s3 image...

Merged 2 ELF sections

Successfully created esp32s3 image.

Generated C:/Users/henri/Documentos/Projetos_MPCI/teste_i2s_std/build/teste_i2s.bin
[7/8] cmd.exe /C "cd /D C:\Users\henri\Documentos\Projetos_MPCI\teste_i2s_std\build\esp-idf\esptool_py && C:\Users\henri\.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:/Users/henri/esp/v5.2.1/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/Users/henri/Documentos/Projetos_MPCI/teste_i2s_std/build/partition_table/partition-table.bin C:/Users/henri/Documentos/Projetos_MPCI/teste_i2s_std/build/teste_i2s.bin"
teste_i2s.bin binary size 0x42650 bytes. Smallest app partition is 0x100000 bytes. 0xbd9b0 bytes (74%) free.

[7/8] cmd.exe /C "cd /D C:\Users\henri\esp\v5.2.1\esp-idf\components\esptool_py && C:\Users\henri\.espressif\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=C:/Users/henri/esp/v5.2.1/esp-idf -D SERIAL_TOOL=C:/Users/henri/.espressif/python_env/idf5.2_py3.11_env/Scripts/pythoesptool.py --chip esp32s3 -p COM12 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 teste_i2s.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.7.0
Serial port COM12
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 2MB (AP_3v3)
Crystal is 40MHz
MAC: 3c:84:27:31:cd:50
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 0x00052fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 21072 bytes to 13076...
Writing at 0x00000000... (100 %)
Wrote 21072 bytes (13076 compressed) at 0x00000000 in 0.4 seconds (effective 451.7 kbit/s)...
Hash of data verified.
Compressed 271952 bytes to 139376...
Writing at 0x00010000... (11 %)
Writing at 0x0001c8f8... (22 %)
Writing at 0x000250d7... (33 %)
Writing at 0x0002bb3c... (44 %)
Writing at 0x00031fc2... (55 %)
Writing at 0x00039989... (66 %)
Writing at 0x00042be5... (77 %)
Writing at 0x00048a23... (88 %)
Writing at 0x0004f216... (100 %)
Wrote 271952 bytes (139376 compressed) at 0x00010000 in 2.6 seconds (effective 849.0 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 586.3 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
n.exe;;C:/Users/henri/esp/v5.2.1/esp-idf/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=C:/Users/henri/Documentos/Projetos_MPCI/teste_i2s_std/build -P C:/Users/henri/esp/v5.2.1/esp-idf/components/esptool_py/run_serial_tool.cmake"
