X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fshimmer%2F.platform;fp=tos%2Fplatforms%2Fshimmer%2F.platform;h=760dd36b38d7e749f3f7021876227733d016d429;hb=bef408170ad6af964a2a8950ea57c5d8fda75678;hp=0000000000000000000000000000000000000000;hpb=ebf48268b66ae6e39a0e49af162fb4c64bfddd12;p=tinyos-2.x.git diff --git a/tos/platforms/shimmer/.platform b/tos/platforms/shimmer/.platform new file mode 100644 index 00000000..760dd36b --- /dev/null +++ b/tos/platforms/shimmer/.platform @@ -0,0 +1,48 @@ +# SHIMMER - platform includes +# Konrad Lorincz 5/14/08 +# +# Includes that should take precedence come first. Platforms come before +# chips because they may override files. These must be specified as +# @includes instead of -I's to @opts, otherwise the %T won't be processed +# by ncc. + +push( @includes, qw( + + %T/platforms/shimmer + %T/platforms/shimmer/chips/cc2420 + %T/chips/cc2420 + %T/chips/cc2420/alarm + %T/chips/cc2420/control + %T/chips/cc2420/csma + %T/chips/cc2420/interfaces + %T/chips/cc2420/link + %T/chips/cc2420/lowpan + %T/chips/cc2420/lpl + %T/chips/cc2420/packet + %T/chips/cc2420/receive + %T/chips/cc2420/spi + %T/chips/cc2420/transmit + %T/chips/cc2420/unique + %T/chips/msp430 + %T/chips/msp430/adc12 + %T/chips/msp430/dma + %T/chips/msp430/pins + %T/chips/msp430/timer + %T/chips/msp430/usart + %T/chips/msp430/sensors + %T/lib/timer + %T/lib/serial + %T/lib/adc + %T/lib/power + ) ); + +@opts = qw( + + -gcc=msp430-gcc + -mmcu=msp430x1611 + -fnesc-target=msp430 + -fnesc-no-debug +); + +push @opts, "-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask" if !$with_scheduler_flag; +push @opts, "-mingw-gcc" if $cygwin;