fs/littlefs: set `LFS_NAME_MAX` to `CONFIG_NAME_MAX`
@@ -37,6 +37,7 @@ CFLAGS += -DLFS_WARN=fwarn
CFLAGS += -DLFS_ERROR=ferr
CFLAGS += -DLFS_ASSERT=DEBUGASSERT
CFLAGS += -DLFS_CONFIG=../lfs_vfs.h
+CFLAGS += -DLFS_NAME_MAX=$(CONFIG_NAME_MAX)
LITTLEFS_VERSION ?= 2.4.0
LITTLEFS_TARBALL = v$(LITTLEFS_VERSION).tar.gz
