Hi,
I am new in Tinyos and want to test XSensorMTS300. 
I get the error:
mkdir -p build/micaz
compiling TestSensor to a micaz binary
ncc -o build/micaz/main.exe -Os -I%T/../contrib/xbow/tos/interfaces  
-I%T/../contrib/xbow/tos/system  -I%T/../contrib/xbow/tos/platform/micaz 
-I%T/../contrib/xbow/tos/lib -I%T/../contrib/xbow/tos/sensorboards/mts310 
-finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=125 -Wnesc-all 
-target=micaz -fnesc-cfile=build/micaz/app.c -board=mts310 
-DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_00 -DRADIO_XMIT_POWER=0xFF 
-DCC2420_TXPOWER=TXPOWER_MAX -DCC2420_DEF_CHANNEL=26 
-DIDENT_PROGRAM_NAME="TestSenso" 
-DIDENT_PROGRAM_NAME_BYTES="84,101,115,116,83,101,110,115,111,0" 
-DIDENT_USER_HASH=0xd931a02eL -DIDENT_UNIX_TIME=0x468d6441L 
-I/opt/tinyos-1.x/tos/lib/CC2420Radio TestSensor.nc -lm

C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/Voltage.nc:41: 
`TOS_ADC_VOLTAGE_PORT' undeclared here (not in a function)
C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/VoltageM.nc: In function 
`StdControl.init':
C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/VoltageM.nc:51: 
`TOS_ADC_VOLTAGE_PORT' undeclared (first use in this function)
C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/VoltageM.nc:51: (Each undeclared 
identifier is reported only once
C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/VoltageM.nc:51: for each function it 
appears in.)
C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/VoltageM.nc:51: 
`TOSH_ACTUAL_VOLTAGE_PORT' undeclared (first use in this function)
C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/Voltage.nc: At top level:
C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/Voltage.nc:41: constant expression 
expected
make: *** [exe0] Error 1

I don't know how can I solve this problem. Could you give me any suggestions or 
advice?

Thanks,
Mariusz

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

Reply via email to