From 32ad8ba62489a61e6575b48323602ba8260f1bd0 Mon Sep 17 00:00:00 2001 From: vlahan Date: Mon, 2 Nov 2009 16:48:04 +0000 Subject: [PATCH] Switch msp430 platforms to __ as nesC separator instead of $ --- support/make/msp/msp.rules | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.2