espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.37k stars 7.21k forks source link

unions (IDFGH-13714) #14585

Open divakar123jerpiti opened 5 days ago

divakar123jerpiti commented 5 days ago

Answers checklist.

IDF version.

v5.1.1

Espressif SoC revision.

esp32-s3

Operating System used.

Windows

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

Development Kit.

esp32-wroom-1

Power Supply used.

USB

What is the expected behavior?

while initialising union data members it is not initiating properly

What is the actual behavior?

unknown type name esp_lcd_rgb_panel_event_data_t

Steps to reproduce.

esp_lcd_rgb_panel_config_t panel_config = { .data_width = 16, // RGB565 in parallel mode, thus 16bit in width .psram_trans_align = 64, .num_fbs = EXAMPLE_LCD_NUM_FB,

if CONFIG_EXAMPLE_USE_BOUNCE_BUFFER

    .bounce_buffer_size_px = 10 * EXAMPLE_LCD_H_RES,

endif

    .clk_src = LCD_CLK_SRC_DEFAULT,
    .disp_gpio_num = EXAMPLE_PIN_NUM_DISP_EN,
    .pclk_gpio_num = EXAMPLE_PIN_NUM_PCLK,
    .vsync_gpio_num = EXAMPLE_PIN_NUM_VSYNC,
    .hsync_gpio_num = EXAMPLE_PIN_NUM_HSYNC,
    .de_gpio_num = EXAMPLE_PIN_NUM_DE,
    .data_gpio_nums = {
        EXAMPLE_PIN_NUM_DATA0,
        EXAMPLE_PIN_NUM_DATA1,
        EXAMPLE_PIN_NUM_DATA2,
        EXAMPLE_PIN_NUM_DATA3,
        EXAMPLE_PIN_NUM_DATA4,
        EXAMPLE_PIN_NUM_DATA5,
        EXAMPLE_PIN_NUM_DATA6,
        EXAMPLE_PIN_NUM_DATA7,
        EXAMPLE_PIN_NUM_DATA8,
        EXAMPLE_PIN_NUM_DATA9,
        EXAMPLE_PIN_NUM_DATA10,
        EXAMPLE_PIN_NUM_DATA11,
        EXAMPLE_PIN_NUM_DATA12,
        EXAMPLE_PIN_NUM_DATA13,
        EXAMPLE_PIN_NUM_DATA14,
        EXAMPLE_PIN_NUM_DATA15,
    }

Debug Logs.

No response

More Information.

No response

sudeep-mohanty commented 4 days ago

Hi @divakar123jerpiti, Could you please check if you have esp_lcd_panel_rgb.h header file included in your application?