Such a smiling face :-)

man msp430-nm

lets say you are building Blink for the telosb...

cd apps/Blink
make telosb
cd build/telosb
msp430-nm -an main.exe > main.sym


viola

I'm not sure where the different data sections are defined.

Here are the different sections that I remember...

.bss      uninitilized ram (initialized to zero)
.data     initialized ram (a copy of what the inital values are is stored
in ROM)
.text      actual ROM (I don't remember where the term "text" came from)
.vectors where the interrupt vectors start.


If you are running off the tp-freeforall fork (tinyprod, tp-freeforall is a
working repo off tinyprod, hold the newest msp430 core which includes
support the the x5 processors (5438a etc).   Anyway, tp-freeforall already
has symbol table generation turned on by default.

take a look at ...
https://github.com/tp-freeforall/prod/blob/tp-master/support/make/msp/msp.rules



On Tue, Oct 22, 2013 at 1:52 AM, Mojito <[email protected]> wrote:

> Thank you for the suggestions.
>
> - I have upgraded the compiler to 4.7.x version and the RAM usage is
> reduced
> a little bit.
> - I have disabled printfs but this seems to not be related to the RAM, as
> it
> is the ROM to be reduced instead.
>
> I am curious about the generation of a symbol table, I never done it before
> and I am a newbie in this context. So please Eric can you tell me where I
> can look to learn how to use this tool?
>
> Giulio
>
>
>
> --
> View this message in context:
> http://tinyos-help.10906.n7.nabble.com/RAM-usage-reduction-tp23695p23702.html
> Sent from the TinyOS - Help mailing list archive at Nabble.com.
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to