Is is possible like in C# to exclude specific content of my code when building for ATtiny.
I often debug via a bool where throughout my projects i have small "if(debug == true); Serial.println(debuginfo);
but when i build for attiny i have to remove all these, because the Serial command is not used, and i don't really want to add the library due to limited memory.
Was thinking something along the way Unity does it..
#if Arduino if(debug == true); Serial.println(debuginfo); #endif
Meaning that piece will ONLY be included/compiled if compiling for a Arduino unit.