On 19.06.2009, at 23:57, Razvan Musaloiu-E. wrote:
In the default-lpl branch I was making use of Globals, a way to
easily make some information available between different components.
I considered the feature very useful but Phil argued that this was
already discussed in the core some time ago and was considered a bad
idea. I'm working right now in pulling out this feature from the
default-lpl branch.
So to get it work on micaz I just have to change "GlobalC.nc" in
accordance with the micaz?
configuration GlobalsC { }
implementation
{
components GlobalsP;
components new CounterToLocalTimeC(T32khz);
components new TransformCounterC(T32khz, uint32_t, T32khz,
uint16_t, 0, uint32_t) as Transform;
components Msp430Counter32khzC;
CounterToLocalTimeC.Counter -> Transform;
Transform.CounterFrom -> Msp430Counter32khzC;
GlobalsP.LocalTime -> CounterToLocalTimeC;
}
I didn't find similar file (Msp430Counter32khzC) from ../tos/chips/
atm128/timer (if it's the right place for micaz?)
However there is Atm128CounterC.nc, but it's quite different from
Msp430Counter32khzC.
For which component should Msp430Counter32khzC replaced on micaz?
Andres Vahter
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help