diff --git a/pkg/littlefs2/Makefile.include b/pkg/littlefs2/Makefile.include index aca2d10be6..f7398fb4ef 100644 --- a/pkg/littlefs2/Makefile.include +++ b/pkg/littlefs2/Makefile.include @@ -4,3 +4,6 @@ DIRS += $(RIOTBASE)/pkg/littlefs2/fs # Reduce LFS_NAME_MAX to 31 (as VFS_NAME_MAX default) CFLAGS += -DLFS_NAME_MAX=31 + +# avoid compilation errors when NDEBUG is defined +CFLAGS += -DLFS_NO_ASSERT