led_matrix/build/log/idf_py_stdout_output_4712

444 lines
53 KiB
Plaintext
Raw Normal View History

2024-01-29 18:03:08 +08:00
[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: 92e5b1f-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/co
-- Configuring done
-- Generating done
-- Build files have been written to: E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build
[1/17] 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/15] Building C object esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj
[3/15] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/ledc_hal.c.obj
[4/15] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/ledc_hal_iram.c.obj
[5/15] Linking C static library esp-idf\hal\libhal.a
[6/15] Linking C static library esp-idf\esp_app_format\libesp_app_format.a
[7/15] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/i80_controller_example_main.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/i80_controller_example_main.c.obj
ccache E:\Espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main -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 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_ringbuf/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/efuse/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/efuse/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/deprecated -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_pm/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/mbedtls/port/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/mbedtls/mbedtls/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/mbedtls/mbedtls/library -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/mbedtls/esp_crt_bundle/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader_support/bootloader_flash/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_partition/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/app_update/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components
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:123:42: error: unknown type name 'ledc_mode_t'
123 | extern esp_err_t ledc_set_timer_ovf_intr(ledc_mode_t speed_mode, ledc_channel_t channel, int enbale);
| ^~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:123:66: error: unknown type name 'ledc_channel_t'
123 | extern esp_err_t ledc_set_timer_ovf_intr(ledc_mode_t speed_mode, ledc_channel_t channel, int enbale);
| ^~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:124:46: error: unknown type name 'ledc_timer_t'
124 | extern void ledc_clear_timer_ovf_intr_status(ledc_timer_t timer_num);
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:125:8: error: unknown type name 'ledc_isr_handle_t'
125 | static ledc_isr_handle_t s_ledc_time_isr_handle = NULL;
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:125:51: warning: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
125 | static ledc_isr_handle_t s_ledc_time_isr_handle = NULL;
| ^~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c: In function 'led_matrix_oe_lat_ledc_init':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:129:5: error: unknown type name 'ledc_timer_config_t'
129 | ledc_timer_config_t ledc_timer = {
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:130:9: error: field name not in record or union initializer
130 | .speed_mode = LEDC_MODE,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:130:9: note: (near initialization for 'ledc_timer')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:114:25: error: 'LEDC_LOW_SPEED_MODE' undeclared (first use in this function)
114 | #define LEDC_MODE LEDC_LOW_SPEED_MODE
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:130:23: note: in expansion of macro 'LEDC_MODE'
130 | .speed_mode = LEDC_MODE,
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:114:25: note: each undeclared identifier is reported only once for each function it appears in
114 | #define LEDC_MODE LEDC_LOW_SPEED_MODE
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:130:23: note: in expansion of macro 'LEDC_MODE'
130 | .speed_mode = LEDC_MODE,
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:131:9: error: field name not in record or union initializer
131 | .timer_num = LEDC_TIMER,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:131:9: note: (near initialization for 'ledc_timer')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:115:25: error: 'LEDC_TIMER_0' undeclared (first use in this function); did you mean 'LEDC_TIMER'?
115 | #define LEDC_TIMER LEDC_TIMER_0
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:131:22: note: in expansion of macro 'LEDC_TIMER'
131 | .timer_num = LEDC_TIMER,
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:115:25: warning: excess elements in scalar initializer
115 | #define LEDC_TIMER LEDC_TIMER_0
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:131:22: note: in expansion of macro 'LEDC_TIMER'
131 | .timer_num = LEDC_TIMER,
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:115:25: note: (near initialization for 'ledc_timer')
115 | #define LEDC_TIMER LEDC_TIMER_0
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:131:22: note: in expansion of macro 'LEDC_TIMER'
131 | .timer_num = LEDC_TIMER,
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:132:9: error: field name not in record or union initializer
132 | .duty_resolution = LEDC_DUTY_RES,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:132:9: note: (near initialization for 'ledc_timer')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:116:25: error: 'LEDC_TIMER_11_BIT' undeclared (first use in this function)
116 | #define LEDC_DUTY_RES LEDC_TIMER_11_BIT
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:132:28: note: in expansion of macro 'LEDC_DUTY_RES'
132 | .duty_resolution = LEDC_DUTY_RES,
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:116:25: warning: excess elements in scalar initializer
116 | #define LEDC_DUTY_RES LEDC_TIMER_11_BIT
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:132:28: note: in expansion of macro 'LEDC_DUTY_RES'
132 | .duty_resolution = LEDC_DUTY_RES,
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:116:25: note: (near initialization for 'ledc_timer')
116 | #define LEDC_DUTY_RES LEDC_TIMER_11_BIT
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:132:28: note: in expansion of macro 'LEDC_DUTY_RES'
132 | .duty_resolution = LEDC_DUTY_RES,
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:133:9: error: field name not in record or union initializer
133 | .freq_hz = LEDC_FREQUENCY,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:133:9: note: (near initialization for 'ledc_timer')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:117:25: warning: excess elements in scalar initializer
117 | #define LEDC_FREQUENCY (3840) /* 60 * 8 * 8 */
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:133:20: note: in expansion of macro 'LEDC_FREQUENCY'
133 | .freq_hz = LEDC_FREQUENCY,
| ^~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:117:25: note: (near initialization for 'ledc_timer')
117 | #define LEDC_FREQUENCY (3840) /* 60 * 8 * 8 */
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:133:20: note: in expansion of macro 'LEDC_FREQUENCY'
133 | .freq_hz = LEDC_FREQUENCY,
| ^~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:134:9: error: field name not in record or union initializer
134 | .clk_cfg = LEDC_AUTO_CLK};
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:134:9: note: (near initialization for 'ledc_timer')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:134:20: error: 'LEDC_AUTO_CLK' undeclared (first use in this function)
134 | .clk_cfg = LEDC_AUTO_CLK};
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:134:20: warning: excess elements in scalar initializer
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:134:20: note: (near initialization for 'ledc_timer')
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_intr_alloc.h:11,
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:20,
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/app/led_matrix/main/i80_controller_example_main.c:135:21: error: implicit declaration of function 'ledc_timer_config'; did you mean 'ledc_timer_ovf_isr'? [-Werror=implicit-function-declaration]
135 | ESP_ERROR_CHECK(ledc_timer_config(&ledc_timer));
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include/esp_err.h:117:30: note: in definition of macro 'ESP_ERROR_CHECK'
117 | esp_err_t err_rc_ = (x); \
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:137:5: error: unknown type name 'ledc_channel_config_t'
137 | ledc_channel_config_t ledc_channel_oe = {
| ^~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:138:9: error: field name not in record or union initializer
138 | .speed_mode = LEDC_MODE,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:138:9: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:139:9: error: field name not in record or union initializer
139 | .channel = LEDC_CHANNEL_0,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:139:9: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:139:20: error: 'LEDC_CHANNEL_0' undeclared (first use in this function); did you mean 'SOC_LEDC_CHANNEL_NUM'?
139 | .channel = LEDC_CHANNEL_0,
| ^~~~~~~~~~~~~~
| SOC_LEDC_CHANNEL_NUM
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:139:20: warning: excess elements in scalar initializer
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:139:20: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:140:9: error: field name not in record or union initializer
140 | .timer_sel = LEDC_TIMER,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:140:9: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:115:25: warning: excess elements in scalar initializer
115 | #define LEDC_TIMER LEDC_TIMER_0
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:140:22: note: in expansion of macro 'LEDC_TIMER'
140 | .timer_sel = LEDC_TIMER,
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:115:25: note: (near initialization for 'ledc_channel_oe')
115 | #define LEDC_TIMER LEDC_TIMER_0
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:140:22: note: in expansion of macro 'LEDC_TIMER'
140 | .timer_sel = LEDC_TIMER,
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:141:9: error: field name not in record or union initializer
141 | .intr_type = LEDC_INTR_DISABLE,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:141:9: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:141:22: error: 'LEDC_INTR_DISABLE' undeclared (first use in this function); did you mean 'ESP_INTR_DISABLE'?
141 | .intr_type = LEDC_INTR_DISABLE,
| ^~~~~~~~~~~~~~~~~
| ESP_INTR_DISABLE
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:141:22: warning: excess elements in scalar initializer
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:141:22: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:142:9: error: field name not in record or union initializer
142 | .gpio_num = HUB75_OE_PIN_NUM,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:142:9: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:26:43: warning: excess elements in scalar initializer
26 | #define HUB75_OE_PIN_NUM 21
| ^~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:142:21: note: in expansion of macro 'HUB75_OE_PIN_NUM'
142 | .gpio_num = HUB75_OE_PIN_NUM,
| ^~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:26:43: note: (near initialization for 'ledc_channel_oe')
26 | #define HUB75_OE_PIN_NUM 21
| ^~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:142:21: note: in expansion of macro 'HUB75_OE_PIN_NUM'
142 | .gpio_num = HUB75_OE_PIN_NUM,
| ^~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:143:9: error: field name not in record or union initializer
143 | .duty = LEDC_DUTY_OE,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:143:9: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:119:25: warning: excess elements in scalar initializer
119 | #define LEDC_DUTY_OE (2040) /* 先低后高,前面有效,控制亮度 */
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:143:17: note: in expansion of macro 'LEDC_DUTY_OE'
143 | .duty = LEDC_DUTY_OE,
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:119:25: note: (near initialization for 'ledc_channel_oe')
119 | #define LEDC_DUTY_OE (2040) /* 先低后高,前面有效,控制亮度 */
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:143:17: note: in expansion of macro 'LEDC_DUTY_OE'
143 | .duty = LEDC_DUTY_OE,
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:144:9: error: field name not in record or union initializer
144 | .flags.output_invert = 1,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:144:9: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:144:32: warning: excess elements in scalar initializer
144 | .flags.output_invert = 1,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:144:32: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:145:9: error: field name not in record or union initializer
145 | .hpoint = 0};
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:145:9: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:145:19: warning: excess elements in scalar initializer
145 | .hpoint = 0};
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:145:19: note: (near initialization for 'ledc_channel_oe')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:146:5: error: unknown type name 'ledc_channel_config_t'
146 | ledc_channel_config_t ledc_channel_lat = {
| ^~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:147:9: error: field name not in record or union initializer
147 | .speed_mode = LEDC_MODE,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:147:9: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:148:9: error: field name not in record or union initializer
148 | .channel = LEDC_CHANNEL_1,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:148:9: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:148:20: error: 'LEDC_CHANNEL_1' undeclared (first use in this function); did you mean 'SOC_LEDC_CHANNEL_NUM'?
148 | .channel = LEDC_CHANNEL_1,
| ^~~~~~~~~~~~~~
| SOC_LEDC_CHANNEL_NUM
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:148:20: warning: excess elements in scalar initializer
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:148:20: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:149:9: error: field name not in record or union initializer
149 | .timer_sel = LEDC_TIMER,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:149:9: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:115:25: warning: excess elements in scalar initializer
115 | #define LEDC_TIMER LEDC_TIMER_0
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:149:22: note: in expansion of macro 'LEDC_TIMER'
149 | .timer_sel = LEDC_TIMER,
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:115:25: note: (near initialization for 'ledc_channel_lat')
115 | #define LEDC_TIMER LEDC_TIMER_0
| ^~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:149:22: note: in expansion of macro 'LEDC_TIMER'
149 | .timer_sel = LEDC_TIMER,
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:150:9: error: field name not in record or union initializer
150 | .intr_type = LEDC_INTR_DISABLE,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:150:9: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:150:22: warning: excess elements in scalar initializer
150 | .intr_type = LEDC_INTR_DISABLE,
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:150:22: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:151:9: error: field name not in record or union initializer
151 | .gpio_num = HUB75_LAT_PIN_NUM,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:151:9: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:25:43: warning: excess elements in scalar initializer
25 | #define HUB75_LAT_PIN_NUM 8
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:151:21: note: in expansion of macro 'HUB75_LAT_PIN_NUM'
151 | .gpio_num = HUB75_LAT_PIN_NUM,
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:25:43: note: (near initialization for 'ledc_channel_lat')
25 | #define HUB75_LAT_PIN_NUM 8
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:151:21: note: in expansion of macro 'HUB75_LAT_PIN_NUM'
151 | .gpio_num = HUB75_LAT_PIN_NUM,
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:152:9: error: field name not in record or union initializer
152 | .duty = LEDC_DUTY_LAT,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:152:9: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:120:25: warning: excess elements in scalar initializer
120 | #define LEDC_DUTY_LAT (2048 - 5) /* 先高后低锁存 */
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:152:17: note: in expansion of macro 'LEDC_DUTY_LAT'
152 | .duty = LEDC_DUTY_LAT,
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:120:25: note: (near initialization for 'ledc_channel_lat')
120 | #define LEDC_DUTY_LAT (2048 - 5) /* 先高后低锁存 */
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:152:17: note: in expansion of macro 'LEDC_DUTY_LAT'
152 | .duty = LEDC_DUTY_LAT,
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:153:9: error: field name not in record or union initializer
153 | .flags.output_invert = 0,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:153:9: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:153:32: warning: excess elements in scalar initializer
153 | .flags.output_invert = 0,
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:153:32: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:154:9: error: field name not in record or union initializer
154 | .hpoint = 0};
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:154:9: note: (near initialization for 'ledc_channel_lat')
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:154:19: warning: excess elements in scalar initializer
154 | .hpoint = 0};
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:154:19: note: (near initialization for 'ledc_channel_lat')
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_intr_alloc.h:11,
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:20,
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/app/led_matrix/main/i80_controller_example_main.c:155:21: error: implicit declaration of function 'ledc_channel_config' [-Werror=implicit-function-declaration]
155 | ESP_ERROR_CHECK(ledc_channel_config(&ledc_channel_oe));
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include/esp_err.h:117:30: note: in definition of macro 'ESP_ERROR_CHECK'
117 | esp_err_t err_rc_ = (x); \
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:159:5: error: implicit declaration of function 'ledc_set_timer_ovf_intr'; did you mean 'ledc_timer_ovf_isr'? [-Werror=implicit-function-declaration]
159 | ledc_set_timer_ovf_intr(LEDC_MODE, LEDC_TIMER, false);
| ^~~~~~~~~~~~~~~~~~~~~~~
| ledc_timer_ovf_isr
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:161:15: error: implicit declaration of function 'ledc_isr_register'; did you mean 'gpio_isr_register'? [-Werror=implicit-function-declaration]
161 | int ret = ledc_isr_register(ledc_timer_ovf_isr, NULL, isr_flags, &s_ledc_time_isr_handle);
| ^~~~~~~~~~~~~~~~~
| gpio_isr_register
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:162:5: error: implicit declaration of function 'ESP_GOTO_ON_ERROR' [-Werror=implicit-function-declaration]
162 | ESP_GOTO_ON_ERROR(ret, err, TAG, "install interrupt failed");
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:162:28: error: 'err' undeclared (first use in this function)
162 | ESP_GOTO_ON_ERROR(ret, err, TAG, "install interrupt failed");
| ^~~
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_intr_alloc.h:11,
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:20,
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/esp_common/include/esp_err.h:22:25: error: 'return' with a value, in function returning void [-Werror=return-type]
22 | #define ESP_OK 0 /*!< esp_err_t value indicating success (no error) */
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:165:12: note: in expansion of macro 'ESP_OK'
165 | return ESP_OK;
| ^~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:127:6: note: declared here
127 | void led_matrix_oe_lat_ledc_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_intr_alloc.h:11,
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:20,
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/esp_common/include/esp_err.h:23:25: error: 'return' with a value, in function returning void [-Werror=return-type]
23 | #define ESP_FAIL -1 /*!< Generic esp_err_t code indicating failure */
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:167:12: note: in expansion of macro 'ESP_FAIL'
167 | return ESP_FAIL;
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:127:6: note: declared here
127 | void led_matrix_oe_lat_ledc_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:166:1: error: label 'err' defined but not used [-Werror=unused-label]
166 | err:
| ^~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c: At top level:
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:171:1: warning: ignoring attribute 'section (".iram1.3")' because it conflicts with previous 'section (".iram1.2")' [-Wattributes]
171 | {
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:122:23: note: previous declaration here
122 | 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: In function 'ledc_timer_ovf_isr':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:172:5: error: implicit declaration of function 'ledc_clear_timer_ovf_intr_status' [-Werror=implicit-function-declaration]
172 | ledc_clear_timer_ovf_intr_status(LEDC_TIMER_0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/i80_controller_example_main.c:172:38: error: 'LEDC_TIMER_0' undeclared (first use in this function); did you mean 'LEDC_TIMER'?
172 | ledc_clear_timer_ovf_intr_status(LEDC_TIMER_0);
| ^~~~~~~~~~~~
| LEDC_TIMER
cc1.exe: some warnings being treated as errors
[8/15] 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:144: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]
144 | 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_send_line':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/led_matrix/main/esp_lcd_panel_io_i80_hub75.c:153: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]
153 | uint16_t (*buf)[8][128] = i80_device->bus->format_buffer;
| ^~~~~~~~~~
[9/15] Building C object esp-idf/driver/CMakeFiles/__idf_driver.dir/ledc.c.obj
ninja: build stopped: subcommand failed.