From: vlahan Date: Mon, 2 Nov 2009 16:48:04 +0000 (+0000) Subject: Switch msp430 platforms to __ as nesC separator instead of $ X-Git-Tag: rc_6_tinyos_2_1_1~154 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=32ad8ba62489a61e6575b48323602ba8260f1bd0 Switch msp430 platforms to __ as nesC separator instead of $ --- diff --git a/support/make/msp/msp.rules b/support/make/msp/msp.rules index 18d9affd..5b53463e 100644 --- a/support/make/msp/msp.rules +++ b/support/make/msp/msp.rules @@ -39,6 +39,11 @@ SET_ID = tos-set-symbols NCC = ncc LIBS = -lm +# Use __ as the separator - requires nesC 1.2.9 or later +ifneq ($(filter sim,$(GOALS)),sim) + PFLAGS += -fnesc-separator=__ +endif + AMADDR = ActiveMessageAddressC\$$addr BUILDDIR ?= build/$(PLATFORM) MAIN_EXE = $(BUILDDIR)/main.exe