2021-12-17 17:20:33 +08:00
|
|
|
/*
|
2022-03-29 07:41:16 +08:00
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
2021-12-17 17:20:33 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2021-10-18 Meco Man First version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LV_CONF_H
|
|
|
|
#define LV_CONF_H
|
|
|
|
|
2022-01-05 14:38:20 +08:00
|
|
|
#include "rtconfig.h"
|
2021-12-17 17:20:33 +08:00
|
|
|
|
2022-03-29 07:10:35 +08:00
|
|
|
#define LV_VERSION_EQUAL(x,y,z) (x == LVGL_VERSION_MAJOR && y==LVGL_VERSION_MINOR && z==LVGL_VERSION_PATCH )
|
|
|
|
|
2022-01-05 14:38:20 +08:00
|
|
|
//#define LV_USE_GPU_N9H30_GE2D 1
|
2021-12-17 17:20:33 +08:00
|
|
|
|
2022-01-05 14:38:20 +08:00
|
|
|
#define LV_COLOR_DEPTH BSP_LCD_BPP
|
|
|
|
#define LV_HOR_RES_MAX BSP_LCD_WIDTH
|
|
|
|
#define LV_VER_RES_MAX BSP_LCD_HEIGHT
|
2021-12-17 17:20:33 +08:00
|
|
|
|
|
|
|
#define LV_FONT_MONTSERRAT_12 1
|
|
|
|
#define LV_FONT_MONTSERRAT_16 1
|
2022-01-05 14:38:20 +08:00
|
|
|
#define LV_USE_PERF_MONITOR 1
|
|
|
|
|
2022-03-29 07:41:16 +08:00
|
|
|
#if LV_VERSION_EQUAL(8, 1, 0)
|
2021-12-28 13:37:04 +08:00
|
|
|
#define LV_USE_DEMO_RTT_MUSIC 1
|
2021-12-17 17:20:33 +08:00
|
|
|
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
|
2022-03-29 07:10:35 +08:00
|
|
|
#else
|
|
|
|
#define LV_USE_DEMO_MUSIC 1
|
|
|
|
#define LV_DEMO_MUSIC_AUTO_PLAY 1
|
|
|
|
#endif
|
2021-12-17 17:20:33 +08:00
|
|
|
|
|
|
|
//#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE
|
|
|
|
#endif
|