Dear Madhuri, You have to include the path of sensorboard you are using in your Makefile. For example something like:
CFLAGS += -I$(TOSDIR)/sensorboards/mts300 best regards, -- Faisal Aslam > Hi, > > I am trying to read temperature in TinyOS2.X. I am using micaz. I am using > SensirionSht11C.nc > > But I am getting compilation errors: > In component `HplSensirionSht11C': > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:21: component > HplSensi > rionSht11P not found > In file included from > /opt/tinyos-2.x/tos/platforms/micaz/HplMsp430InterruptC.nc > :53, > from > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc: > 29, > from > /opt/tinyos-2.x/tos/platforms/micaz/HalSensirionSht11C.nc: > 9, > from > /opt/tinyos-2.x/tos/platforms/micaz/SensirionSht11C.nc:11, > > from SenseAppC.nc:50: > In component `HplMsp430InterruptP': > /opt/tinyos-2.x/tos/platforms/micaz/HplMsp430InterruptP.nc:262: syntax > error > bef > ore `}' > In component `HplSensirionSht11C': > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:11: cannot find > `Port1 > 5' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:15: cannot find > `Port1 > 6' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:19: cannot find > `Port1 > 7' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:22: cannot find > `PWR' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:23: cannot find > `DATA' > > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:24: cannot find > `SCK' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:27: cannot find > `Timer > ' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:31: cannot find > `Port1 > 5' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:38: no match > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:39: cannot find > `Init' > > make: *** [exe0] Error 1 > > > How to overcome this errors. I nee your help. > > > Thanks in advance... > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
