Various updates (#60)

- update lvgl to v9.2.0
- update esp_lvgl_port to v2.3.3
- various code correctness improvements
This commit is contained in:
Ken Van Hoeylandt
2024-10-19 22:52:08 +02:00
committed by GitHub
parent 5f8149c198
commit a8a664703b
49 changed files with 2327 additions and 693 deletions
@@ -0,0 +1,47 @@
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief ESP LVGL port private
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Rotation configuration
*/
typedef enum {
LVGL_PORT_DISP_TYPE_OTHER,
LVGL_PORT_DISP_TYPE_DSI,
LVGL_PORT_DISP_TYPE_RGB,
} lvgl_port_disp_type_t;
/**
* @brief Rotation configuration
*/
typedef struct {
unsigned int avoid_tearing: 1; /*!< Use internal RGB buffers as a LVGL draw buffers to avoid tearing effect */
} lvgl_port_disp_priv_cfg_t;
/**
* @brief Notify LVGL task
*
* @note It is called from RGB vsync ready
*
* @param value notification value
* @return
* - true, whether a high priority task has been waken up by this function
*/
bool lvgl_port_task_notify(uint32_t value);
#ifdef __cplusplus
}
#endif