mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 07:13:30 +08:00
4192f0d651
* [bsp][art-pi] add spi lcd ili9488 driver * [bsp][art-pi] support LVGL display * [bsp][artpi] support LVGL indev * [bsp][artpi] debug LVGL indev with ft6236 * [bsp][artpi] swap and invert touchpad coordinate * [bsp][artpi] redundant declarations * [bsp][artpi] indent BSP_USING_LVGL config * [bsp][artpi] default build debug version * [bsp][artpi] fix BSP_USING_LVGL Kconfig
33 lines
639 B
C
33 lines
639 B
C
/*
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2022-01-28 Rudy Lo The first version
|
|
*/
|
|
|
|
#ifndef LV_CONF_H
|
|
#define LV_CONF_H
|
|
|
|
#include <rtconfig.h>
|
|
|
|
#define LCD_W 480
|
|
#define LCD_H 320
|
|
|
|
#define LV_COLOR_16_SWAP 0
|
|
#define LV_COLOR_DEPTH 32
|
|
#define LV_USE_PERF_MONITOR 1
|
|
|
|
#define LV_HOR_RES_MAX LCD_W
|
|
#define LV_VER_RES_MAX LCD_H
|
|
|
|
#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
|
|
|
|
#endif
|