Hi,
I am writing a simulation in TOSSIM under tinyos-2.1.0.
In my application, I have to introduce some delays, in the order of
microseconds. I am using,
BusyWait.nc
BusyWaitMicroC.nc
Whenever I compile, I get the following error.
/opt/tinyos-2.1.0/tos/platforms/micaz/BusyWaitMicroC.nc: In function
‘BusyWaitMicroC$BusyWait$wait’:
/opt/tinyos-2.1.0/tos/platforms/micaz/BusyWaitMicroC.nc:40: error: impossible
constraint in ‘asm’
I don't understand this, since I am not much familiar with assembly coding. Can
this be because of using a wrong BusyWaitMicroC for my interface. Please note:
I use the following width and precision, uses interface BusyWait<TMicro,
uint16_t>;
I am simulating for micaz platform and hence I use "make micaz sim". It is
probably because of this reason, that my compiler picks BusyWaitMicroC from
/tos/platforms/micaz/BusyWaitMicroC.nc
What can be the problem here,
Any help will be much appreciated.
Regards,
zahid iqbal
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help