MCUXpresso_MIMXRT1052xxxxB/boards/evkbimxrt1050/lvgl_examples/lvgl_demo_widgets/lvgl_support.h
Yilin Sun 6baf4427ce
Updated to v2.15.000
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-03-18 23:15:10 +08:00

45 lines
957 B
C

/*
* Copyright 2021, 2023 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef LVGL_SUPPORT_H
#define LVGL_SUPPORT_H
#include <stdint.h>
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEMO_PANEL_RK043FN02H 0 /* RK043FN02H-CT */
#define DEMO_PANEL_RK043FN66HS 1 /* RK043FN66HS-CTG */
/* @TEST_ANCHOR */
#ifndef DEMO_PANEL
#define DEMO_PANEL DEMO_PANEL_RK043FN66HS
#endif
#define LCD_WIDTH 480
#define LCD_HEIGHT 272
/*******************************************************************************
* API
******************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
void lv_port_pre_init(void);
void lv_port_disp_init(void);
void lv_port_indev_init(void);
#if defined(__cplusplus)
}
#endif
#endif /*LVGL_SUPPORT_H */