I have a program that is reaching the space limit of my SF Pro Micro (ATmega32U4). I understand that there is a different amount of space available for my program based on the microcontoller chip and bootloader size, but when I've been testing my program on an Uno, the sketch compiles to 25,042 bytes vs 28,018 bytes on the SF Pro Micro. My program also complies just slightly smaller on on the Arduino/Adafruit Micro (also ATmega32U4) at 27,984 bytes. I'm just curious what happens behind the scenes that would cause the program size to change. Thank you!
Well, the 32u4 includes native USB support, so it includes a driver that does serial over usb, which is more complicated than the Uno driver that does 'serial over uart.' (3000 bytes worth? Yeah, probably.)
I'm not sure about Pro Micro vs Adafruit micro.
I am not using the latest ide. Are there separate options for spe micro pro and adafruit micro? I looked at 1.0.5 and there is no option for micro pro.
Thank you for the info, Westfw!
Liudr, the pro micro requires add-on files. Sparkfun explains how to add everything for it here Pro Micro & Fio V3 Hookup Guide - SparkFun Learn