Skip to content
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

Serial is pulled when using SDCard #54

Open
clementleger opened this issue May 10, 2018 · 0 comments
Open

Serial is pulled when using SDCard #54

clementleger opened this issue May 10, 2018 · 0 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@clementleger
Copy link

While developing a sketch, I was really low on memory and started investigating on which element were taking space. I noticed Serial was being pulled in the final elf even without using it at all.
It appear the SDFile.cpp file contains functions which are embedding Serial.println calls.
Is it possible to add a define which will exclude all print* function and hence reduce memory consumption ?
Thanks

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants