[Tinyos-help] about FTSP
Branislav Kusy
kusy at stanford.edu
Wed Jun 11 09:32:00 PDT 2008
hi jiwen,
jiwen zhang wrote:
> Hello brano :
> The file CC2420CsmaP.nc i mentioned in last email is in
> tinyos-2.x-contrib/stanford-lgl/tos/chips/cc2420/csma , and the file
> CC2420CsmaC is in tinyos-2.x/tos/chips/cc2420/csma .
> i have set the LGLDIR (export
> LGLDIR="$HOME/local2/src/tinyos-2.x-contrib/stanford-lgl/") , and i see
> the sentence "$(call TOSMake_include,lgl.extra)" in the Makerules in
> tinyos-2.x-contrib/stanford-lgl/apps , so i think the compile tools will
> search the directory which lgl.extra adds (???) , so the component of
> CC2420CsmaC is in tinyos-2.x/tos/chips/cc2420/csma is wired to the
> compoent of CC2420CsmaP in
> tinyos-2.x-contrib/stanford-lgl/tos/chips/cc2420/csma , not the
> component CC2420CsmaP in tinyos-2.x/tos/chips/cc2420/csma . so the
> error appears , because the interface of RadioBackoff in CC2420CsmaP
> and CC2420CsmaC is not compatible , one is "provides interface
> RadioBackoff[am_id_t amId]" and the other is "provides interface
> RadioBackoff" .
sorry it's my bad, i wasn't reading carefully enough. you follow all
steps correctly, but the radio stack changed since i ported ftsp to T2.
i have committed a modified code to $LGLDIR, but i haven't tested it.
this is because i'm currently updating ftsp to new timesync/timestamping
interfaces - which are more significant changes. i'll be done in few days.
the best option for you right now is to check out tinyos-2.x with the -r
flag, using date when i committed ftsp (ie. march 21, 2008). or wait a
couple of days.
brano
More information about the Tinyos-help
mailing list