Hi!

On Sat, 20 Jun 2009, Andres Vahter wrote:

>
> 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?
>

I updated the default-lpl branch with support for micaz. I also add a 
branch called default-lpl-new which does not contain Globals. Can you 
please try one of them? I did not test them seriously yet so there might 
be some bugs.

For people that are watching this. The git repository we are talking about 
is this one:
        http://hinrg.cs.jhu.edu/git/?p=razvanm/tinyos-2.x.git

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

Reply via email to