-
Notifications
You must be signed in to change notification settings - Fork 180
LittleFS should be built with -DLFS_NO_DEBUG -DLFS_NO_WARN -DLFS_NO_ERROR #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I would instead suggest adding Kconfig options for LittleFS debug level in https://github.com/joltwallet/esp_littlefs/blob/master/Kconfig, and applying Adding compiler macros for littlefs internals seems a bit wrong at arduino-lib-builder level. This is something that should be handled by the component itself. (Sorry for redirecting you to another repository, again!) |
hehe, no worries. I appreciate the input! |
As an alternative, https://github.com/joltwallet/esp_littlefs/blob/f2a949fbb303b93a0ae1cd47f078c49de96a59a7/src/lfs_config.h#L44 could be modified to call ESP_LOGV instead of printf, then the log level can be controlled same way as all other IDF logs are. (similar for other (I think I like this option more than keeping printfs and custom Kconfig options.) |
me 2. thanks! |
so we should simply replace: |
hey guys, sorry for the slow response; implementing this now. |
will be included in esp_littlefs 1.5.4, which should be released later today. |
implemented in the newly released esp_littlefs v1.5.4. If everyone is happy with it, we can then close this issue. |
Otherwise it will pollute the serial output.
espressif/arduino-esp32#7700
The text was updated successfully, but these errors were encountered: