Re: error: __delay_cycles argument too large

Peter Bigot <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <CAPOJ94Ot54tk+6zUQMxW1Z679xF+OoCB0sAACPup7ZaG1e1zhw@mail.gmail.com>
Update your mspgcc to the current stable release.  Outdated versions
couldn't handle delays larger than 65535; current ones accept a 32-bit
cycle count.

If you can't update, the workaround is to wrap the intrinsic in a loop so
the duration does not exceed 65535.


On Thu, Apr 11, 2013 at 5:33 AM, Dean Chester <[email protected]>wrote:

> Hi,
>
> I keep getting this error when I compile some code. The line looks like:
>
>     __delay_cycles(800000);
>
> If I was to compile with code composer studio it wouldn't raise an error so
> why does MSP430-GCC raise an issue? What work arounds can I use to get
> around this problem?
>
> TIA,
>
> Dean
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.