Well... msp/debug.extra says OPTFLAGS = -O1 -g -fnesc-no-inline, so you
lose -Os, and inlining saves a lot of space for typical TinyOS programs.
I think this may be the culprit.

Michiel

 

From: Eric Decker [mailto:[email protected]] 
Sent: woensdag 2 december 2009 19:01
To: Michiel Konstapel
Cc: giorgio; [email protected]
Subject: Re: [Tinyos-help] region text full

 

but the debugging stuff isn't actually put anywhere in the image.  the
linker is complaining about two actual data/code segments overlapping
which is bad.

 

debugging stuff (unless actual debugging code) doesn't manifest in the
load image.

 

eric

 

On Tue, Dec 1, 2009 at 4:09 AM, Michiel Konstapel
<[email protected]> wrote:

I don't think you get the xx bytes in ROM, yy bytes in RAM message when
linking fails, so I'm guessing that's the size without debug info. With
debug, it's probably going over 48K.

Michiel

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Eric
Decker
Sent: dinsdag 1 december 2009 12:30
To: giorgio
Cc: [email protected]
Subject: Re: [Tinyos-help] region text full

 

The amount of rom seems right 41 < 48  the 1611 has 48K.

 

But if you look at the error message from the linker there is definitely

an overlap.

 

I suspect that the reported rom size is wrong.  You'll have to figure

this one out by inspected the objdump by hand and figuring out what is

getting placed where.

 

no easy answer.  roll up the sleeves.

 

eric

 

On Sun, Nov 29, 2009 at 11:49 PM, giorgio <[email protected]>
wrote:

Sorry for the late :I have had some problems
The processor is M430F1611.

On Friday 27 November 2009 08:07:17 Eric Decker wrote:
> what processor are you using?
>
> On Thu, Nov 26, 2009 at 7:50 AM, Giorgio Galassi (giorgio.galassi) <
>
> [email protected]> wrote:
> > I'am using tinyos 2.1 with telosb and when I do "make telosb debug "
I
> > obtain
> > msp430-ld: region text is full (build/telosb/main.exe section .text)
> > msp430-ld: section .vectors [0000ffe0 -> 0000ffff] overlaps section
.text
> > [00004000 -> 0001242b]
> > msp430-ld: build/telosb/main.exe: section .vectors lma 0xffe0
overlaps
> > previous sections
> >
> >
> > but my prgram size is
> >
> >        41978 bytes in ROM
> >        3382 bytes in RAM
> >
> >
> > why ?
> >
> > Please help me
> >
> > Giorgio

> >
> >
> > _______________________________________________
> > 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




-- 
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