Initial project setup: ESP-IDF + C++ + FreeRTOS + WiFi + web server
This commit is contained in:
45
main/lv_conf.h
Normal file
45
main/lv_conf.h
Normal file
@@ -0,0 +1,45 @@
|
||||
#ifndef LV_CONF_H
|
||||
#define LV_CONF_H
|
||||
|
||||
/* Display */
|
||||
#define LV_HOR_RES_MAX 800
|
||||
#define LV_VER_RES_MAX 480
|
||||
#define LV_COLOR_DEPTH 16
|
||||
#define LV_COLOR_16_SWAP 0
|
||||
#define LV_COLOR_SCREEN_ON_BW_THRESH 127
|
||||
|
||||
/* Memory */
|
||||
#define LV_MEM_CUSTOM 0
|
||||
#define LV_MEM_SIZE (48 * 1024)
|
||||
#define LV_MEM_ADR 0
|
||||
#define LV_MEM_AUTO_DEFRAG 1
|
||||
|
||||
/* Drawing */
|
||||
#define LV_DISP_DEF_REFR_PERIOD 30
|
||||
#define LV_INDEV_DEF_READ_PERIOD 30
|
||||
|
||||
/* Logging */
|
||||
#define LV_USE_LOG 1
|
||||
#define LV_LOG_LEVEL LV_LOG_LEVEL_WARN
|
||||
#define LV_LOG_MEM_USAGE 1
|
||||
#define LV_LOG_TIMER 1
|
||||
|
||||
/* LVGL Version */
|
||||
#define LV_VERSION_CHECK 1
|
||||
|
||||
/* Extended features */
|
||||
#define LV_USE_DRAW_SIMPLE_IMG 1
|
||||
#define LV_USE_DRAW_TRANSFORM 1
|
||||
#define LV_USE_DRAW_DITHER 1
|
||||
#define LV_USE_DRAW_MASK 1
|
||||
|
||||
/* Themes */
|
||||
#define LV_USE_THEME_DEFAULT 1
|
||||
|
||||
/* Image decoder */
|
||||
#define LV_USE_IMG_DECODER_EXTERNAL 1
|
||||
|
||||
/* Touch input */
|
||||
#define LV_USE_TOUCH_INPUT 1
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user