.platform

来自「tinyos-2.x.rar」· PLATFORM 代码 · 共 48 行

PLATFORM
48
字号
#
# FILE: btnode3/.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.  And because of that, the current platform's include directory
# must be specified, otherwise its search order is last instead of first.
#
# $Id: .platform,v 1.7 2008/01/17 23:18:59 klueska Exp $
#

push( @includes, qw(

  %T/platforms/btnode3
  %T/platforms/btnode3/chips/cc1000
  %T/platforms/mica
  %T/platforms/mica2
  %T/platforms/mica2/chips/cc1000
  %T/chips/cc1000
  %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

#  %T/platforms/mica2/chips/at45db not existent on btnode3
#  %T/platforms/mica/chips/at45db  not existent on btnode3
#  %T/chips/at45db

) );

@opts = qw(

  -gcc=avr-gcc
  -mmcu=atmega128
  -fnesc-target=avr
  -fnesc-no-debug
);

push @opts, "-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask" if !$with_scheduler_flag;
push @opts, "-mingw-gcc" if $cygwin;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?