summaryrefslogtreecommitdiff
path: root/src/libs/lv_conf.h
diff options
context:
space:
mode:
authorjoaquim.org <joaquim.org@gmail.com>2021-07-11 14:06:06 +0100
committerGitHub <noreply@github.com>2021-07-11 15:06:06 +0200
commit084123b752c74f7b8a6da23cb9bce0ac4efa3715 (patch)
treeaaef45602ba4b4168341053c16685dec9e4a9c71 /src/libs/lv_conf.h
parent61a4642221fc9fcab6889221e7bf9c29778589f2 (diff)
Using littlefs (#438)
* add submodule littlefs * base fs * Save settings using littlefs * Small fixes and suggestions from PR * More small fixes from PR suggestions * Code clean up * Change SpiNorFlash functions to be private in FS
Diffstat (limited to 'src/libs/lv_conf.h')
-rw-r--r--src/libs/lv_conf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/lv_conf.h b/src/libs/lv_conf.h
index a03a4833..e85eeb1f 100644
--- a/src/libs/lv_conf.h
+++ b/src/libs/lv_conf.h
@@ -204,7 +204,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h" */
/* 1: Enable file system (might be required for images */
// TODO: Enable FS
-#define LV_USE_FILESYSTEM 0
+#define LV_USE_FILESYSTEM 1
#if LV_USE_FILESYSTEM
/*Declare the type of the user data of file system drivers (can be e.g. `void *`, `int`, `struct`)*/
typedef void * lv_fs_drv_user_data_t;
@@ -236,7 +236,7 @@ typedef void * lv_fs_drv_user_data_t;
* With complex image decoders (e.g. PNG or JPG) caching can save the continuous open/decode of images.
* However the opened images might consume additional RAM.
* LV_IMG_CACHE_DEF_SIZE must be >= 1 */
-#define LV_IMG_CACHE_DEF_SIZE 1
+#define LV_IMG_CACHE_DEF_SIZE 6
/*Declare the type of the user data of image decoder (can be e.g. `void *`, `int`, `struct`)*/
typedef void* lv_img_decoder_user_data_t;