Skip to content

Commit

Permalink
fix: enable LV_FS_POSIX (#44)
Browse files Browse the repository at this point in the history
The examples uses image path starts from /, which is supported by FS_POSIX

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
  • Loading branch information
XuNeo authored May 26, 2024
1 parent b8eacea commit 533913b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulator/lv_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@
#endif

/*API for open, read, etc*/
#define LV_USE_FS_POSIX 0
#define LV_USE_FS_POSIX 1
#if LV_USE_FS_POSIX
#define LV_FS_POSIX_LETTER '/' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_POSIX_PATH "/" /*Set the working directory. File/directory paths will be appended to it.*/
Expand Down

0 comments on commit 533913b

Please sign in to comment.