A message at the end of compilation should tell you how many bytes of RAM and ROM are used by the program. RAM is the declared variables and (I think) a fixed size stack. ROM is the program code and constant "variables". It is stored in the flash memory when downloading. Note that initialized variables are included in this and some startup code copies them to RAM.
MS João Gonçalves wrote: > Hello, can someone clarify me if the msp430 compiler (mspgcc) > can or does automatically, load some part or maybe all of an application > code to the flash memory of an msp430, > when the total size of the compiled aplication is bigger than the RAM > size of the uC? > > Thanks > > João > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
