Command: ninja flash
[1/10] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/boards/esp32s3-2.8-a/esp32s3-2.8-a.cc.obj
In file included from E:/software/xiaozhi-esp32-main/main/boards/esp32s3-2.8-a/power_manager.h:8,
                 from E:/software/xiaozhi-esp32-main/main/boards/esp32s3-2.8-a/esp32s3-2.8-a.cc:29:
D:/Espressif/frameworks/esp-idf-v5.5.2/components/driver/deprecated/driver/adc.h:19:2: warning: #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively" [-Wcpp]
   19 | #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively"
      |  ^~~~~~~
[2/10] Performing build step for 'bootloader'
[1/1] C:\windows\system32\cmd.exe /C "cd /D E:\software\xiaozhi-esp32-main\build\bootloader\esp-idf\esptool_py && D:\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:/Espressif/frameworks/esp-idf-v5.5.2/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 E:/software/xiaozhi-esp32-main/build/bootloader/bootloader.bin"

Bootloader binary size 0x4050 bytes. 0x3fb0 bytes (50%) free.


[3/10] No install step for 'bootloader'
[4/10] Completed 'bootloader'
[5/10] Linking C static library esp-idf\main\libmain.a
[6/10] Generating esp-idf/esp_system/ld/sections.ld
[7/10] Linking CXX executable xiaozhi.elf
[8/10] Generating binary image from built executable
esptool.py v4.11.dev2

Creating esp32s3 image...

Merged 2 ELF sections

Successfully created esp32s3 image.

Generated E:/software/xiaozhi-esp32-main/build/xiaozhi.bin
[9/10] C:\windows\system32\cmd.exe /C "cd /D E:\software\xiaozhi-esp32-main\build\esp-idf\esptool_py && D:\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:/Espressif/frameworks/esp-idf-v5.5.2/components/partition_table/check_sizes.py --offset 0x8000 partition --type app E:/software/xiaozhi-esp32-main/build/partition_table/partition-table.bin E:/software/xiaozhi-esp32-main/build/xiaozhi.bin"
xiaozhi.bin binary size 0x2a3ff0 bytes. Smallest app partition is 0x3f0000 bytes. 0x14c010 bytes (33%) free.

[9/10] C:\windows\system32\cmd.exe /C "cd /D D:\Espressif\frameworks\esp-idf-v5.5.2\components\esptool_py && D:\Espressif\tools\cmake\3.30.2\bin\cmake.exe -D IDF_PATH=D:/Espressif/frameworks/esp-idf-v5.5.2 -D SERIAL_TOOL=D:/Espressif/python_env/idf5.5_py3.11_env/Scripts/python.exe;;D:/Espressif/frameworks/esp-idf-v5.5.2/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=E:/software/xiaozhi-esp32-main/build -P D:/Espressif/frameworks/esp-idf-v5.5.2/components/esptool_py/run_serial_tool.cmake"
esptool.py --chip esp32s3 -p COM3 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x20000 xiaozhi.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin 0x800000 generated_assets.bin
esptool.py v4.11.dev2
Serial port COM3
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
USB mode: USB-Serial/JTAG
MAC: 44:1b:f6:cf:70:5c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00020000 to 0x002c3fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Flash will be erased from 0x00800000 to 0x00970fff...
SHA digest in image updated
Compressed 16464 bytes to 11431...
Writing at 0x00000000... (100 %)
Wrote 16464 bytes (11431 compressed) at 0x00000000 in 0.4 seconds (effective 336.7 kbit/s)...
Hash of data verified.
Compressed 2768880 bytes to 1609365...
Writing at 0x00020000... (1 %)
Writing at 0x0002bedf... (2 %)
Writing at 0x00039d08... (3 %)
Writing at 0x00045cf2... (4 %)
Writing at 0x0004d3fc... (5 %)
Writing at 0x00051740... (6 %)
Writing at 0x00055a24... (7 %)
Writing at 0x000637ad... (8 %)
Writing at 0x0006d8e7... (9 %)
Writing at 0x0007972a... (10 %)
Writing at 0x000851d9... (11 %)
Writing at 0x0008b65d... (12 %)
Writing at 0x00092563... (13 %)
Writing at 0x00096d0a... (14 %)
Writing at 0x0009d65d... (15 %)
Writing at 0x000a297d... (16 %)
Writing at 0x000a75e3... (17 %)
Writing at 0x000ac606... (18 %)
Writing at 0x000b1b6d... (19 %)
Writing at 0x000b9ff8... (20 %)
Writing at 0x000c346c... (21 %)
Writing at 0x000d5f05... (22 %)
Writing at 0x000e5060... (23 %)
Writing at 0x000ed7e1... (24 %)
Writing at 0x000f3605... (25 %)
Writing at 0x000f8dc1... (26 %)
Writing at 0x000ff25e... (27 %)
Writing at 0x001054b8... (28 %)
Writing at 0x0010bc64... (29 %)
Writing at 0x00111f2c... (30 %)
Writing at 0x0011830a... (31 %)
Writing at 0x0011e181... (32 %)
Writing at 0x00123da4... (33 %)
Writing at 0x00129ec5... (34 %)
Writing at 0x0012f871... (35 %)
Writing at 0x00135231... (36 %)
Writing at 0x0013a53a... (37 %)
Writing at 0x001409cb... (38 %)
Writing at 0x00147102... (39 %)
Writing at 0x0014d8f7... (40 %)
Writing at 0x00169bb4... (41 %)
Writing at 0x00173ab9... (42 %)
Writing at 0x0017985d... (43 %)
Writing at 0x0017e882... (44 %)
Writing at 0x0018392e... (45 %)
Writing at 0x001887a6... (46 %)
Writing at 0x0018d82a... (47 %)
Writing at 0x00192c91... (48 %)
Writing at 0x00197cbe... (49 %)
Writing at 0x0019cc0e... (50 %)
Writing at 0x001a274a... (51 %)
Writing at 0x001a83e3... (52 %)
Writing at 0x001ada9e... (53 %)
Writing at 0x001b2ea5... (54 %)
Writing at 0x001b8b18... (55 %)
Writing at 0x001bde83... (56 %)
Writing at 0x001c3273... (57 %)
Writing at 0x001c873e... (58 %)
Writing at 0x001cebd6... (59 %)
Writing at 0x001d40ea... (60 %)
Writing at 0x001da57b... (61 %)
Writing at 0x001e03fb... (62 %)
Writing at 0x001e59d7... (63 %)
Writing at 0x001eab67... (64 %)
Writing at 0x001eff39... (65 %)
Writing at 0x001f54c0... (66 %)
Writing at 0x001fa985... (67 %)
Writing at 0x00200328... (68 %)
Writing at 0x002058aa... (69 %)
Writing at 0x0020adbe... (70 %)
Writing at 0x002102b6... (71 %)
Writing at 0x002158ef... (72 %)
Writing at 0x0021aa9b... (73 %)
Writing at 0x0021fb6f... (74 %)
Writing at 0x002252a6... (75 %)
Writing at 0x0022ab04... (76 %)
Writing at 0x0022ff75... (77 %)
Writing at 0x0023532d... (78 %)
Writing at 0x0023a8d7... (79 %)
Writing at 0x00240886... (80 %)
Writing at 0x0024587e... (81 %)
Writing at 0x0024a966... (82 %)
Writing at 0x00251127... (83 %)
Writing at 0x00258f2a... (84 %)
Writing at 0x00260bd0... (85 %)
Writing at 0x00268a60... (86 %)
Writing at 0x0026eee0... (87 %)
Writing at 0x0027452a... (88 %)
Writing at 0x0027a04f... (89 %)
Writing at 0x0027f8f8... (90 %)
Writing at 0x0028596e... (91 %)
Writing at 0x00294b94... (92 %)
Writing at 0x0029d227... (93 %)
Writing at 0x002a3f92... (94 %)
Writing at 0x002a9094... (95 %)
Writing at 0x002aeb27... (96 %)
Writing at 0x002b65d5... (97 %)
Writing at 0x002bc2e0... (98 %)
Writing at 0x002c25ec... (100 %)
Wrote 2768880 bytes (1609365 compressed) at 0x00020000 in 20.7 seconds (effective 1069.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 142...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (142 compressed) at 0x00008000 in 0.1 seconds (effective 364.2 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Writing at 0x0000d000... (100 %)
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.1 seconds (effective 515.0 kbit/s)...
Hash of data verified.
Compressed 1508864 bytes to 998482...
Writing at 0x00800000... (1 %)
Writing at 0x0081009b... (3 %)
Writing at 0x008172be... (4 %)
Writing at 0x0081d162... (6 %)
Writing at 0x008231cc... (8 %)
Writing at 0x00829363... (9 %)
Writing at 0x0082ee63... (11 %)
Writing at 0x0083496b... (13 %)
Writing at 0x0083aa67... (14 %)
Writing at 0x008406e1... (16 %)
Writing at 0x00846100... (18 %)
Writing at 0x0084b502... (19 %)
Writing at 0x0085136d... (21 %)
Writing at 0x00856965... (22 %)
Writing at 0x0085c5b4... (24 %)
Writing at 0x008619c5... (26 %)
Writing at 0x00866fb4... (27 %)
Writing at 0x0086ca69... (29 %)
Writing at 0x0087225d... (31 %)
Writing at 0x00877434... (32 %)
Writing at 0x0087cbc3... (34 %)
Writing at 0x00882923... (36 %)
Writing at 0x008881c4... (37 %)
Writing at 0x0088dc44... (39 %)
Writing at 0x0089327c... (40 %)
Writing at 0x00898c64... (42 %)
Writing at 0x0089e2c4... (44 %)
Writing at 0x008a37a3... (45 %)
Writing at 0x008a8ad3... (47 %)
Writing at 0x008b1053... (49 %)
Writing at 0x008ba81b... (50 %)
Writing at 0x008cbd1a... (52 %)
Writing at 0x008d351a... (54 %)
Writing at 0x008d7fca... (55 %)
Writing at 0x008dcece... (57 %)
Writing at 0x008e1ef4... (59 %)
Writing at 0x008e6375... (60 %)
Writing at 0x008ead42... (62 %)
Writing at 0x008f0565... (63 %)
Writing at 0x008f5cda... (65 %)
Writing at 0x008fb891... (67 %)
Writing at 0x0090104a... (68 %)
Writing at 0x00905b2a... (70 %)
Writing at 0x0090a180... (72 %)
Writing at 0x0090f6b7... (73 %)
Writing at 0x009149df... (75 %)
Writing at 0x009195c8... (77 %)
Writing at 0x0091e93f... (78 %)
Writing at 0x009244df... (80 %)
Writing at 0x00929be4... (81 %)
Writing at 0x0092eb8c... (83 %)
Writing at 0x0093417e... (85 %)
Writing at 0x00938e90... (86 %)
Writing at 0x0093d94b... (88 %)
Writing at 0x00942aa1... (90 %)
Writing at 0x0094855a... (91 %)
Writing at 0x00950fba... (93 %)
Writing at 0x0095b34b... (95 %)
Writing at 0x00964571... (96 %)
Writing at 0x009686e9... (98 %)
Writing at 0x0096c876... (100 %)
Wrote 1508864 bytes (998482 compressed) at 0x00800000 in 11.6 seconds (effective 1039.1 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
