sketch size differs, Arduino vs Mpide compilers

yjyj France , Bordeaux
edited October 2015 in Software
For OpenBci_32bit code, both compilers do not agree...
"Verify / Compile " gives :

From Arduino :
Sketch uses 8,320 bytes (6%) of program storage space. Maximum is 122,880 bytes.
Global variables use 424 bytes of dynamic memory.

From Mpide :
Binary sketch size: 54012 bytes (of a 122880 byte maximum)


Which one is right/best ?
I am a little bit shy as regards the uplaod on the card(map), there is so much problem brought back(reported) on the forum.

A preference? Which one is the most reliable?

Thank you,
Yannick.

Comments

  • biomurphbiomurph Brooklyn, NY
    Hey! Thanks for using the new tutorial for getting started with the Arduino IDE!

    the folks at chipKIT have not finalized the code size reporting part of their core yet. the mpide is giving a better sense of the code size.
    I imagine that when the Arduino IDE is able to report the code size, it will be different from the mpide.

    Also, you can find out how big the code is, if you go search for the hex file.
    If you choose the option in preferences to 'show verbose output during compilation' then you will see the hex file name at the end of that process. use that to search for the file, and your OS will report the size.
Sign In or Register to comment.