mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* 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
|
|
|
|
#include <rtconfig.h>
|
|
|
|
#ifndef LV_COLOR_DEPTH
|
|
#define LV_COLOR_DEPTH 32
|
|
#endif
|
|
|
|
#define LV_HOR_RES_MAX BSP_LCD_WIDTH
|
|
#define LV_VER_RES_MAX BSP_LCD_HEIGHT
|
|
#define LV_IMG_CACHE_DEF_SIZE 1
|
|
#define LV_USE_MEM_MONITOR 0
|
|
#define LV_INDEV_DEF_READ_PERIOD 10
|
|
|
|
#ifdef AIC_LVGL_MUSIC_DEMO
|
|
#define LV_USE_PERF_MONITOR 1
|
|
#endif
|
|
|
|
#define LV_USE_FS_POSIX 1
|
|
#if LV_USE_FS_POSIX
|
|
#define LV_FS_POSIX_LETTER 'L' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
|
|
#define LV_FS_POSIX_PATH "" /*Set the working directory. File/directory paths will be appended to it.*/
|
|
#define LV_FS_POSIX_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
|
|
#endif
|
|
|
|
#ifdef LPKG_USING_LV_MUSIC_DEMO
|
|
/* music player demo */
|
|
#define LV_USE_DEMO_RTT_MUSIC 1
|
|
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
|
|
#define LV_FONT_MONTSERRAT_12 1
|
|
#define LV_FONT_MONTSERRAT_16 1
|
|
// #define LV_COLOR_SCREEN_TRANSP 1
|
|
#endif /* LPKG_USING_LV_MUSIC_DEMO */
|
|
|
|
#endif
|