feat(rgb_lcd): adapt to LVGL v9

This commit mainly refactor the RGB_LCD example to use the latest LVGL
V9 library.
This commit is contained in:
morris
2024-09-12 10:54:23 +08:00
parent 00991f1bf5
commit 6e8a958754
7 changed files with 120 additions and 126 deletions

View File

@@ -1,6 +1,5 @@
# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import pytest
from pytest_embedded import Dut
@@ -19,10 +18,8 @@ from pytest_embedded import Dut
def test_rgb_lcd_lvgl(dut: Dut) -> None:
dut.expect_exact('example: Turn off LCD backlight')
dut.expect_exact('example: Install RGB LCD panel driver')
dut.expect_exact('example: Register event callbacks')
dut.expect_exact('example: Initialize RGB LCD panel')
dut.expect_exact('example: Turn on LCD backlight')
dut.expect_exact('example: Initialize LVGL library')
dut.expect_exact('example: Register display driver to LVGL')
dut.expect_exact('example: Install LVGL tick timer')
dut.expect_exact('example: Display LVGL Scatter Chart')