51 lines
1.2 KiB
Plaintext
Executable File
51 lines
1.2 KiB
Plaintext
Executable File
/*
|
|
* lv_conf.h.dist -- LVGL v8.3.11 distribution configuration template
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copy to lv_conf.h and edit. The defaults below are tuned for the H2:
|
|
* 320x240 RGB565, ~16 MB RAM available to LVGL, no GPU.
|
|
*
|
|
* v1.4: no change from v1.3 -- LVGL upstream config is stable.
|
|
*/
|
|
#ifndef LV_CONF_H
|
|
#define LV_CONF_H
|
|
|
|
#include <stdint.h>
|
|
|
|
/* Graphical */
|
|
#define LV_HOR_RES_MAX 320
|
|
#define LV_VER_RES_MAX 240
|
|
#define LV_COLOR_DEPTH 16
|
|
#define LV_COLOR_CHROMA_KEY lv_color_hex(0x00ff00)
|
|
#define LV_MEM_SIZE (32U * 1024U)
|
|
#define LV_MEM_CUSTOM 0
|
|
#define LV_MEMCPY_MEMSET_STD 1
|
|
|
|
/* Tick */
|
|
#define LV_TICK_CUSTOM 1
|
|
#define LV_TICK_CUSTOM_INCLUDE <stdint.h>
|
|
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (0)
|
|
|
|
/* Drawing */
|
|
#define LV_DRAW_COMPLEX 1
|
|
#define LV_USE_GPU_STM32_DMA2D 0
|
|
#define LV_USE_GPU_NXP_PXP 0
|
|
#define LV_USE_GPU_SDL 0
|
|
|
|
/* Fonts */
|
|
#define LV_FONT_MONTSERRAT_14 1
|
|
#define LV_FONT_DEFAULT &lv_font_montserrat_14
|
|
|
|
/* Theme */
|
|
#define LV_USE_THEME_DEFAULT 1
|
|
#define LV_THEME_DEFAULT_DARK 0
|
|
|
|
/* Widgets */
|
|
#define LV_USE_OBJX_NAME 1
|
|
|
|
/* Apps */
|
|
#define LV_USE_DEMO_WIDGETS 0
|
|
|
|
#endif /* LV_CONF_H */
|