From 6e592cf665b246f3280b50642518162e992afe63 Mon Sep 17 00:00:00 2001 From: lvhaiyu Date: Sun, 10 Nov 2024 17:19:46 +0800 Subject: [PATCH] bugfix(lcd): Fixed low Lane bit rate and other known issues. --- .gitlab/ci/build.yml | 2 +- .gitlab/ci/deploy.yml | 2 +- components/display/lcd/esp_lcd_ek79007/CHANGELOG.md | 6 ++++++ .../display/lcd/esp_lcd_ek79007/esp_lcd_ek79007.c | 2 +- .../display/lcd/esp_lcd_ek79007/idf_component.yml | 2 +- .../lcd/esp_lcd_ek79007/include/esp_lcd_ek79007.h | 2 +- components/display/lcd/esp_lcd_hx8399/CHANGELOG.md | 6 ++++++ components/display/lcd/esp_lcd_hx8399/esp_lcd_hx8399.c | 2 +- .../display/lcd/esp_lcd_hx8399/idf_component.yml | 2 +- components/display/lcd/esp_lcd_jd9165/CHANGELOG.md | 6 ++++++ components/display/lcd/esp_lcd_jd9165/esp_lcd_jd9165.c | 9 ++++----- .../display/lcd/esp_lcd_jd9165/idf_component.yml | 2 +- components/display/lcd/esp_lcd_jd9365/CHANGELOG.md | 6 ++++++ components/display/lcd/esp_lcd_jd9365/esp_lcd_jd9365.c | 10 +++++----- .../display/lcd/esp_lcd_jd9365/idf_component.yml | 2 +- components/display/lcd/esp_lcd_st7701/CHANGELOG.md | 6 ++++++ .../display/lcd/esp_lcd_st7701/esp_lcd_st7701_mipi.c | 10 +++++----- .../display/lcd/esp_lcd_st7701/idf_component.yml | 2 +- .../lcd/esp_lcd_st7701/include/esp_lcd_st7701.h | 2 +- components/display/lcd/esp_lcd_st7703/CHANGELOG.md | 6 ++++++ components/display/lcd/esp_lcd_st7703/esp_lcd_st7703.c | 10 +++++----- .../display/lcd/esp_lcd_st7703/idf_component.yml | 2 +- components/display/lcd/esp_lcd_st77922/CHANGELOG.md | 6 ++++++ .../display/lcd/esp_lcd_st77922/esp_lcd_st77922_mipi.c | 2 +- .../display/lcd/esp_lcd_st77922/idf_component.yml | 2 +- .../lcd/esp_lcd_st77922/include/esp_lcd_st77922.h | 2 +- .../display/lcd/esp_lcd_usb_display/idf_component.yml | 1 + .../usb/device/usb_lcd_display/main/CMakeLists.txt | 3 +++ 28 files changed, 80 insertions(+), 35 deletions(-) diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index bd1ee6750..caee82807 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -698,9 +698,9 @@ build_example_usb_device_usb_lcd_display: extends: - .build_examples_template - .rules:build:example_usb_device_usb_lcd_display - - .build_idf_version_greater_equal_v5_0 variables: EXAMPLE_DIR: examples/usb/device/usb_lcd_display + IMAGE: espressif/idf:release-v5.3 build_example_usb_device_usb_msc_wireless_disk: extends: diff --git a/.gitlab/ci/deploy.yml b/.gitlab/ci/deploy.yml index 10ae99f49..4049a1bcd 100644 --- a/.gitlab/ci/deploy.yml +++ b/.gitlab/ci/deploy.yml @@ -99,7 +99,7 @@ pack-upload_files: - job: "build_example_usb_device_usb_dual_uvc_device: [espressif/idf:release-v5.3]" - job: "build_example_usb_device_usb_extend_screen" - job: "build_example_usb_device_usb_hid_device: [espressif/idf:release-v5.0]" - - job: "build_example_usb_device_usb_lcd_display: [espressif/idf:release-v5.3]" + - job: "build_example_usb_device_usb_lcd_display" - job: "build_example_usb_device_usb_msc_wireless_disk: [espressif/idf:release-v5.0]" - job: "build_example_usb_device_usb_surface_dial: [espressif/idf:release-v5.0]" - job: "build_example_usb_device_usb_uac: [espressif/idf:release-v5.3]" diff --git a/components/display/lcd/esp_lcd_ek79007/CHANGELOG.md b/components/display/lcd/esp_lcd_ek79007/CHANGELOG.md index bfab4d386..5e624bdf9 100644 --- a/components/display/lcd/esp_lcd_ek79007/CHANGELOG.md +++ b/components/display/lcd/esp_lcd_ek79007/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog +## v1.0.1 - 2024-11-10 + +### bugfix: + +* Decreased the default Lane bit rate value + ## v1.0.0 - 2024-08-12 ### Enhancements: diff --git a/components/display/lcd/esp_lcd_ek79007/esp_lcd_ek79007.c b/components/display/lcd/esp_lcd_ek79007/esp_lcd_ek79007.c index 811ec9ee2..691949836 100644 --- a/components/display/lcd/esp_lcd_ek79007/esp_lcd_ek79007.c +++ b/components/display/lcd/esp_lcd_ek79007/esp_lcd_ek79007.c @@ -196,8 +196,8 @@ static esp_err_t panel_ek79007_del(esp_lcd_panel_t *panel) } // Delete MIPI DPI panel ek79007->del(panel); - free(ek79007); ESP_LOGD(TAG, "del ek79007 panel @%p", ek79007); + free(ek79007); return ESP_OK; } diff --git a/components/display/lcd/esp_lcd_ek79007/idf_component.yml b/components/display/lcd/esp_lcd_ek79007/idf_component.yml index 03ee35650..945cc4966 100644 --- a/components/display/lcd/esp_lcd_ek79007/idf_component.yml +++ b/components/display/lcd/esp_lcd_ek79007/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.0" +version: "1.0.1" targets: - esp32p4 description: ESP LCD EK79007(MIPI-DSI) diff --git a/components/display/lcd/esp_lcd_ek79007/include/esp_lcd_ek79007.h b/components/display/lcd/esp_lcd_ek79007/include/esp_lcd_ek79007.h index 8585d866d..22a24e872 100644 --- a/components/display/lcd/esp_lcd_ek79007/include/esp_lcd_ek79007.h +++ b/components/display/lcd/esp_lcd_ek79007/include/esp_lcd_ek79007.h @@ -72,7 +72,7 @@ esp_err_t esp_lcd_new_panel_ek79007(const esp_lcd_panel_io_handle_t io, const es .bus_id = 0, \ .num_data_lanes = 2, \ .phy_clk_src = MIPI_DSI_PHY_CLK_SRC_DEFAULT, \ - .lane_bit_rate_mbps = 1000, \ + .lane_bit_rate_mbps = 900, \ } /** diff --git a/components/display/lcd/esp_lcd_hx8399/CHANGELOG.md b/components/display/lcd/esp_lcd_hx8399/CHANGELOG.md index 91327313e..f324c5c52 100644 --- a/components/display/lcd/esp_lcd_hx8399/CHANGELOG.md +++ b/components/display/lcd/esp_lcd_hx8399/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog +## v1.0.1 - 2024-11-10 + +### bugfix: + +* Modified the known issues with the del interface + ## v1.0.0 - 2024-06-14 ### Enhancements: diff --git a/components/display/lcd/esp_lcd_hx8399/esp_lcd_hx8399.c b/components/display/lcd/esp_lcd_hx8399/esp_lcd_hx8399.c index a45921ede..3e5b23344 100644 --- a/components/display/lcd/esp_lcd_hx8399/esp_lcd_hx8399.c +++ b/components/display/lcd/esp_lcd_hx8399/esp_lcd_hx8399.c @@ -167,8 +167,8 @@ static esp_err_t panel_hx8399_del(esp_lcd_panel_t *panel) } // Delete MIPI DPI panel hx8399->del(panel); - free(hx8399); ESP_LOGD(TAG, "del hx8399 panel @%p", hx8399); + free(hx8399); return ESP_OK; } diff --git a/components/display/lcd/esp_lcd_hx8399/idf_component.yml b/components/display/lcd/esp_lcd_hx8399/idf_component.yml index add7b94f6..72af7968b 100644 --- a/components/display/lcd/esp_lcd_hx8399/idf_component.yml +++ b/components/display/lcd/esp_lcd_hx8399/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.0" +version: "1.0.1" targets: - esp32p4 description: ESP LCD HX8399 (MIPI-DSI) diff --git a/components/display/lcd/esp_lcd_jd9165/CHANGELOG.md b/components/display/lcd/esp_lcd_jd9165/CHANGELOG.md index 9fbe6a6bf..ef2682d3b 100644 --- a/components/display/lcd/esp_lcd_jd9165/CHANGELOG.md +++ b/components/display/lcd/esp_lcd_jd9165/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog +## v1.0.1 - 2024-11-10 + +### bugfix: + +* Modified the order of reading the ID register + ## v1.0.0 - 2024-08-12 ### Enhancements: diff --git a/components/display/lcd/esp_lcd_jd9165/esp_lcd_jd9165.c b/components/display/lcd/esp_lcd_jd9165/esp_lcd_jd9165.c index cb368970e..1f2dec135 100644 --- a/components/display/lcd/esp_lcd_jd9165/esp_lcd_jd9165.c +++ b/components/display/lcd/esp_lcd_jd9165/esp_lcd_jd9165.c @@ -80,10 +80,6 @@ esp_err_t esp_lcd_new_panel_jd9165(const esp_lcd_panel_io_handle_t io, const esp break; } - uint8_t ID[3]; - ESP_GOTO_ON_ERROR(esp_lcd_panel_io_rx_param(io, 0x04, ID, 3), err, TAG, "read ID failed"); - ESP_LOGI(TAG, "LCD ID: %02X %02X %02X", ID[0], ID[1], ID[2]); - jd9165->io = io; jd9165->init_cmds = vendor_config->init_cmds; jd9165->init_cmds_size = vendor_config->init_cmds_size; @@ -137,8 +133,8 @@ static esp_err_t panel_jd9165_del(esp_lcd_panel_t *panel) } // Delete MIPI DPI panel jd9165->del(panel); - free(jd9165); ESP_LOGD(TAG, "del jd9165 panel @%p", jd9165); + free(jd9165); return ESP_OK; } @@ -151,6 +147,9 @@ static esp_err_t panel_jd9165_init(esp_lcd_panel_t *panel) uint16_t init_cmds_size = 0; bool is_cmd_overwritten = false; + uint8_t ID[3]; + ESP_RETURN_ON_ERROR(esp_lcd_panel_io_rx_param(io, 0x04, ID, 3), TAG, "read ID failed"); + ESP_RETURN_ON_ERROR(esp_lcd_panel_io_tx_param(io, LCD_CMD_MADCTL, (uint8_t[]) { jd9165->madctl_val, }, 1), TAG, "send command failed"); diff --git a/components/display/lcd/esp_lcd_jd9165/idf_component.yml b/components/display/lcd/esp_lcd_jd9165/idf_component.yml index 6ae9e88a8..408f962d7 100644 --- a/components/display/lcd/esp_lcd_jd9165/idf_component.yml +++ b/components/display/lcd/esp_lcd_jd9165/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.0" +version: "1.0.1" targets: - esp32p4 description: ESP LCD JD9165 (MIPI-DSI) diff --git a/components/display/lcd/esp_lcd_jd9365/CHANGELOG.md b/components/display/lcd/esp_lcd_jd9365/CHANGELOG.md index eb9f44f6e..f186a8f52 100644 --- a/components/display/lcd/esp_lcd_jd9365/CHANGELOG.md +++ b/components/display/lcd/esp_lcd_jd9365/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog +## v1.0.1 - 2024-11-10 + +### bugfix: + +* Modified the order of reading the ID register + ## v1.0.0 - 2024-08-12 ### Enhancements: diff --git a/components/display/lcd/esp_lcd_jd9365/esp_lcd_jd9365.c b/components/display/lcd/esp_lcd_jd9365/esp_lcd_jd9365.c index 0e570dc22..4d987beed 100644 --- a/components/display/lcd/esp_lcd_jd9365/esp_lcd_jd9365.c +++ b/components/display/lcd/esp_lcd_jd9365/esp_lcd_jd9365.c @@ -105,10 +105,6 @@ esp_err_t esp_lcd_new_panel_jd9365(const esp_lcd_panel_io_handle_t io, const esp break; } - uint8_t ID[3]; - ESP_GOTO_ON_ERROR(esp_lcd_panel_io_rx_param(io, 0x04, ID, 3), err, TAG, "read ID failed"); - ESP_LOGI(TAG, "LCD ID: %02X %02X %02X", ID[0], ID[1], ID[2]); - jd9365->io = io; jd9365->init_cmds = vendor_config->init_cmds; jd9365->init_cmds_size = vendor_config->init_cmds_size; @@ -347,8 +343,8 @@ static esp_err_t panel_jd9365_del(esp_lcd_panel_t *panel) } // Delete MIPI DPI panel jd9365->del(panel); - free(jd9365); ESP_LOGD(TAG, "del jd9365 panel @%p", jd9365); + free(jd9365); return ESP_OK; } @@ -384,6 +380,10 @@ static esp_err_t panel_jd9365_init(esp_lcd_panel_t *panel) return ESP_ERR_INVALID_ARG; } + uint8_t ID[3]; + ESP_RETURN_ON_ERROR(esp_lcd_panel_io_rx_param(io, 0x04, ID, 3), TAG, "read ID failed"); + ESP_LOGI(TAG, "LCD ID: %02X %02X %02X", ID[0], ID[1], ID[2]); + ESP_RETURN_ON_ERROR(esp_lcd_panel_io_tx_param(io, JD9365_CMD_PAGE, (uint8_t[]) { JD9365_PAGE_USER }, 1), TAG, "send command failed"); diff --git a/components/display/lcd/esp_lcd_jd9365/idf_component.yml b/components/display/lcd/esp_lcd_jd9365/idf_component.yml index 624712839..19959f8ac 100644 --- a/components/display/lcd/esp_lcd_jd9365/idf_component.yml +++ b/components/display/lcd/esp_lcd_jd9365/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.0" +version: "1.0.1" targets: - esp32p4 description: ESP LCD JD9365(MIPI-DSI) diff --git a/components/display/lcd/esp_lcd_st7701/CHANGELOG.md b/components/display/lcd/esp_lcd_st7701/CHANGELOG.md index bfa4874c0..b901f7088 100644 --- a/components/display/lcd/esp_lcd_st7701/CHANGELOG.md +++ b/components/display/lcd/esp_lcd_st7701/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog +## v1.1.1 - 2024-11-10 + +### bugfix: + +* Modified the order of reading the ID register + ## v1.1.0 - 2024-05-06 ### Enhancements: diff --git a/components/display/lcd/esp_lcd_st7701/esp_lcd_st7701_mipi.c b/components/display/lcd/esp_lcd_st7701/esp_lcd_st7701_mipi.c index 6e2673951..710f885b7 100644 --- a/components/display/lcd/esp_lcd_st7701/esp_lcd_st7701_mipi.c +++ b/components/display/lcd/esp_lcd_st7701/esp_lcd_st7701_mipi.c @@ -92,10 +92,6 @@ esp_err_t esp_lcd_new_panel_st7701_mipi(const esp_lcd_panel_io_handle_t io, cons break; } - uint8_t ID[3]; - ESP_GOTO_ON_ERROR(esp_lcd_panel_io_rx_param(io, 0x04, ID, 3), err, TAG, "read ID failed"); - ESP_LOGI(TAG, "LCD ID: %02X %02X %02X", ID[0], ID[1], ID[2]); - st7701->io = io; st7701->init_cmds = vendor_config->init_cmds; st7701->init_cmds_size = vendor_config->init_cmds_size; @@ -143,8 +139,8 @@ static esp_err_t panel_st7701_del(esp_lcd_panel_t *panel) // Delete MIPI DPI panel st7701->del(panel); - free(st7701); ESP_LOGD(TAG, "del st7701 panel @%p", st7701); + free(st7701); return ESP_OK; } @@ -224,6 +220,10 @@ static esp_err_t panel_st7701_init(esp_lcd_panel_t *panel) bool is_command2_disable = true; bool is_cmd_overwritten = false; + uint8_t ID[3]; + ESP_RETURN_ON_ERROR(esp_lcd_panel_io_rx_param(io, 0x04, ID, 3), TAG, "read ID failed"); + ESP_LOGI(TAG, "LCD ID: %02X %02X %02X", ID[0], ID[1], ID[2]); + // back to CMD_Page 0 ESP_RETURN_ON_ERROR(esp_lcd_panel_io_tx_param(io, ST7701_CMD_CND2BKxSEL, (uint8_t []) { ST7701_CMD_BKxSEL_BYTE0, ST7701_CMD_BKxSEL_BYTE1, ST7701_CMD_BKxSEL_BYTE2, ST7701_CMD_BKxSEL_BYTE3, 0x00 diff --git a/components/display/lcd/esp_lcd_st7701/idf_component.yml b/components/display/lcd/esp_lcd_st7701/idf_component.yml index 72b06aedd..dc4020a60 100644 --- a/components/display/lcd/esp_lcd_st7701/idf_component.yml +++ b/components/display/lcd/esp_lcd_st7701/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.1.0" +version: "1.1.1" targets: - esp32s3 - esp32p4 diff --git a/components/display/lcd/esp_lcd_st7701/include/esp_lcd_st7701.h b/components/display/lcd/esp_lcd_st7701/include/esp_lcd_st7701.h index 4746ed044..26a81d6d6 100644 --- a/components/display/lcd/esp_lcd_st7701/include/esp_lcd_st7701.h +++ b/components/display/lcd/esp_lcd_st7701/include/esp_lcd_st7701.h @@ -151,7 +151,7 @@ esp_err_t esp_lcd_new_panel_st7701(const esp_lcd_panel_io_handle_t io, const esp .bus_id = 0, \ .num_data_lanes = 2, \ .phy_clk_src = MIPI_DSI_PHY_CLK_SRC_DEFAULT, \ - .lane_bit_rate_mbps = 400, \ + .lane_bit_rate_mbps = 500, \ } /** diff --git a/components/display/lcd/esp_lcd_st7703/CHANGELOG.md b/components/display/lcd/esp_lcd_st7703/CHANGELOG.md index 42ef941dd..987e17ae1 100644 --- a/components/display/lcd/esp_lcd_st7703/CHANGELOG.md +++ b/components/display/lcd/esp_lcd_st7703/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog +## v1.0.1 - 2024-11-10 + +### bugfix: + +* Modified the order of reading the ID register + ## v1.0.0 - 2024-08-12 ### Enhancements: diff --git a/components/display/lcd/esp_lcd_st7703/esp_lcd_st7703.c b/components/display/lcd/esp_lcd_st7703/esp_lcd_st7703.c index 91da1ef9a..18872584e 100644 --- a/components/display/lcd/esp_lcd_st7703/esp_lcd_st7703.c +++ b/components/display/lcd/esp_lcd_st7703/esp_lcd_st7703.c @@ -92,10 +92,6 @@ esp_err_t esp_lcd_new_panel_st7703(const esp_lcd_panel_io_handle_t io, const esp break; } - uint8_t ID[3]; - ESP_GOTO_ON_ERROR(esp_lcd_panel_io_rx_param(io, 0x04, ID, 3), err, TAG, "read ID failed"); - ESP_LOGI(TAG, "LCD ID: %02X %02X %02X", ID[0], ID[1], ID[2]); - st7703->io = io; st7703->init_cmds = vendor_config->init_cmds; st7703->init_cmds_size = vendor_config->init_cmds_size; @@ -171,8 +167,8 @@ static esp_err_t panel_st7703_del(esp_lcd_panel_t *panel) } // Delete MIPI DPI panel st7703->del(panel); - free(st7703); ESP_LOGD(TAG, "del st7703 panel @%p", st7703); + free(st7703); return ESP_OK; } @@ -187,6 +183,10 @@ static esp_err_t panel_st7703_init(esp_lcd_panel_t *panel) ESP_RETURN_ON_ERROR(st7703->init(panel), TAG, "init MIPI DPI panel failed"); + uint8_t ID[3]; + ESP_RETURN_ON_ERROR(esp_lcd_panel_io_rx_param(io, 0x04, ID, 3), TAG, "read ID failed"); + ESP_LOGI(TAG, "LCD ID: %02X %02X %02X", ID[0], ID[1], ID[2]); + ESP_RETURN_ON_ERROR(esp_lcd_panel_io_tx_param(io, LCD_CMD_MADCTL, (uint8_t[]) { st7703->madctl_val, }, 1), TAG, "send command failed"); diff --git a/components/display/lcd/esp_lcd_st7703/idf_component.yml b/components/display/lcd/esp_lcd_st7703/idf_component.yml index 6302018ac..343319d1e 100644 --- a/components/display/lcd/esp_lcd_st7703/idf_component.yml +++ b/components/display/lcd/esp_lcd_st7703/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.0" +version: "1.0.1" targets: - esp32p4 description: ESP LCD ST7703(MIPI-DSI) diff --git a/components/display/lcd/esp_lcd_st77922/CHANGELOG.md b/components/display/lcd/esp_lcd_st77922/CHANGELOG.md index ac38e754b..87e6b8364 100644 --- a/components/display/lcd/esp_lcd_st77922/CHANGELOG.md +++ b/components/display/lcd/esp_lcd_st77922/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog +## v1.0.2 - 2024-11-10 + +### bugfix: + +* Increased the default Lane bit rate value + ## v1.0.1 - 2024-11-7 * Fix default initialization parameters and front-back window parameters. diff --git a/components/display/lcd/esp_lcd_st77922/esp_lcd_st77922_mipi.c b/components/display/lcd/esp_lcd_st77922/esp_lcd_st77922_mipi.c index dd94df3de..01d51ed05 100644 --- a/components/display/lcd/esp_lcd_st77922/esp_lcd_st77922_mipi.c +++ b/components/display/lcd/esp_lcd_st77922/esp_lcd_st77922_mipi.c @@ -209,8 +209,8 @@ static esp_err_t panel_st77922_del(esp_lcd_panel_t *panel) } // Delete MIPI DPI panel st77922->del(panel); - free(st77922); ESP_LOGD(TAG, "del st77922 panel @%p", st77922); + free(st77922); return ESP_OK; } diff --git a/components/display/lcd/esp_lcd_st77922/idf_component.yml b/components/display/lcd/esp_lcd_st77922/idf_component.yml index 2c3988b9e..3d6379358 100644 --- a/components/display/lcd/esp_lcd_st77922/idf_component.yml +++ b/components/display/lcd/esp_lcd_st77922/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.1" +version: "1.0.2" description: ESP LCD ST77922(SPI & QSPI & RGB & MIPI-DSI) url: https://github.com/espressif/esp-iot-solution/tree/master/components/display/lcd/esp_lcd_st77922 repository: https://github.com/espressif/esp-iot-solution.git diff --git a/components/display/lcd/esp_lcd_st77922/include/esp_lcd_st77922.h b/components/display/lcd/esp_lcd_st77922/include/esp_lcd_st77922.h index dd421beea..753eb9071 100644 --- a/components/display/lcd/esp_lcd_st77922/include/esp_lcd_st77922.h +++ b/components/display/lcd/esp_lcd_st77922/include/esp_lcd_st77922.h @@ -204,7 +204,7 @@ esp_err_t esp_lcd_new_panel_st77922(const esp_lcd_panel_io_handle_t io, const es .bus_id = 0, \ .num_data_lanes = 1, \ .phy_clk_src = MIPI_DSI_PHY_CLK_SRC_DEFAULT, \ - .lane_bit_rate_mbps = 300, \ + .lane_bit_rate_mbps = 500, \ } /** diff --git a/components/display/lcd/esp_lcd_usb_display/idf_component.yml b/components/display/lcd/esp_lcd_usb_display/idf_component.yml index 92fb63d8d..2e2cd3a90 100644 --- a/components/display/lcd/esp_lcd_usb_display/idf_component.yml +++ b/components/display/lcd/esp_lcd_usb_display/idf_component.yml @@ -6,6 +6,7 @@ url: https://github.com/espressif/esp-iot-solution/tree/master/components/displa repository: https://github.com/espressif/esp-iot-solution.git issues: https://github.com/espressif/esp-iot-solution/issues dependencies: + idf: ">=5.3" cmake_utilities: "0.*" espressif/usb_device_uvc: version: "1.1.*" diff --git a/examples/usb/device/usb_lcd_display/main/CMakeLists.txt b/examples/usb/device/usb_lcd_display/main/CMakeLists.txt index 52a3b94c5..05d352eb6 100644 --- a/examples/usb/device/usb_lcd_display/main/CMakeLists.txt +++ b/examples/usb/device/usb_lcd_display/main/CMakeLists.txt @@ -1 +1,4 @@ idf_component_register(SRCS "main.c" INCLUDE_DIRS ".") + +idf_component_get_property(lvgl_lib lvgl__lvgl COMPONENT_LIB) +target_compile_options(${lvgl_lib} PRIVATE -Wno-attributes)