xiaoxiang781216 commented on a change in pull request #3714:
URL: https://github.com/apache/incubator-nuttx/pull/3714#discussion_r642483265



##########
File path: fs/littlefs/Make.defs
##########
@@ -31,11 +31,10 @@ CSRCS += lfs.c lfs_util.c
 DEPPATH += --dep-path littlefs/littlefs
 VPATH += :littlefs/littlefs
 
-CFLAGS += -DLFS_TRACE=finfo
-CFLAGS += -DLFS_DEBUG=finfo
-CFLAGS += -DLFS_WARN=fwarn
-CFLAGS += -DLFS_ERROR=ferr
-CFLAGS += -DLFS_ASSERT=DEBUGASSERT
+CFLAGS += -DLFS_NO_ASSERT
+CFLAGS += -DLFS_NO_DEBUG
+CFLAGS += -DLFS_NO_ERROR
+CFLAGS += -DLFS_NO_WARN

Review comment:
       I take another approach by utilizing LFS_CONFIG hook. @masayuki2009 
please take a look.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to