fs/littlefs: set LFS_NAME_MAX to CONFIG_NAME_MAX

This commit is contained in:
Marco Casaroli 2022-11-08 12:56:01 +01:00 committed by Xiang Xiao
parent 1a06ea4356
commit 36c511f710

View File

@ -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