On Sat, Jan 14, 2012 at 11:01 AM, Jason Felice <jason.m.fel...@gmail.com> wrote:
> I'm trying to use the same approach as here:
> http://dbindner.freeshell.org/msp430/demo.html (the second example).  I
> tried using a basic example from the TI wiki, and that also would not
> trigger.  I can't get one piece of the example to compile (see below).
> I'm using the latest and greatest of everything from sourceforge,
> installed last night, on Mac OS X.  MCU is MSP430G2553.

I also confirmed the code works with 20111224 (the latest development release).

>         P1REN |= BUTTON; // Won't compile: undefined reference to `__P1REN'

Won't compile or won't link?

The error suggests you may have a mixed up toolchain; the definition
of the peripheral addresses comes from msp430mcu through msp430-ld.
Check your paths and use -v when building to trace each step and make
sure the right component is being invoked.

Peter

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to