Unverified Commit ce45c655 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Make LittleFS filenames support full size (#2192)

Support 255 character names, not just 32, in LittleFS filesystems.
parent 6d6433f2
......@@ -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
......
#define LFS_NAME_MAX 32
#define LFS_NAME_MAX 255
#define LFS_NO_DEBUG
#define LFS_NO_WARN
#define LFS_NO_ERROR
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment