-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Grant Edwards wrote:
> On 2006-03-18, Brian C. Lane <b...@brianlane.com> wrote:
> 
>>>>> I'm trying to figure out how to exit from low power mode.
>>>>> According to the manual, the _BIC_SR_IRQ() macro does what I
>>>>> want, but I can't get it to compile without a warning.  Isn't
>>>>> there a way to do it that doesn't generate compiler warnings?
> [...]
>>>> What's the warning look like?
>>>   hdlc.c:159: warning: concatenation of string literals with __FUNCTION__ 
>>> is deprecated
> [...]
> 
>>>> I used:
>>>>
>>>> _BIC_SR_IRQ(LPM0_bits);
>>>>
>>>> in my onelock project and don't remember a problem with it.
> 
> Are you sure you don't get any warning??  If so, I may switch
> to gcc 3.3.  I'm using 3.2, since that's the latest "released"
> version from mspgcc.sourceforge.net.
> 
>>> Are you using gcc 4.x?  With gcc4, the above macro isn't used,
>>> but rather a built-in function that has been added to gcc itself.
>>>
>> I was using the install from http://cdk4msp.sourceforge.net/, I don't
>> think it uses 4.x yet.
> 
> It looks like they're at 3.3.2. I must admit I'm pretty baffled
> by the statement at cdk4msp.sourceforge.net that says:
> 
>     CDK4MSP is based on the GCC toolchain for the Texas
>     Intruments MSP430 MCUs maintained by Dimitry Diky and Chris
>     Lichti at Sourceforge (http://mspgcc.sourceforge.net/). Til
>     now MSPGCC supports Win32 developer systems as best as
>     possible. There is no really good Linux support.
> 
> What do they mean?  The files I downloaded from
> mspgcc.sourceforge.net worked fine under Linux.  Have they
> (cdk4msp) done something besides build RPMs?
> 

The last time I tried installing the ones from mspgcc.sourceforge.net I
ran into a bunch of problems that I admittedly no longer remember. The
rpms are way easier, at least for me.

Also see http://www.brianlane.com/articles/msp430_linux/ and
http://www.linuxjournal.com/article/8682

Brian

- --
- ---[Office 69.2F]--[Fridge 37.9F]---[Server 79.6F]--[Coaster 68.5F]---
Linux Software Developer                     http://www.brianlane.com

"We are all prisoners, holding our own keys" -- Phillipe the Mouse
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Remember Lexington Green!

iD8DBQFEHODGIftj/pcSws0RAoV5AJ9bsQGc+IDimVWALKvMiIF0RSs8cQCfbcDz
NWLwSKo9Y5tce+bD/T6Mljk=
=S3M1
-----END PGP SIGNATURE-----

Reply via email to