Compiled Code Size Difference
i wrote small sketch produce ppm output based on analog inputs.
i started arduino "uno", switched arduino "micro" due size restrictions.
however, when compile same sketch "micro", code quite bit larger, 35%.
anyone have reason this?
i have assumed since "micro" single cpu board, code smaller.
the "uno" uses co-processor output digital levels seem require more overhead shift data cpu "co-processor".
i started arduino "uno", switched arduino "micro" due size restrictions.
however, when compile same sketch "micro", code quite bit larger, 35%.
anyone have reason this?
i have assumed since "micro" single cpu board, code smaller.
the "uno" uses co-processor output digital levels seem require more overhead shift data cpu "co-processor".
there reason.
the micro leonardo. use software serial port via usb. uploading sketch or using serial monitor uses software serial port via usb. since bootloader contains code software serial port, both bootloader , sketch larger, , there less available sketch.
the micro leonardo. use software serial port via usb. uploading sketch or using serial monitor uses software serial port via usb. since bootloader contains code software serial port, both bootloader , sketch larger, , there less available sketch.
Arduino Forum > Using Arduino > Programming Questions > Compiled Code Size Difference
arduino
Comments
Post a Comment