There was an error while loading. Please reload this page.
1 parent df4ee3a commit 689f503Copy full SHA for 689f503
2 files changed
src/CMakeLists.txt
@@ -902,6 +902,7 @@ target_compile_options(lvgl PRIVATE
902
903
# LITTLEFS_SRC
904
add_definitions(-DLFS_THREADSAFE)
905
+add_definitions(-DLFS_NAME_MAX=50)
906
add_library(littlefs STATIC ${LITTLEFS_SRC})
907
target_include_directories(littlefs SYSTEM PUBLIC . ../)
908
target_include_directories(littlefs SYSTEM PUBLIC ${INCLUDES_FROM_LIBS})
src/components/fs/FS.cpp
@@ -25,8 +25,9 @@ FS::FS(Pinetime::Drivers::SpiNorFlash& driver)
25
.cache_size = 16,
26
.lookahead_size = 16,
27
28
- .name_max = 50,
+ .name_max = LFS_NAME_MAX, // Note: LFS_NAME_MAX is defined in src/CMakeLists.txt
29
.attr_max = 50,
30
+ .metadata_max = 256,
31
} {
32
}
33
0 commit comments