[1/17] Performing build step for 'ulp_main' ninja: no work to do. [2/13] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/led_matrix_main.c.obj E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/led_matrix_main.c: In function 'app_main': E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/led_matrix_main.c:28:9: warning: unused variable 'brightness' [-Wunused-variable] 28 | int brightness = 0; | ^~~~~~~~~~ At top level: E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/led_matrix_main.c:11:20: warning: 'TAG' defined but not used [-Wunused-variable] 11 | static const char *TAG = "main"; | ^~~ [3/13] Performing build step for 'bootloader' [1/1] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\led_matrix\build\bootloader\esp-idf\esptool_py && E:\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe E:/Espressif/frameworks/esp-idf-v5.0.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/bootloader.bin" Bootloader binary size 0x4740 bytes. 0x38c0 bytes (44%) free. [4/11] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/led_matrix.c.obj In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.h:4, from E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/led_matrix.c:6: E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_lcd/include/esp_lcd_panel_io.h:188: warning: "SOC_LCD_I80_SUPPORTED" redefined 188 | #define SOC_LCD_I80_SUPPORTED 1 | In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:13, from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/spinlock.h:11, from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:74, from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/portable.h:58, from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:70, from E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/led_matrix.c:3: E:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include/soc/soc_caps.h:235: note: this is the location of the previous definition 235 | #define SOC_LCD_I80_SUPPORTED (1) /*!< Intel 8080 LCD is supported */ | E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/led_matrix.c:185:1: warning: ignoring attribute 'section (".iram1.3")' because it conflicts with previous 'section (".iram1.2")' [-Wattributes] 185 | { | ^ E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/led_matrix.c:131:23: note: previous declaration here 131 | static void IRAM_ATTR ledc_timer_ovf_isr(void *arg); | ^~~~~~~~~~~~~~~~~~ [5/11] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp_lcd_panel_io_i80_hub75.c.obj In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_lcd/interface/esp_lcd_panel_io_interface.h:10, from E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:25: E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_lcd/include/esp_lcd_panel_io.h:188: warning: "SOC_LCD_I80_SUPPORTED" redefined 188 | #define SOC_LCD_I80_SUPPORTED 1 | In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:13, from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/spinlock.h:11, from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:74, from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/portable.h:58, from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:70, from E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:18: E:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include/soc/soc_caps.h:235: note: this is the location of the previous definition 235 | #define SOC_LCD_I80_SUPPORTED (1) /*!< Intel 8080 LCD is supported */ | E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'hub75_draw_point': E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:146:31: warning: initialization of 'uint16_t (*)[8][128]' {aka 'short unsigned int (*)[8][128]'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] 146 | uint16_t (*buf)[8][128] = i80_device->bus->format_buffer; | ^~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:147:30: warning: unused variable 'max_scan_times' [-Wunused-variable] 147 | int w, h, max_scan_line, max_scan_times; | ^~~~~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'hub75_send_line': E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:211:31: warning: initialization of 'uint16_t (*)[8][128]' {aka 'short unsigned int (*)[8][128]'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] 211 | uint16_t (*buf)[8][128] = i80_device->bus->format_buffer; | ^~~~~~~~~~ [6/11] Linking C static library esp-idf\main\libmain.a [7/11] Generating ld/sections.ld [8/11] Linking CXX executable led_matrix.elf [9/11] Generating binary image from built executable esptool.py v4.6.2 Creating esp32s3 image... Merged 2 ELF sections Successfully created esp32s3 image. Generated E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/led_matrix.bin [10/11] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\led_matrix\build\esp-idf\esptool_py && E:\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe E:/Espressif/frameworks/esp-idf-v5.0.4/components/partition_table/check_sizes.py --offset 0x8000 partition --type app E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/partition_table/partition-table.bin E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/led_matrix.bin" led_matrix.bin binary size 0x37920 bytes. Smallest app partition is 0x100000 bytes. 0xc86e0 bytes (78%) free. [10/11] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\components\esptool_py && E:\Espressif\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=E:/Espressif/frameworks/esp-idf-v5.0.4 -D SERIAL_TOOL=E:/Espressif/python_env/idf5.0_py3.11_env/Scripts/python.exe;;E:/Espressif/frameworks/esp-idf-v5.0.4/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:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build -P E:/Espressif/frameworks/esp-idf-v5.0.4/components/esptool_py/run_serial_tool.cmake" esptool esp32s3 -p COM3 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 led_matrix.bin 0x8000 partition_table/partition-table.bin esptool.py v4.6.2 Serial port COM3 A fatal error occurred: Could not open COM3, the port doesn't exist FAILED: CMakeFiles/flash E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/CMakeFiles/flash cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\components\esptool_py && E:\Espressif\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=E:/Espressif/frameworks/esp-idf-v5.0.4 -D SERIAL_TOOL=E:/Espressif/python_env/idf5.0_py3.11_env/Scripts/python.exe;;E:/Espressif/frameworks/esp-idf-v5.0.4/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:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build -P E:/Espressif/frameworks/esp-idf-v5.0.4/components/esptool_py/run_serial_tool.cmake" ninja: build stopped: subcommand failed.