Hi,

I have recently started running some sample applications on TinyOS, and I am
currently stuck with compiling the application for avr platforms. In
particular, I receive the following error:

$TOSROOT/tos/platforms/mica2/chips/cc1000/HplCC1000SpiP.nc:62: internal
compiler error: in start_function, at c-decl.c:6248
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

The error above referes to following piece of code in HplCC1000SpiP.nc,

AVR_ATOMIC_HANDLER(SIG_SPI) {
    register uint8_t temp = SPDR;
    SPDR = outgoingByte;
    signal HplCC1000Spi.dataReady(temp);
  }

In addition, the application compiler perfectly with the telosb target (with
MSP430). So, this problem must have something to do with the avr utilities
on my system. I have installed the binutils and gcc support for avr, as well
as the libraries. Can anyone let me know what is missing? Thank you.

Regards,
Venkat
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to