-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
LittleFS debug messages polluting Serial(0). #7700
Comments
Possibly wrong repository. This is IDF functionality. Are you seeing LFS debug messages in Arduino projects? That message is printed if LFS_DEBUG is defined in lfs_util.h. The only thing this repository might be able to control is defining LFS_NO_DEBUG. |
yes, that's the point. I was confused by the As this component is pre-compiled into tools/sdk/esp32/lib/libesp_littlefs.a it is something to be fixed in the build of that library I guess. |
The .a files (and config options) are built here: https://github.com/espressif/esp32-arduino-lib-builder Hmmm. I have a local copy of IDF 4.4.3 on my computer, but I can't find the "components\esp_littlefs" in the IDF repository. I did notice that SPIFFS (which I use) uses ESP_LOGE() macros for debug statements vs printf in LittleFS. I believe the Arduino compile turns those off ESP_LOGE(), which is why they aren't an issue. This looks like an issue that IDF should solve: https://github.com/espressif/esp-idf. Odd though that LittleFS has disappeared.... |
This implies LFS may be a separate component now: espressif/esp-idf#5469 |
LittleFS is added as an additional component in lib-builder. Open a similar issue there so they can track it. |
@mrengineer7777 thanks for archeological work! ;-) I opened an issue here: espressif/esp32-arduino-lib-builder#103 |
Fixed in repo LittleFS |
Board
n.a.
Device Description
n.a.
Hardware Configuration
n.a.
Version
latest master (checkout manually)
IDE Name
n.a.
Operating System
n.a.
Flash frequency
n.a.
PSRAM enabled
yes
Upload speed
n.a.
Description
It seems as if LittleFS is compiled with debug macros enabled so it will pollute the serial output of any program. I do not think it can be switched off at runtime.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: