draw map is ok

This commit is contained in:
snow 2024-01-30 14:14:24 +08:00
parent 3d424cd2e2
commit 35561346b3
42 changed files with 6636 additions and 6291 deletions

View File

@ -1 +1 @@
92fd8f278a4510373767ba0cc47976da E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/i80_controller.bin 6f85fcf21e21c0bb64b72647dc1c9e1e E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/i80_controller.bin

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
42d44b0b931de5c8c5f34f1d1b486cbba7ba32c2 3d424cd2e22b90ae6383ae17c310b7957c7597fc

View File

@ -243,3 +243,21 @@
7 105 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d 7 105 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
7 105 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d 7 105 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
7 105 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d 7 105 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
7 115 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
7 115 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
8 109 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
8 109 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
7 114 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
7 114 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
10 139 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
10 139 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
9 114 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
9 114 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
8 117 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
8 117 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
11 116 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
11 116 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
8 114 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
8 114 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
9 120 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d
9 120 0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size c7811d3c9742f76d

View File

@ -3158,7 +3158,7 @@ build esp-idf/mbedtls/mbedtls/library/CMakeFiles/lib | ${cmake_ninja_workdir}esp
build cmake_object_order_depends_target___idf_esp_app_format: phony || cmake_object_order_depends_target___idf_bootloader_support build cmake_object_order_depends_target___idf_esp_app_format: phony || cmake_object_order_depends_target___idf_bootloader_support
build esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj: C_COMPILER____idf_esp_app_format_ E$:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format/esp_app_desc.c || cmake_object_order_depends_target___idf_esp_app_format build esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj: C_COMPILER____idf_esp_app_format_ E$:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format/esp_app_desc.c || cmake_object_order_depends_target___idf_esp_app_format
DEFINES = -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D PROJECT_NAME=\"i80_controller\" -DPROJECT_VER=\"42d44b0-dirty\" DEFINES = -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D PROJECT_NAME=\"i80_controller\" -DPROJECT_VER=\"3d424cd-dirty\"
DEP_FILE = esp-idf\esp_app_format\CMakeFiles\__idf_esp_app_format.dir\esp_app_desc.c.obj.d DEP_FILE = esp-idf\esp_app_format\CMakeFiles\__idf_esp_app_format.dir\esp_app_desc.c.obj.d
FLAGS = -mlongcalls -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix=. -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS FLAGS = -mlongcalls -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix=. -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS
INCLUDES = -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include/freertos -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/private_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/platform_port/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/include/private -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include/arch INCLUDES = -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include/freertos -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/private_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/platform_port/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/include/private -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include/arch

View File

@ -956,7 +956,7 @@
}, },
{ {
"directory": "E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build", "directory": "E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build",
"command": "E:\\Espressif\\tools\\xtensa-esp32s3-elf\\esp-2022r1-11.2.0\\xtensa-esp32s3-elf\\bin\\xtensa-esp32s3-elf-gcc.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D PROJECT_NAME=\\\"i80_controller\\\" -DPROJECT_VER=\\\"42d44b0-dirty\\\" -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include/freertos -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/private_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/platform_port/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/include/private -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include/arch -mlongcalls -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix=. -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\\\"v5.0.4-dirty\\\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -o esp-idf\\esp_app_format\\CMakeFiles\\__idf_esp_app_format.dir\\esp_app_desc.c.obj -c E:\\Espressif\\frameworks\\esp-idf-v5.0.4\\components\\esp_app_format\\esp_app_desc.c", "command": "E:\\Espressif\\tools\\xtensa-esp32s3-elf\\esp-2022r1-11.2.0\\xtensa-esp32s3-elf\\bin\\xtensa-esp32s3-elf-gcc.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D PROJECT_NAME=\\\"i80_controller\\\" -DPROJECT_VER=\\\"3d424cd-dirty\\\" -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include/freertos -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/private_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/platform_port/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/include/private -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include/arch -mlongcalls -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix=. -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\\\"v5.0.4-dirty\\\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -o esp-idf\\esp_app_format\\CMakeFiles\\__idf_esp_app_format.dir\\esp_app_desc.c.obj -c E:\\Espressif\\frameworks\\esp-idf-v5.0.4\\components\\esp_app_format\\esp_app_desc.c",
"file": "E:\\Espressif\\frameworks\\esp-idf-v5.0.4\\components\\esp_app_format\\esp_app_desc.c" "file": "E:\\Espressif\\frameworks\\esp-idf-v5.0.4\\components\\esp_app_format\\esp_app_desc.c"
}, },
{ {

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

View File

View File

View File

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM3 instead...
--- idf_monitor on \\.\COM3 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
0x40378dfa: esp_cpu_wait_for_intr at E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/cpu.c:110

0x4037524c: call_start_cpu1 at E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/cpu_start.c:143



View File

View File

@ -0,0 +1,9 @@
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM3 instead...
--- idf_monitor on \\.\COM3 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
0x40378dfa: esp_cpu_wait_for_intr at E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/cpu.c:110

0x4037524c: call_start_cpu1 at E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/cpu_start.c:143



View File

View File

View File

@ -0,0 +1,6 @@
CMake Error at run_serial_tool.cmake:58 (message):
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
failed

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,108 @@
[1/11] 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 0x4f90 bytes. 0x3070 bytes (38%) free.
[2/9] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/i80_controller_example_main.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/i80_controller_example_main.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/i80_controller_example_main.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/i80_controller_example_main.c:191:1: warning: ignoring attribute 'section (".iram1.3")' because it conflicts with previous 'section (".iram1.2")' [-Wattributes]
191 | {
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:138:23: note: previous declaration here
138 | static void IRAM_ATTR ledc_timer_ovf_isr(void *arg);
| ^~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:208:13: warning: 'hub75_addr_task' defined but not used [-Wunused-function]
208 | static void hub75_addr_task(void *arg)
| ^~~~~~~~~~~~~~~
[3/9] 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 'test_init_buf':
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] = bus->format_buffer;
| ^~~
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:173: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]
173 | 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:174:30: warning: unused variable 'max_scan_times' [-Wunused-variable]
174 | 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:228: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]
228 | uint16_t (*buf)[8][128] = i80_device->bus->format_buffer;
| ^~~~~~~~~~
[4/9] Linking C static library esp-idf\main\libmain.a
[5/9] Generating ld/sections.ld
[6/9] Linking CXX executable i80_controller.elf
[7/9] 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/i80_controller.bin
[8/9] 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/i80_controller.bin"
i80_controller.bin binary size 0x37b90 bytes. Smallest app partition is 0x100000 bytes. 0xc8470 bytes (78%) free.
[8/9] 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 i80_controller.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.6.2
Serial port COM3
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 60:55:f9:f5:71:08
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 0x00010000 to 0x00047fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 20368 bytes to 12915...
Writing at 0x00000000... (100 %)
Wrote 20368 bytes (12915 compressed) at 0x00000000 in 0.4 seconds (effective 430.8 kbit/s)...
Hash of data verified.
Compressed 228240 bytes to 118780...
Writing at 0x00010000... (12 %)
Writing at 0x0001d2a1... (25 %)
Writing at 0x00023118... (37 %)
Writing at 0x00029511... (50 %)
Writing at 0x0002f468... (62 %)
Writing at 0x00038d42... (75 %)
Writing at 0x000400bc... (87 %)
Writing at 0x00045ef3... (100 %)
Wrote 228240 bytes (118780 compressed) at 0x00010000 in 2.5 seconds (effective 722.9 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 534.3 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...

File diff suppressed because one or more lines are too long

View File

@ -18,78 +18,25 @@ In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_s
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 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 */ 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 'esp_lcd_new_i80_hub75_bus': E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'test_init_buf':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:154:18: error: implicit declaration of function 'lcd_com_register_device' [-Werror=implicit-function-declaration] 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]
154 | int bus_id = lcd_com_register_device(LCD_COM_DEVICE_TYPE_I80, bus); 146 | uint16_t (*buf)[8][128] = bus->format_buffer;
| ^~~~~~~~~~~~~~~~~~~~~~~ | ^~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:154:42: error: 'LCD_COM_DEVICE_TYPE_I80' undeclared (first use in this function) E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'hub75_draw_point':
154 | int bus_id = lcd_com_register_device(LCD_COM_DEVICE_TYPE_I80, bus); E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:173: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]
| ^~~~~~~~~~~~~~~~~~~~~~~ 173 | 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:154:42: note: each undeclared identifier is reported only once for each function it appears in
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:170:21: error: 'LCD_I80_INTR_ALLOC_FLAGS' undeclared (first use in this function)
170 | int isr_flags = LCD_I80_INTR_ALLOC_FLAGS | ESP_INTR_FLAG_SHARED | ESP_INTR_FLAG_LOWMED;
| ^~~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:214:13: error: implicit declaration of function 'lcd_com_remove_device' [-Werror=implicit-function-declaration]
214 | lcd_com_remove_device(LCD_COM_DEVICE_TYPE_I80, bus->bus_id);
| ^~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'esp_lcd_del_i80_hub75_bus':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:233:27: error: 'LCD_COM_DEVICE_TYPE_I80' undeclared (first use in this function)
233 | lcd_com_remove_device(LCD_COM_DEVICE_TYPE_I80, bus_id);
| ^~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'esp_lcd_new_panel_io_i80_hub75':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:267:45: error: 'lcd_panel_io_i80_t' undeclared (first use in this function)
267 | i80_device = heap_caps_calloc(1, sizeof(lcd_panel_io_i80_t) + io_config->trans_queue_depth * sizeof(lcd_i80_trans_descriptor_t), LCD_I80_MEM_ALLOC_CAPS);
| ^~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:267:105: error: 'lcd_i80_trans_descriptor_t' undeclared (first use in this function); did you mean 'lcd_i80_hub75_trans_descriptor_t'?
267 | i80_device = heap_caps_calloc(1, sizeof(lcd_panel_io_i80_t) + io_config->trans_queue_depth * sizeof(lcd_i80_trans_descriptor_t), LCD_I80_MEM_ALLOC_CAPS);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| lcd_i80_hub75_trans_descriptor_t
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:267:134: error: 'LCD_I80_MEM_ALLOC_CAPS' undeclared (first use in this function)
267 | i80_device = heap_caps_calloc(1, sizeof(lcd_panel_io_i80_t) + io_config->trans_queue_depth * sizeof(lcd_i80_trans_descriptor_t), LCD_I80_MEM_ALLOC_CAPS);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:20:
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:270:109: error: expected expression before ')' token
270 | i80_device->trans_queue = xQueueCreate(io_config->trans_queue_depth, sizeof(lcd_i80_trans_descriptor_t *));
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/queue.h:162:100: note: in definition of macro 'xQueueCreate'
162 | #define xQueueCreate( uxQueueLength, uxItemSize ) xQueueGenericCreate( ( uxQueueLength ), ( uxItemSize ), ( queueQUEUE_TYPE_BASE ) )
| ^~~~~~~~~~ | ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:272:108: error: expected expression before ')' token E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:174:30: warning: unused variable 'max_scan_times' [-Wunused-variable]
272 | i80_device->done_queue = xQueueCreate(io_config->trans_queue_depth, sizeof(lcd_i80_trans_descriptor_t *)); 174 | int w, h, max_scan_line, max_scan_times;
| ^ | ^~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/queue.h:162:100: note: in definition of macro 'xQueueCreate' E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'hub75_send_line':
162 | #define xQueueCreate( uxQueueLength, uxItemSize ) xQueueGenericCreate( ( uxQueueLength ), ( uxItemSize ), ( queueQUEUE_TYPE_BASE ) ) E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:229: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]
229 | uint16_t (*buf)[8][128] = i80_device->bus->format_buffer;
| ^~~~~~~~~~ | ^~~~~~~~~~
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:11: 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:276:5: error: invalid use of undefined type 'struct lcd_panel_io_i80_t' E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:215:28: error: 'py' may be used uninitialized in this function [-Werror=maybe-uninitialized]
276 | LIST_INSERT_HEAD(&bus->device_list, i80_device, device_list_entry); 215 | buf[i][px][py] = (buf[i][px][py] & ~(0x07)) | get_rgb_value(i, color);
| ^~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:276:5: warning: assignment to 'struct lcd_panel_io_i80_t *' from incompatible pointer type 'lcd_panel_io_i80_hub75_t *' [-Wincompatible-pointer-types]
276 | LIST_INSERT_HEAD(&bus->device_list, i80_device, device_list_entry);
| ^~~~~~~~~~~~~~~~
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:11:
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'panel_io_i80_del':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:341:5: error: invalid use of undefined type 'struct lcd_panel_io_i80_t'
341 | LIST_REMOVE(i80_device, device_list_entry);
| ^~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'panel_io_i80_tx_param':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:448:5: error: implicit declaration of function 'lcd_com_mount_dma_data' [-Werror=implicit-function-declaration]
448 | lcd_com_mount_dma_data(bus->dma_nodes, trans_desc->data, trans_desc->data_length);
| ^~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'lcd_i80_select_periph_clock':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:516:48: error: 'LCD_PERIPH_CLOCK_PRE_SCALE' undeclared (first use in this function)
516 | lcd_ll_set_group_clock_coeff(bus->hal.dev, LCD_PERIPH_CLOCK_PRE_SCALE, 0, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c: In function 'lcd_default_isr_handler':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:662:37: error: 'esp_lcd_i80_bus_t' undeclared (first use in this function)
662 | esp_lcd_i80_hub75_bus_t *bus = (esp_lcd_i80_bus_t *)args;
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:662:56: error: expected expression before ')' token
662 | esp_lcd_i80_hub75_bus_t *bus = (esp_lcd_i80_bus_t *)args;
| ^ | ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:699:9: warning: assignment to 'lcd_panel_io_i80_hub75_t *' from incompatible pointer type 'struct lcd_panel_io_i80_t *' [-Wincompatible-pointer-types] E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:215:28: error: 'px' may be used uninitialized in this function [-Werror=maybe-uninitialized]
699 | LIST_FOREACH(next_device, &bus->device_list, device_list_entry) {
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:699:9: warning: assignment to 'lcd_panel_io_i80_hub75_t *' from incompatible pointer type 'struct lcd_panel_io_i80_t *' [-Wincompatible-pointer-types]
cc1.exe: some warnings being treated as errors cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed. ninja: build stopped: subcommand failed.

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,69 @@
I (105) esp_image: segment 1: paddr=0001b254 vaddr=3fc919ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40378dfa
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x168c
load:0x403c9700,len:0xbe0
load:0x403cc700,len:0x2cd0
entry 0x403c9908
I (24) boot: ESP-IDF v5.0.4-dirty 2nd stage bootloader
I (25) boot: compile time 08:38:38
I (25) boot: Multicore bootloader
I (27) boot: chip revision: v0.1
I (31) boot.esp32s3: Boot SPI Speed : 80MHz
I (36) boot.esp32s3: SPI Mode : DIO
I (41) boot.esp32s3: SPI Flash Size : 2MB
I (45) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (54) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (69) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (76) boot: 2 factory factory app 00 00 00010000 00100000
I (84) boot: End of partition table
I (88) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0b22ch ( 45612) map
I (105) esp_image: segment 1: paddr=0001b254 vaddr=3fc91900 size=02308h ( 8968) load
I (107) esp_image: segment 2: paddr=0001d564 vaddr=40374000 size=02ab4h ( 10932) load
I (116) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=1cb7ch (117628) map
I (143) esp_image: segment 4: paddr=0003cba4 vaddr=40376ab4 size=0ae04h ( 44548) load
I (159) boot: Loaded app from partition at offset 0x10000
I (159) boot: Disabling RNG early entropy source...
I (159) cpu_start: Multicore app
I (163) cpu_start: Pro cpu up.
I (167) cpu_start: Starting app cpu, entry point is 0x4037524c
I (0) cpu_start: App cpu up.
I (183) cpu_start: Pro cpu start user code
I (183) cpu_start: cpu freq: 160000000 Hz
I (183) cpu_start: Application information:
I (183) cpu_start: Project name: i80_controller
I (183) cpu_start: App version: 3d424cd-dirty
I (184) cpu_start: Compile time: Jan 30 2024 11:59:46
I (184) cpu_start: ELF file SHA256: 3059354a17472764...
I (184) cpu_start: ESP-IDF: v5.0.4-dirty
I (184) cpu_start: Min chip rev: v0.0
I (184) cpu_start: Max chip rev: v0.99 
I (185) cpu_start: Chip rev: v0.1
I (185) heap_init: Initializing. RAM available for dynamic allocation:
I (185) heap_init: At 3FC94678 len 00055098 (340 KiB): DRAM
I (186) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (186) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (186) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (187) spi_flash: detected chip: gd
I (188) spi_flash: flash io: dio
W (188) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (189) sleep: Configure to isolate all GPIO pins in sleep state
I (189) sleep: Enable automatic switching of GPIO sleep configuration
I (190) app_start: Starting scheduler on CPU0
I (190) app_start: Starting scheduler on CPU1
I (190) main_task: Started on CPU0
I (200) main_task: Calling app_main()
I (200) led matrix: Initialize Intel 8080 bus
I (200) gpio: GPIO[8]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[33]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[34]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[35]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[36]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) led matrix: led_matrix_oe_lat_ledc_init

View File

@ -0,0 +1,69 @@
I (105) esp_image: segment 1: paddr=0001b284 vaddr=3fc919ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40378dfa
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x168c
load:0x403c9700,len:0xbe0
load:0x403cc700,len:0x2cd0
entry 0x403c9908
I (24) boot: ESP-IDF v5.0.4-dirty 2nd stage bootloader
I (25) boot: compile time 08:38:38
I (25) boot: Multicore bootloader
I (27) boot: chip revision: v0.1
I (31) boot.esp32s3: Boot SPI Speed : 80MHz
I (36) boot.esp32s3: SPI Mode : DIO
I (41) boot.esp32s3: SPI Flash Size : 2MB
I (45) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (54) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (69) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (76) boot: 2 factory factory app 00 00 00010000 00100000
I (84) boot: End of partition table
I (88) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0b25ch ( 45660) map
I (105) esp_image: segment 1: paddr=0001b284 vaddr=3fc91900 size=02308h ( 8968) load
I (107) esp_image: segment 2: paddr=0001d594 vaddr=40374000 size=02a84h ( 10884) load
I (116) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=1ccb0h (117936) map
I (143) esp_image: segment 4: paddr=0003ccd8 vaddr=40376a84 size=0ae34h ( 44596) load
I (159) boot: Loaded app from partition at offset 0x10000
I (159) boot: Disabling RNG early entropy source...
I (159) cpu_start: Multicore app
I (163) cpu_start: Pro cpu up.
I (167) cpu_start: Starting app cpu, entry point is 0x4037524c
I (0) cpu_start: App cpu up.
I (183) cpu_start: Pro cpu start user code
I (183) cpu_start: cpu freq: 160000000 Hz
I (183) cpu_start: Application information:
I (183) cpu_start: Project name: i80_controller
I (183) cpu_start: App version: 3d424cd-dirty
I (184) cpu_start: Compile time: Jan 30 2024 11:59:46
I (184) cpu_start: ELF file SHA256: d9416892c34dd0b6...
I (184) cpu_start: ESP-IDF: v5.0.4-dirty
I (184) cpu_start: Min chip rev: v0.0
I (185) cpu_start: Max chip rev: v0.99 
I (185) cpu_start: Chip rev: v0.1
I (185) heap_init: Initializing. RAM available for dynamic allocation:
I (185) heap_init: At 3FC94678 len 00055098 (340 KiB): DRAM
I (186) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (186) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (186) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (187) spi_flash: detected chip: gd
I (188) spi_flash: flash io: dio
W (188) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (189) sleep: Configure to isolate all GPIO pins in sleep state
I (189) sleep: Enable automatic switching of GPIO sleep configuration
I (190) app_start: Starting scheduler on CPU0
I (190) app_start: Starting scheduler on CPU1
I (190) main_task: Started on CPU0
I (200) main_task: Calling app_main()
I (200) led matrix: Initialize Intel 8080 bus
I (200) gpio: GPIO[8]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[33]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[34]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[35]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[36]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) led matrix: led_matrix_oe_lat_ledc_init

View File

@ -0,0 +1,84 @@
[1/10] 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 0x4f90 bytes. 0x3070 bytes (38%) free.
[2/8] 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 'test_init_buf':
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] = bus->format_buffer;
| ^~~
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:173: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]
173 | 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:174:30: warning: unused variable 'max_scan_times' [-Wunused-variable]
174 | 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:229: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]
229 | uint16_t (*buf)[8][128] = i80_device->bus->format_buffer;
| ^~~~~~~~~~
[3/8] Linking C static library esp-idf\main\libmain.a
[4/8] Generating ld/sections.ld
[5/8] Linking CXX executable i80_controller.elf
[6/8] 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/i80_controller.bin
[7/8] 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/i80_controller.bin"
i80_controller.bin binary size 0x37b30 bytes. Smallest app partition is 0x100000 bytes. 0xc84d0 bytes (78%) free.
[7/8] 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 i80_controller.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.6.2
Serial port COM3
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 60:55:f9:f5:71:08
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 0x00010000 to 0x00047fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 20368 bytes to 12915...
Writing at 0x00000000... (100 %)
Wrote 20368 bytes (12915 compressed) at 0x00000000 in 0.4 seconds (effective 437.1 kbit/s)...
Hash of data verified.
Compressed 228144 bytes to 118705...
Writing at 0x00010000... (12 %)
Writing at 0x0001d292... (25 %)
Writing at 0x00023107... (37 %)
Writing at 0x0002956a... (50 %)
Writing at 0x0002f45a... (62 %)
Writing at 0x00038d38... (75 %)
Writing at 0x000400f4... (87 %)
Writing at 0x00045f15... (100 %)
Wrote 228144 bytes (118705 compressed) at 0x00010000 in 2.5 seconds (effective 723.7 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 521.2 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...

View File

@ -0,0 +1,69 @@
I (105) esp_image: segment 1: paddr=0001b284 vaddr=3fc919ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40378dfa
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x168c
load:0x403c9700,len:0xbe0
load:0x403cc700,len:0x2cd0
entry 0x403c9908
I (24) boot: ESP-IDF v5.0.4-dirty 2nd stage bootloader
I (25) boot: compile time 08:38:38
I (25) boot: Multicore bootloader
I (27) boot: chip revision: v0.1
I (31) boot.esp32s3: Boot SPI Speed : 80MHz
I (36) boot.esp32s3: SPI Mode : DIO
I (41) boot.esp32s3: SPI Flash Size : 2MB
I (45) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (54) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (69) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (76) boot: 2 factory factory app 00 00 00010000 00100000
I (84) boot: End of partition table
I (88) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0b25ch ( 45660) map
I (105) esp_image: segment 1: paddr=0001b284 vaddr=3fc91900 size=02308h ( 8968) load
I (107) esp_image: segment 2: paddr=0001d594 vaddr=40374000 size=02a84h ( 10884) load
I (116) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=1cd10h (118032) map
I (143) esp_image: segment 4: paddr=0003cd38 vaddr=40376a84 size=0ae34h ( 44596) load
I (159) boot: Loaded app from partition at offset 0x10000
I (159) boot: Disabling RNG early entropy source...
I (160) cpu_start: Multicore app
I (163) cpu_start: Pro cpu up.
I (167) cpu_start: Starting app cpu, entry point is 0x4037524c
I (0) cpu_start: App cpu up.
I (183) cpu_start: Pro cpu start user code
I (183) cpu_start: cpu freq: 160000000 Hz
I (183) cpu_start: Application information:
I (183) cpu_start: Project name: i80_controller
I (183) cpu_start: App version: 3d424cd-dirty
I (184) cpu_start: Compile time: Jan 30 2024 11:59:46
I (184) cpu_start: ELF file SHA256: ad1a982df29846b1...
I (184) cpu_start: ESP-IDF: v5.0.4-dirty
I (184) cpu_start: Min chip rev: v0.0
I (185) cpu_start: Max chip rev: v0.99 
I (185) cpu_start: Chip rev: v0.1
I (185) heap_init: Initializing. RAM available for dynamic allocation:
I (185) heap_init: At 3FC94678 len 00055098 (340 KiB): DRAM
I (186) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (186) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (186) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (187) spi_flash: detected chip: gd
I (188) spi_flash: flash io: dio
W (188) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (189) sleep: Configure to isolate all GPIO pins in sleep state
I (190) sleep: Enable automatic switching of GPIO sleep configuration
I (190) app_start: Starting scheduler on CPU0
I (190) app_start: Starting scheduler on CPU1
I (190) main_task: Started on CPU0
I (200) main_task: Calling app_main()
I (200) led matrix: Initialize Intel 8080 bus
I (200) gpio: GPIO[8]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[33]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[34]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[35]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[36]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (200) led matrix: led_matrix_oe_lat_ledc_init

View File

@ -0,0 +1,45 @@
[1/5] 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/i80_controller.bin"
i80_controller.bin binary size 0x379d0 bytes. Smallest app partition is 0x100000 bytes. 0xc8630 bytes (78%) free.
[2/5] 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 0x4f90 bytes. 0x3070 bytes (38%) free.
[2/3] 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 i80_controller.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.6.2
Serial port COM3
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 60:55:f9:f5:71:08
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 0x00010000 to 0x00047fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 20368 bytes to 12915...
Writing at 0x00000000... (100 %)
Wrote 20368 bytes (12915 compressed) at 0x00000000 in 0.4 seconds (effective 439.4 kbit/s)...
Hash of data verified.
Compressed 227792 bytes to 118428...
Writing at 0x00010000... (12 %)
Writing at 0x0001d300... (25 %)
Writing at 0x00023124... (37 %)
Writing at 0x00029665... (50 %)
Writing at 0x0002f44c... (62 %)
Writing at 0x00038d63... (75 %)
Writing at 0x0004011d... (87 %)
Writing at 0x00045f3f... (100 %)
Wrote 227792 bytes (118428 compressed) at 0x00010000 in 2.5 seconds (effective 721.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 515.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...

View File

@ -0,0 +1,58 @@
[0/1] Re-running CMake...
-- ccache will be used for faster recompilation
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/sdkconfig
-- App "i80_controller" version: 3d424cd-dirty
-- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/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_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_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump 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: E:/Espressif/frameworks/esp-idf-v5.0.4/components/app_trace E:/Espressif/frameworks/esp-idf-v5.0.4/components/app_update E:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader E:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader_support E:/Espressif/frameworks/esp-idf-v5.0.4/components/bt E:/Espressif/frameworks/esp-idf-v5.0.4/components/cmock E:/Espressif/frameworks/esp-idf-v5.0.4/components/console E:/Espressif/frameworks/esp-idf-v5.0.4/components/cxx E:/Espressif/frameworks/esp-idf-v5.0.4/components/driver E:/Espressif/frameworks/esp-idf-v5.0.4/components/efuse E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp-tls E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_adc E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_eth E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_event E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_gdbstub E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hid E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_http_client E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_http_server E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_https_ota E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_https_server E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_lcd E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_local_ctrl E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_netif E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_partition E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_phy E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_pm E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_psram E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_ringbuf E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_timer E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_wifi E:/Espressif/frameworks/esp-idf-v5.0.4/components/espcoredump E:/Espressif/frameworks/esp-idf-v5.0.4/components/esptool_py E:/Espressif/frameworks/esp-idf-v5.0.4/components/fatfs E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos E:/Espressif/frameworks/esp-idf-v5.0.4/components/hal E:/Espressif/frameworks/esp-idf-v5.0.4/components/heap E:/Espressif/frameworks/esp-idf-v5.0.4/components/http_parser E:/Espressif/frameworks/esp-idf-v5.0.4/components/idf_test E:/Espressif/frameworks/esp-idf-v5.0.4/components/ieee802154 E:/Espressif/frameworks/esp-idf-v5.0.4/components/json E:/Espressif/frameworks/esp-idf-v5.0.4/components/log E:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main E:/Espressif/frameworks/esp-idf-v5.0.4/components/mbedtls E:/Espressif/frameworks/esp-idf-v5.0.4/components/mqtt E:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib E:/Espressif/frameworks/esp-idf-v5.0.4/components/nvs_flash E:/Espressif/frameworks/esp-idf-v5.0.4/components/openthread E:/Espressif/frameworks/esp-idf-v5.0.4/components/partition_table E:/Espressif/frameworks/esp-idf-v5.0.4/components/perfmon E:/Espressif/frameworks/esp-idf-v5.0.4/components/protobuf-c E:/Espressif/frameworks/esp-idf-v5.0.4/components/protocomm E:/Espressif/frameworks/esp-idf-v5.0.4/components/pthread E:/Espressif/frameworks/esp-idf-v5.0.4/components/sdmmc E:/Espressif/frameworks/esp-idf-v5.0.4/components/soc E:/Espressif/frameworks/esp-idf-v5.0.4/components/spi_flash E:/Espressif/frameworks/esp-idf-v5.0.4/components/spiffs E:/Espressif/frameworks/esp-idf-v5.0.4/components/tcp_transport E:/Espressif/frameworks/esp-idf-v5.0.4/components/touch_element E:/Espressif/frameworks/esp-idf-v5.0.4/components/ulp E:/Espressif/frameworks/esp-idf-v5.0.4/components/unity E:/Espressif/frameworks/esp-idf-v5.0.4/components/usb E:/Espressif/frameworks/esp-idf-v5.0.4/components/vfs E:/Espressif/frameworks/esp-idf-v5.0.4/components/wear_levelling E:/Espressif/frameworks/esp-idf-v5.0.4/components/wifi_provisioning E:/Espressif/frameworks/esp-idf-v5.0.4/components/wpa_supplicant E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build
[1/11] 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 0x4f90 bytes. 0x3070 bytes (38%) free.
[2/9] Building C object esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj
[3/9] Linking C static library esp-idf\esp_app_format\libesp_app_format.a
[4/9] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/i80_controller_example_main.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/i80_controller_example_main.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/i80_controller_example_main.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/i80_controller_example_main.c:187:1: warning: ignoring attribute 'section (".iram1.3")' because it conflicts with previous 'section (".iram1.2")' [-Wattributes]
187 | {
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:134:23: note: previous declaration here
134 | static void IRAM_ATTR ledc_timer_ovf_isr(void *arg);
| ^~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:204:13: warning: 'hub75_addr_task' defined but not used [-Wunused-function]
204 | static void hub75_addr_task(void *arg)
| ^~~~~~~~~~~~~~~
[5/9] Linking C static library esp-idf\main\libmain.a
[6/9] Generating ld/sections.ld
[7/9] Linking CXX executable i80_controller.elf
[8/9] 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/i80_controller.bin
[9/9] 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/i80_controller.bin"
i80_controller.bin binary size 0x379d0 bytes. Smallest app partition is 0x100000 bytes. 0xc8630 bytes (78%) free.

View File

@ -0,0 +1,14 @@
[1/5] 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/i80_controller.bin"
i80_controller.bin binary size 0x379d0 bytes. Smallest app partition is 0x100000 bytes. 0xc8630 bytes (78%) free.
[2/5] 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 0x4f90 bytes. 0x3070 bytes (38%) free.
[2/3] 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 i80_controller.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.

View File

@ -1,7 +1,7 @@
{ {
"version": "1", "version": "1",
"project_name": "i80_controller", "project_name": "i80_controller",
"project_version": "42d44b0-dirty", "project_version": "3d424cd-dirty",
"project_path": "E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix", "project_path": "E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix",
"idf_path": "E:/Espressif/frameworks/esp-idf-v5.0.4", "idf_path": "E:/Espressif/frameworks/esp-idf-v5.0.4",
"build_dir": "E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build", "build_dir": "E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build",

View File

@ -74,14 +74,14 @@ struct esp_lcd_i80_hub75_bus_t {
int latch_gpio_num; int latch_gpio_num;
int oe_gpio_num; int oe_gpio_num;
uint16_t *frame_buffers; uint16_t *frame_buffers;
int width;
int height;
int format_buffer_len; int format_buffer_len;
int format_buffer_index; int format_buffer_index;
int max_scan_times; // 每页行最多扫描次数,和全彩显示有关系 int max_scan_times; // 每页行最多扫描次数,和全彩显示有关系
int max_scan_line; // 最多扫描行 int max_scan_line; // 最多扫描行
int max_transfer_bytes; // 最多一次发送的数据,也就是一行的数据个数 int max_transfer_bytes; // 最多一次发送的数据,也就是一行的数据个数
int width;
int height;
int cur_scan_times; int cur_scan_times;
int cur_scan_line; int cur_scan_line;
@ -164,6 +164,74 @@ void test_init_buf(esp_lcd_i80_hub75_bus_handle_t bus)
buf[0][5][2] = 0x9; buf[0][5][2] = 0x9;
} }
#define get_rgb_one_value(n, x) (n < (x) ? 1 : 0) /* 判断r、g、b其中一个本次是否应该点亮 */
#define get_rgb_value(n, x) (get_rgb_one_value(n, (x >> 5) & 0x07) | (get_rgb_one_value(n, (x >> 3) & 0x03) << 1) | (get_rgb_one_value(n, x & 0x07) << 2))
int hub75_draw_point(esp_lcd_panel_io_handle_t io, int x, int y, uint8_t color)
{
lcd_panel_io_i80_hub75_t *i80_device = __containerof(io, lcd_panel_io_i80_hub75_t, base);
uint16_t (*buf)[8][128] = i80_device->bus->format_buffer;
int w, h, max_scan_line, max_scan_times;
w = i80_device->bus->width;
h = i80_device->bus->height;
max_scan_line = i80_device->bus->max_scan_line;
int px = 0, py = 0, ch = 0; /* 在发送缓冲区中的x,y坐标ch决定是RGB0还是RGB1 */
if (x < 0 || x >= h || y < 0 || y >= w)
{
ESP_LOGE(TAG, "point over range %d * %d", h, w);
return -1;
}
if (x < max_scan_line)
{
ch = 0;
px = x;
py = y + w;
}
else if (x < 2 * max_scan_line)
{
ch = 0;
px = x % max_scan_line;
py = y;
}
else if (x < 3 * max_scan_line)
{
ch = 1;
px = x;
py = y + w;
}
else if (x < 4 * max_scan_line)
{
ch = 1;
px = x % max_scan_line;
py = y;
}
int i;
for (i = 0; i < 8; i++)
{
if (ch == 0)
buf[i][px][py] = (buf[i][px][py] & ~(0x07)) | get_rgb_value(i, color);
else if (ch == 1)
buf[i][px][py] = (buf[i][px][py] & ~(0x07 << 3)) | (get_rgb_value(i, color) << 3);
}
return 0;
}
/* 使用color填充区域[(x0, y0), (x1, y1)) */
void led_matrix_fill_rectangle(esp_lcd_panel_io_handle_t io, int x0, int y0, int x1, int y1, void *color)
{
int i, j, k = 0;
for (i = x0; i < x1; i++)
for (j = y0; j < y1; j++)
hub75_draw_point(io, i, j, ((uint8_t *)color)[k++]);
}
void hub75_send_line(esp_lcd_panel_io_handle_t io, int times, int line) void hub75_send_line(esp_lcd_panel_io_handle_t io, int times, int line)
{ {
lcd_panel_io_i80_hub75_t *i80_device = __containerof(io, lcd_panel_io_i80_hub75_t, base); lcd_panel_io_i80_hub75_t *i80_device = __containerof(io, lcd_panel_io_i80_hub75_t, base);
@ -197,6 +265,8 @@ esp_err_t esp_lcd_new_i80_hub75_bus(const esp_lcd_i80_hub75_bus_config_t *bus_co
bus->max_scan_line = bus_config->max_scan_line; bus->max_scan_line = bus_config->max_scan_line;
bus->max_scan_times = bus_config->max_scan_times; bus->max_scan_times = bus_config->max_scan_times;
bus->max_transfer_bytes = bus_config->max_transfer_bytes; bus->max_transfer_bytes = bus_config->max_transfer_bytes;
bus->height = bus_config->height;
bus->width = bus_config->width;
// register to platform // register to platform
int bus_id = lcd_com_register_device(LCD_COM_DEVICE_TYPE_I80, bus); int bus_id = lcd_com_register_device(LCD_COM_DEVICE_TYPE_I80, bus);
ESP_GOTO_ON_FALSE(bus_id >= 0, ESP_ERR_NOT_FOUND, err, TAG, "no free i80 hub75 bus slot"); ESP_GOTO_ON_FALSE(bus_id >= 0, ESP_ERR_NOT_FOUND, err, TAG, "no free i80 hub75 bus slot");

View File

@ -20,6 +20,8 @@ typedef struct {
int max_scan_times; // 每页行最多扫描次数,和全彩显示有关系 int max_scan_times; // 每页行最多扫描次数,和全彩显示有关系
int max_scan_line; // 最多扫描行 int max_scan_line; // 最多扫描行
int max_transfer_bytes; // 最多一次发送的数据,也就是一行的数据个数 int max_transfer_bytes; // 最多一次发送的数据,也就是一行的数据个数
int width;
int height;
} esp_lcd_i80_hub75_bus_config_t; } esp_lcd_i80_hub75_bus_config_t;
/** /**
@ -88,5 +90,7 @@ esp_err_t esp_lcd_new_panel_io_i80_hub75(esp_lcd_i80_hub75_bus_handle_t bus, con
void hub75_send_line(esp_lcd_panel_io_handle_t io, int times, int line); void hub75_send_line(esp_lcd_panel_io_handle_t io, int times, int line);
void test_init_buf(esp_lcd_i80_hub75_bus_handle_t bus); void test_init_buf(esp_lcd_i80_hub75_bus_handle_t bus);
int hub75_draw_point(esp_lcd_panel_io_handle_t io, int x, int y, uint8_t color);
void led_matrix_fill_rectangle(esp_lcd_panel_io_handle_t io, int x0, int y0, int x1, int y1, void *color);
#endif #endif

View File

@ -21,6 +21,8 @@ static const char *TAG = "led matrix";
#define HUB75_MAX_SCAN_LINE (8) /* 最多扫描行 */ #define HUB75_MAX_SCAN_LINE (8) /* 最多扫描行 */
#define HUB75_MAX_TRANSFER_DATA_NUM (128) /* 最多发送128个uint16数据 */ #define HUB75_MAX_TRANSFER_DATA_NUM (128) /* 最多发送128个uint16数据 */
#define HUB75_MAX_TRANSFER_BUTES (HUB75_MAX_TRANSFER_DATA_NUM * 2) #define HUB75_MAX_TRANSFER_BUTES (HUB75_MAX_TRANSFER_DATA_NUM * 2)
#define HUB75_WIDTH (64)
#define HUB75_HEIGHT (32)
#define HUB75_LINE_ADDR_A_PIN_NUM 33 #define HUB75_LINE_ADDR_A_PIN_NUM 33
#define HUB75_LINE_ADDR_B_PIN_NUM 34 #define HUB75_LINE_ADDR_B_PIN_NUM 34
@ -81,6 +83,8 @@ void led_matrix_i80_hub75_bus_init(void)
.max_transfer_bytes = HUB75_MAX_TRANSFER_BUTES, /* 每次发一行 */ .max_transfer_bytes = HUB75_MAX_TRANSFER_BUTES, /* 每次发一行 */
.max_scan_line = HUB75_MAX_SCAN_LINE, .max_scan_line = HUB75_MAX_SCAN_LINE,
.max_scan_times = HUB75_MAX_SCAN_TIMES, .max_scan_times = HUB75_MAX_SCAN_TIMES,
.height = HUB75_HEIGHT,
.width = HUB75_WIDTH,
.psram_trans_align = PSRAM_DATA_ALIGNMENT, .psram_trans_align = PSRAM_DATA_ALIGNMENT,
.sram_trans_align = 4, .sram_trans_align = 4,
}; };
@ -126,9 +130,9 @@ void led_matrix_addr_gpio_init(void)
#define LEDC_MODE LEDC_LOW_SPEED_MODE #define LEDC_MODE LEDC_LOW_SPEED_MODE
#define LEDC_TIMER LEDC_TIMER_0 #define LEDC_TIMER LEDC_TIMER_0
#define LEDC_DUTY_RES LEDC_TIMER_11_BIT #define LEDC_DUTY_RES LEDC_TIMER_11_BIT
#define LEDC_FREQUENCY (480) /* 3840 = 60 * 8 * 8 */ #define LEDC_FREQUENCY (60 * HUB75_MAX_SCAN_TIMES * HUB75_MAX_SCAN_LINE) /* 3840 = 60 * 8 * 8 */
#define LEDC_DUTY_OE (100) /* 先低后高,前面有效,控制亮度 */ #define LEDC_DUTY_OE (1000) /* 先低后高,前面有效,控制亮度 */
#define LEDC_DUTY_LAT (2048 - 5) /* 高电平锁存 */ #define LEDC_DUTY_LAT (2048 - 5) /* 高电平锁存 */
static void IRAM_ATTR ledc_timer_ovf_isr(void *arg); static void IRAM_ATTR ledc_timer_ovf_isr(void *arg);
@ -181,6 +185,7 @@ err:
return ESP_FAIL; return ESP_FAIL;
} }
static int times = 0;
static int line = 0; /* 本次扫描行32行16扫一次显示两行 */ static int line = 0; /* 本次扫描行32行16扫一次显示两行 */
static void IRAM_ATTR ledc_timer_ovf_isr(void *arg) static void IRAM_ATTR ledc_timer_ovf_isr(void *arg)
{ {
@ -190,8 +195,14 @@ static void IRAM_ATTR ledc_timer_ovf_isr(void *arg)
gpio_set_level(HUB75_LINE_ADDR_C_PIN_NUM, (line >> 2) & 1); gpio_set_level(HUB75_LINE_ADDR_C_PIN_NUM, (line >> 2) & 1);
gpio_set_level(HUB75_LINE_ADDR_D_PIN_NUM, (line >> 3) & 1); gpio_set_level(HUB75_LINE_ADDR_D_PIN_NUM, (line >> 3) & 1);
line ++; line ++;
if (line == 8) line = 0; if (line == HUB75_MAX_SCAN_LINE)
hub75_send_line(io_handle, 0, line); {
line = 0;
times ++;
if (times == HUB75_MAX_SCAN_TIMES)
times = 0;
}
hub75_send_line(io_handle, times, line);
} }
static void hub75_addr_task(void *arg) static void hub75_addr_task(void *arg)
@ -203,7 +214,6 @@ static void hub75_addr_task(void *arg)
oe = gpio_get_level(HUB75_OE_CAPTRUE_PIN_NUM); oe = gpio_get_level(HUB75_OE_CAPTRUE_PIN_NUM);
if (oe == 1) if (oe == 1)
{ {
// ESP_LOGI(TAG, "oe = 1");
gpio_set_level(HUB75_LINE_ADDR_A_PIN_NUM, line & 1); /* 行地址A是低位待求证 */ gpio_set_level(HUB75_LINE_ADDR_A_PIN_NUM, line & 1); /* 行地址A是低位待求证 */
gpio_set_level(HUB75_LINE_ADDR_B_PIN_NUM, (line >> 1) & 1); gpio_set_level(HUB75_LINE_ADDR_B_PIN_NUM, (line >> 1) & 1);
gpio_set_level(HUB75_LINE_ADDR_C_PIN_NUM, (line >> 2) & 1); gpio_set_level(HUB75_LINE_ADDR_C_PIN_NUM, (line >> 2) & 1);
@ -218,9 +228,17 @@ void app_main(void)
led_matrix_i80_hub75_bus_init(); led_matrix_i80_hub75_bus_init();
led_matrix_addr_gpio_init(); led_matrix_addr_gpio_init();
test_init_buf(i80_bus); // test_init_buf(i80_bus);
led_matrix_oe_lat_ledc_init(); led_matrix_oe_lat_ledc_init();
uint8_t color[10][10];
int i, j, k = 0;
for (i = 0; i < 10; i++)
for (j = 0; j < 10; j++)
color[i][j] = k++;
led_matrix_fill_rectangle(io_handle, 10, 10, 20, 20, color);
// xTaskCreatePinnedToCore(hub75_addr_task, "hub75_addr", 4096, NULL, 9, NULL, tskNO_AFFINITY); // xTaskCreatePinnedToCore(hub75_addr_task, "hub75_addr", 4096, NULL, 9, NULL, tskNO_AFFINITY);
while (1) { while (1) {