"Uploading to I/O board" never finishing

I commented out some currently unused code in the big project but the size stayed the same and it still failed.

I think this proves that the compiler already knew the stuff was unused, and optimized it away. The used stuff stayed the same size, because nothing really changed.