I have been using avr-size.exe to track my memory foot print for my project to ensure I am within the save limits depending on what chip I am on. I started adding the Serial communication functions today and noticed a spike in SRAM usage by 680bytes by just initializing Serial.
With Serial.being(9600) in the setup loop: text data bss dec 30538 1652 1001 33191
Without Serial.being(9600) in the setup loop: text data bss dec 27998 1636 321 29955
I tested this with several baud rates and it stays at 680 bytes. And btw I am using an Arduino Mega 2560 R2 if it matters.
Does anyone know if 680 byte consumption is normal? Is there another library alternative that has less overhead requirement (have another project where I need Serial communication but I cannot spare 680 bytes of RAM)?
FYI I did this test without ANY serial commands being used other than Serial.begin.