Closed ecaits closed 6 years ago
The unused variables are automatically removed by the compiler, I think that the memory used is the amount that is actually needed to run the library.
Maybe you can try some tricks to reduce RAM usage on AVR like moving strings from RAM to PROGMEM, but please, ask on the forum if this is the case -> https://forum.arduino.cc
Hello,
Any example in library is taking almost 50% global variable memory. As I am using many other library, I want to reduce the global variable memory of sd library. I am using few function like, file open, file write, file read and file close so other functions are useless for me. How can reduce the global variable memory by removing the other global variables???