[Tinyos-help] About make command and TOS_LOCAL_ADDRESS

Bor-rong Chen brchen at eecs.harvard.edu
Wed Mar 19 10:46:34 PDT 2008


This is done by tos-set-symbols in T2. Here is an example:

tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump
--target ihex build/telosb/main.ihex build/telosb/main.ihex.out-0
TOS_NODE_ID=0 ActiveMessageAddressC$addr=0

-Bor-rong

Michael Schippling wrote:
> There is a little filter that runs just prior to downloading
> the program image which finds the TOS_LOCAL_ADDRESS location
> in the file and replaces it's value. The name of this little
> filter escapes me right now but you can find it by looking
> towards the end of the make output.
> MS
>
> ÓáÁú wrote:
>   
>> hello everybody,
>>     I have a problem that when we use the command "make install.id 
>> mica2" to install the program and set the mote's id, how this command 
>> changes the global variable of TOS_LOCAL_ADDRESS?
>>     Thanks all!
>> ------
>> Yu long
>> Óá  ýˆ
>>
>> Motto: What you never thought possible.
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>     
>
>   



More information about the Tinyos-help mailing list