thank you for replying.
here it is:
#include <signal.h>
#include <io.h>
#include <math.h>
static float f1;
static float f2;
static float fres;
static unsigned long tmr;
int main(void)
{
WDTCTL = WDTPW + WDTHOLD;
BCSCTL1 = RSEL0 + RSEL1 + RSEL2;
DCOCTL = DCO0 + DCO1 + DCO2;
TACTL = TACLR; // clear TAR
TACTL = TASSEL1; // SMCLK
f1 = 1055.8f;
f2 = 10000.453f;
TACCR0 = 1;
TACTL |= MC_2; // Start Timer_a in cont. mode
fres = f1*f2;
TACCR0 = 0;
tmr = TAR;
return 0;
}
by the way, I'm using mspgcc-win32 20041112.
Andre
--- Dmitry <[email protected]> wrote:
> can you post your simple code here?
> ~d
> ----- Original Message -----
> From: "Andre Sodermans" <[email protected]>
> To: <[email protected]>
> Sent: Friday, February 04, 2005 1:11 AM
> Subject: [Mspgcc-users] section .text full when
> using floating point
>
>
> > I am trying to do a simple floating point multiply
> but
> > somehow I can't get past the linker:
> >
> > msp430-ld: region text is full (irap section
> .text)
> > msp430-ld: section .vectors [0000ffe0 -> 0000ffff]
> > overlaps section .text [0000fc00 -> 000101df]
> > msp430-ld: irap: section .vectors lma 0xffe0
> overlaps
> > previous sections
> >
> > I tried to have section text start at 0x8000 with
> the
> > linker flag '-Ttext 0x8000' but then I get the
> > following linker error:
> >
> > msp430-ld: address 0x85e0 of irap section .text is
> not
> > within region text
> >
> > My target device is a msp430-149, which has 60KB
> of
> > flash.
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - Helps protect you from nasty
> viruses.
> > http://promotions.yahoo.com/new_mail
> >
> >
> >
>
-------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW --
> Interactive Reporting
> > Tool for open source databases. Create drag-&-drop
> reports. Save time
> > by over 75%! Publish reports on the web. Export to
> DOC, XLS, RTF, etc.
> > Download a FREE copy at
> http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Mspgcc-users mailing list
> > [email protected]
> >
>
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW --
> Interactive Reporting
> Tool for open source databases. Create drag-&-drop
> reports. Save time
> by over 75%! Publish reports on the web. Export to
> DOC, XLS, RTF, etc.
> Download a FREE copy at
> http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail