Hi, Try "CFLAGS=-DTOSH_DATA_LENGTH=102 make micaz" (btw, you need to recompile an application for the modification of the message length to take effect, reinstalling it won't change the program)
Cheers, Urs On 1/26/11 2:14 PM, [email protected] wrote: > Hallo together, > > here comes perhaps a quit simple question. > Currently I am working with tinyos-2.1.0. Here you can find under > /apps/BaseStation the basic files to setup a new basestation. Due to our > normal project we need a different message-length than default to be used. > > we just added in the Makefile which can be found inthe above mentioned folder > the following line: > > CFLAGS += -DTOSH_DATA_LENGTH = 102 > > In the next step we install the BaseStation with the following command: > > make iris install mib510./dev/ttyUSB0 > > Everthing runs as expected and works fine. > > Now the QUESTION: > Is it possible to add the CFLAGS in the command line when send the > make-command? Idea: the basic apps defined by tinyos do not need to be > changed in Makefiles. > So I am looking something like the following command: > > make iris install "CFLAGS += -DTOSH_DATA_LENGTH=102" mib510./dev/ttyUSB0 > > Can anyone help me or send me the comand I am looking for? > > Thanks a lot, > Conny _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
