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.
I forgot to say that if you do use GCC 3.3 or GCC 3.4 you will not have
support for any of the MSP430 devices released in something like the
last 2 years. Because those versions were not performing well it is a
long time since we bothered to update them.
Regards,
Steve