Hi, I'm newish to the MSP430 and completely new to GCC. I'm using the
Win32 version (latest version, downloaded today!), and I can't get it to
compile the Texas 9600 baud UART example.

I have changed the #includes to <io.h> and <signal.h>.

I have changed the interrupt routine line to:

interrupt (UART0RX_VECTOR) [wakeup] usart0_rx (void)
{etc. etc.}

I invoke GCC using msp430-gcc -mmcu=430x448 -o uart0.bin -O uart0.c.

This is what I get:

parse error before '[' token

If I remove the wakeup invocation, it comiples OK, but of course doesn't
wakeup the program (zzzz).

I've obviously got it wrong, but where?

Any help much appreciated.

Paul Burke

Reply via email to