Make LittleFS filenames support full size (#2192)
Support 255 character names, not just 32, in LittleFS filesystems.
This commit is contained in:
parent
6d6433f256
commit
ce45c65568
3 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@
|
|||
#include <FS.h>
|
||||
#include <FSImpl.h>
|
||||
|
||||
#define LFS_NAME_MAX 32
|
||||
#define LFS_NAME_MAX 255
|
||||
#include "../lib/littlefs/lfs.h"
|
||||
|
||||
using namespace fs;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Just have a stub here that redirects to the actual source file
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#define LFS_NAME_MAX 32
|
||||
#define LFS_NAME_MAX 255
|
||||
#define LFS_NO_DEBUG
|
||||
#define LFS_NO_WARN
|
||||
#define LFS_NO_ERROR
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#define LFS_NAME_MAX 32
|
||||
#define LFS_NAME_MAX 255
|
||||
#define LFS_NO_DEBUG
|
||||
#define LFS_NO_WARN
|
||||
#define LFS_NO_ERROR
|
||||
|
|
|
|||
Loading…
Reference in a new issue