ATTinyCore compilation
Closed this issue · 1 comments
During compilation of my sketch, I see that the process is including Serial0.cpp, Serial1.cpp,, HardwareSerial.cpp, TinySoftwareSerial.cpp,
& Tone.cpp, yet within my sketch I have no references to these, or need for them from an operational point of view. Exporting the compiled binary does reveal the code sections within the final binary, so it ends up larger than desired (I'm already hitting the limit with a largish sketch).
Is there any way to specifically exclude these files from the compilation process, or is it part of the overall and nothing can be done?
Sorry, ignore this. I wrote the sketch to allow me to develop on the UNO (for convenience) and one of my preprocessor directives was wrong, and thereby included a Serial.print statement, stupid boy!!