X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=support%2Fmake%2Ftmirws.target;h=cfea045bfecbf70520f4a7c0645d3b50e52f18d5;hb=18ef68f001622bfd913d4269bf191563a5be475c;hp=68f69bef5a17dbfeeb202613b9abded30376be09;hpb=01d364e6e3d233456df2df46331be70791e6c61e;p=tinyos-2.x.git diff --git a/support/make/tmirws.target b/support/make/tmirws.target index 68f69bef..cfea045b 100644 --- a/support/make/tmirws.target +++ b/support/make/tmirws.target @@ -1,19 +1,22 @@ #-*-Makefile-*- vim:syntax=make -# tmicore.target +# tmirws.target -PLATFORM ?= tmicore +PLATFORM ?= tmirws #MSP_MCU = msp430x2417 # Disable MSP430 hardware multiply because it makes MSPGCC die -PFLAGS += -mdisable-hwmul +# PFLAGS += -mdisable-hwmul OPTFLAGS += -O MSP_BSL ?= tos-bsl MSP_BSL_FLAGS = --device=cp2103 -#VOLUME_FILE = volumes-stm25p.xml -#VOLUME_ALLOCATOR ?= tos-storage-stm25p +PLATFORMDIR = $(TOSDIR)/platforms/tmimsp/$(PLATFORM) +PFLAGS += -I$(PLATFORMDIR) + +VOLUME_FILE = volumes-at25df041a.xml +VOLUME_ALLOCATOR ?= tos-storage-stm25p ifdef CC2420_CHANNEL PFLAGS += -DCC2420_DEF_CHANNEL=$(CC2420_CHANNEL) @@ -21,5 +24,5 @@ endif $(call TOSMake_include_platform,msp) -tmicore: $(BUILD_DEPS) +$(PLATFORM): $(BUILD_DEPS) @: