msp430-size elffile
then you'll get:
text data bss dec hex filename
704 0 22 726 2d6 a.out
ROM size = text + data
RAM size = data + bss + stack size required, which not diplaied here
~d
On Wednesday 26 March 2003 17:31, Saso Zbontar wrote:
> Hi,
>
> How to find out how much RAM is used on target
> processor when I compile the program or to find out
> how much RAM has the compiler reserved for variables
> defined in my program. For example: according to my
> calculations I am using about 120 bytes of RAM on MSP430f413
> but something odd hapens when i run the program. I think some
> variables are overlaping. Stack is set to default value ( 0x0300 )
>
> Any Ideas?
>
> Regards Saso
--
/********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314
********************************************************************/