I noticed a bunch of new stuff at the bottom of the .platform file for telosb. Not sure if this is related or not....
Kevin On Tue, Sep 23, 2008 at 11:34 AM, Eric Decker <[EMAIL PROTECTED]> wrote: > Hi, > > I have a custom platform that is similar to the telosb and would like to > start using > safe TinyOS/Deputy. When I do a build normally I type "make debugopt mm3 > threads" > and it builds fine. I try to build safe using > > "make debugopt mm3 threads safe" > > and it does the same thing as the former. I've > looked at what is getting included and there isn't any change. > > When I've built other applications for the telosb using safe I notice that > "/usr/lib/ncc/deputy_stage1.h" > gets pulled in. While when I try to build my stuff it is always using > "/usr/lib/ncc/deputy_nodeputy.h" > even if I have "safe" included on the command line. > > I notice that the nesc1 command line is: (seen via verbose) > > This is from a "make verbose mm3 threads safe" > > Note in particular the "-fnesc-include=deputy_nodeputy" > > nesc1 -fnesc-include=deputy_nodeputy -_fnesc-gcc=msp430-gcc > -_fnesc-include=nesc_nx -_fnesc-include=tos > -_fnesc-scheduler=TinyTaskSchedulerC,TinyTaskSched\ > ulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask -_Wnesc-all > -_fnesc-target=msp430 -_fnesc-no-debug -mdisable-hwmul -mmcu=msp430x1611 > -DPLATFORM_MM3 -\ > DBOARD_ -DTEST_GPS -DENABLE_ERASE -DFAKE_SURFACE -DTRACE > -DDEFINED_TOS_AM_GROUP=0x22 -DTHREADS -DIDENT_APPNAME="mm3AppC" > -DIDENT_USERNAME="cire" -DIDENT_H\ > OSTNAME="zot" -DIDENT_USERHASH=0x11dce1bdL -DIDENT_TIMESTAMP=0x48d935d7L > -DIDENT_UIDHASH=0x822daf31L -DNESC=130 -I/usr/lib/ncc > -I/home/cire/mm_t2/t2_mm3/t\ > os/platforms/mm3 -I/home/cire/mm_t2/t2_mm3/tos/system > -I/home/cire/mm_t2/t2_mm3/tos/interfaces > -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/lib/tosthreads/chi\ > ps/msp430 -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/lib/tosthreads/system > -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/lib/tosthreads/interfaces > -I/home/cire/m\ > m_t2/t2_cur/tinyos-2.x/tos/lib/tosthreads/types > -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/sensorboards/ > -I/home/cire/mm_t2/t2_mm3/tos/platforms/mm3 -I/home\ > /cire/mm_t2/t2_mm3/tos/platforms/mm3/misc > -I/home/cire/mm_t2/t2_mm3/tos/platforms/mm3/sensors > -I/home/cire/mm_t2/t2_mm3/tos/platforms/mm3/../../chips/msp4\ > 30/timer > -I/home/cire/mm_t2/t2_mm3/tos/platforms/mm3/../../../support/utils/include > -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/chips/cc2420 -I/home/cire/mm_\ > t2/t2_cur/tinyos-2.x/tos/chips/msp430 > -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/chips/msp430/pins > -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/chips/msp430/tim\ > er -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/chips/msp430/usart > -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/chips/msp430/dma > -I/home/cire/mm_t2/t2_cur/tinyos-\ > 2.x/tos/lib/timer -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/lib/serial > -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/lib/power > -I/home/cire/mm_t2/t2_cur/tinyos-\ > 2.x/tos/interfaces -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/types > -I/home/cire/mm_t2/t2_cur/tinyos-2.x/tos/system -Wall -Wshadow -v mm3AppC.nc > -o build/mm\ > 3/app.c > > > Could some one help me figure out what needs to tweaked? > > eric > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > Autonomous Systems Lab > Jack Baskin School of Engineering > UCSC > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- ~Kevin _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
