Hello ,

           Did any one knows where are the hardware level functions defined
in tinyOS 1.x . And also what are the related TinyOS 2.x functions.

Functions like : cbi(), sbi(), bit_is_set() and funcations for setting PINs.

Actually i am converting S-MAC protocol of TinyOS 1.x to TinyOS 2.x and it's
almost done. But it won't able to find some lower level function and
generating error as follows :

------------------------
In component `ClockSMACM':
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc: In
function `Clock.start':
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc:54:
implicit declaration of function `cbi'
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc:55:
implicit declaration of function `bit_is_set'
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc:64:
implicit declaration of function `sbi'
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc: At top
level:
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc:75:
old-style parameter lists not supported
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc:75:
warning: return-type defaults to `int'
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc: In
function `TimeStamp.getTime32':
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc:82:
implicit declaration of function `bit_is_set'
/opt/tinyos-2.1.1/contrib/s-mac/tos/platform/micaz/ClockSMACM.nc:84:
implicit declaration of function `__inw'

-----------------------

So if anyone knows in which file or directory it is defined then please
reply soon.

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

Reply via email to