ankur, I have seen this error before when I was compiling my I2C program for tmote. I fixed it by reinstalling the toolchain. I'm not certain about the exact part but most likely the msp430 toolchain. Also you might try installing moteiv's version.
hope that helps -Fred ----- Original Message ----- From: Ankur Kamthe <[EMAIL PROTECTED]> Date: Tuesday, February 13, 2007 2:18 pm Subject: [Tinyos-help] I2C hardware support error while compiling for telosb > Hi all, > > I am trying to get data from the I2C pins on the expansion connector > for the Tmote Sky and send it to another mote thru the radio. I have > wired the my app called MoteRelay to the I2CPacketC configurations > which provides the initialization, arbitration, send/receive packet > methods. But when I compile my app (in tinyos 1x), I get the > "Compiling with hardware I2C support, but MCU does not support I2C" > error. > > I looked some more and found that the "__msp430_have_usart0_with_i2c" > was not defined. I > was not able to find the definition for that anyplace. Could someone > help me with this problem. > > Thanks, > ankur > > [EMAIL PROTECTED]:/opt/tinyos-1.x/apps/MoteRelay$ make telosb > mkdir -p build/telosb > compiling MoteRelayC to a telosb binary > ncc -o build/telosb/main.exe -O -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d > -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= > -I%T/lib/Deluge > -Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000 > -DIDENT_PROGRAM_NAME=\"MoteRelayC\" -DIDENT_USER_ID=\"akamthe\" > -DIDENT_HOSTNAME=\"venus\" -DIDENT_USER_HASH=0xee29689cL > -DIDENT_UNIX_TIME=0x45d2355eL -DIDENT_UID_HASH=0xc2d3ff04L > -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420Radio MoteRelayC.nc > -lm > /opt/tinyos-1.x/tos/platform/msp430/MSP430I2CM.nc:60:2: #error > MSP430I2C: Compiling with hardware I2C support, but MCU does not > support I2C > In file included from /opt/tinyos- > 1.x/tos/platform/telosb/I2CPacketC.nc:38, from > MoteRelayC.nc:33:In component `MSP430I2CC': > /opt/tinyos-1.x/tos/platform/msp430/MSP430I2CC.nc:45: failed to > preprocess /opt/tinyos-1.x/tos/platform/msp430/MSP430I2CM.nc > /opt/tinyos-1.x/tos/platform/msp430/MSP430I2CC.nc:47: no match > /opt/tinyos-1.x/tos/platform/msp430/MSP430I2CC.nc:48: no match > /opt/tinyos-1.x/tos/platform/msp430/MSP430I2CC.nc:49: no match > /opt/tinyos-1.x/tos/platform/msp430/MSP430I2CC.nc:50: no match > /opt/tinyos-1.x/tos/platform/msp430/MSP430I2CC.nc:52: cannot find > `USARTControl'/opt/tinyos-1.x/tos/platform/msp430/MSP430I2CC.nc:53: > cannot find > `HPLI2CInterrupt' > make: *** [exe0] Error 1 > [EMAIL PROTECTED]:/opt/tinyos-1.x/apps/MoteRelay$ > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi- > bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
