15.6_demo/lv_conf.h

87 lines
2.0 KiB
C

#if 1 /*Set it to "1" to enable content*/
#ifndef LV_CONF_H
#define LV_CONF_H
#include <stdint.h>
#define LV_USE_LINUX_FBDEV 1
#define LV_USE_LINUX_DRM 0
#define LV_COLOR_DEPTH 32
#define LV_COLOR_16_SWAP 0
#define LV_USE_HOR_SIZE 800
#define LV_USE_VER_SIZE 1280
#define LV_USE_STDLIB_MALLOC LV_STDLIB_BUILTIN
#define LV_MEM_SIZE (8 * 1024 * 1024)
#define LV_DEF_REFR_PERIOD 33
#define LV_DPI_DEF 130
#define LV_USE_OS LV_OS_NONE
#define LV_DRAW_BUF_STRIDE_ALIGN 1
#define LV_DRAW_BUF_ALIGN 4
#define LV_FONT_MONTSERRAT_12 1
#define LV_FONT_MONTSERRAT_14 1
#define LV_FONT_MONTSERRAT_16 1
#define LV_FONT_MONTSERRAT_18 1
#define LV_FONT_MONTSERRAT_20 1
#define LV_FONT_MONTSERRAT_22 1
#define LV_FONT_MONTSERRAT_24 0
#define LV_FONT_MONTSERRAT_26 0
#define LV_FONT_MONTSERRAT_28 0
#define LV_FONT_MONTSERRAT_30 0
#define LV_FONT_MONTSERRAT_32 0
#define LV_FONT_MONTSERRAT_34 0
#define LV_FONT_MONTSERRAT_36 0
#define LV_FONT_MONTSERRAT_38 0
#define LV_FONT_MONTSERRAT_40 0
#define LV_FONT_MONTSERRAT_42 0
#define LV_FONT_MONTSERRAT_44 0
#define LV_FONT_MONTSERRAT_46 0
#define LV_FONT_MONTSERRAT_48 0
#define LV_USE_PERF_MONITOR 1
#define LV_USE_MEM_MONITOR 1
#define LV_USE_LOG 1
#define LV_LOG_LEVEL LV_LOG_LEVEL_WARN
#define LV_LOG_PRINTF 1
#define LV_USE_FS_POSIX 1
#if LV_USE_FS_POSIX
#define LV_FS_POSIX_LETTER 'A'
#define LV_FS_POSIX_PATH "/opt/"
#define LV_FS_POSIX_CACHE_SIZE 0
#endif
#define LV_USE_PNG 1
#define LV_USE_BMP 1
#define LV_USE_JPEG 1
#define LV_USE_GIF 1
/* 图片解码器配置 */
#define LV_USE_TJPGD 1
#define LV_USE_LIBPNG 0
#define LV_USE_LODEPNG 1
#define LV_USE_LIBJPEG_TURBO 0
#define LV_TICK_CUSTOM 1
#if LV_TICK_CUSTOM
#define LV_TICK_CUSTOM_INCLUDE <stdint.h>
extern uint32_t custom_tick_get(void);
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (custom_tick_get())
#endif
/* 禁用 ARM/NEON 优化 (RISC-V 不支持) */
#define LV_USE_DRAW_SW_ASM LV_DRAW_SW_ASM_NONE
#endif /*LV_CONF_H*/
#endif /*End of "Content enable"*/