[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/SP/tools/make z.target, NONE, 1.1

Arsalan Tavakoli arsalant at users.sourceforge.net
Mon Jul 24 13:19:05 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/SP/tools/make
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12231

Added Files:
	z.target 
Log Message:


--- NEW FILE: z.target ---
#-*-Makefile-*- vim:syntax=make

#SPDIR := $(TOSROOT)/contrib/SP/tos

PLATFORM ?= micaz
SENSORBOARD ?= micasb
PROGRAMMER_PART ?= -dpart=ATmega128 --wr_fuse_e=ff
PFLAGS += -finline-limit=100000

#MSP_MCU = msp430x1611

# Disable MSP430 hardware multiply because it makes MSPGCC die
#PFLAGS += -mdisable-hwmul 

#MSP_BSL_FLAGS = --telosb

PFLAGS += \
-I$(SPDIR)/random \
-I$(SPDIR)/lib/SP \
-I$(SPDIR)/lib/SP/CC2420 \
-I$(TOSDIR)/lib/CC2420Radio \
-I$(TOSDIR)/../beta/STM25P/STM25P \
-DCC2420

AVR_FUSE_H ?= 0xd9

#ifdef CC2420_CHANNEL
#PFLAGS += -DCC2420_DEF_CHANNEL=$(CC2420_CHANNEL)
#endif

ifdef TINYOS_NP
  ifeq ($(TINYOS_NP),BNP)
    PFLAGS += -I%T/../beta/Deluge/Deluge
    # Code memory starts at 0x4000.  Give 4kB to the bootloader means the
    # app starts at 0x5000.  Segment n of main memory starts at 0x4000
    PFLAGS += -Wl,--section-start=.text=0x5000,--defsym=_reset_vector__=0x4000
    BOOTLOADER ?= $(TOSDIR)/../beta/Deluge/Deluge/TOSBoot/build/telosb/main.ihex
    ifeq ($(shell [ -f /bin/cygwin1.dll ] && echo cygwin),cygwin)
      BOOTLOADER := $(shell cygpath -m $(BOOTLOADER))
    endif
  endif
endif

$(call TOSMake_include_platform,avr)

z: $(BUILD_DEPS)
	@:




More information about the Tinyos-contrib-commits mailing list