#
# FILE: mica2/.platform
# 
# 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. 
#
# $Id: .platform,v 1.7 2007/07/10 23:19:06 idgay Exp $
#
push( @includes, qw(

  %T/platforms/mica
  %T/platforms/mica2/chips/cc1000
  %T/chips/cc1000
  %T/platforms/mica2/chips/at45db
  %T/platforms/mica/chips/at45db
  %T/chips/at45db
  %T/chips/atm128
  %T/chips/atm128/adc
  %T/chips/atm128/i2c
  %T/chips/atm128/pins
  %T/chips/atm128/spi
  %T/chips/atm128/timer
  %T/lib/timer
  %T/lib/serial
  %T/lib/power

) );

@opts = qw(

  -gcc=avr-gcc
  -mmcu=atmega128
  -fnesc-target=avr
  -fnesc-no-debug
  -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask

);

push @opts, "-mingw-gcc" if $cygwin;

