From db95cff5cde45a238ef693535f558dae537916e8 Mon Sep 17 00:00:00 2001
From: Thomas Eichinger <thomas.eichinger1@gmail.com>
Date: Mon, 15 Sep 2014 15:57:52 +0200
Subject: [PATCH] iot-lab_M3: fixing term make target

---
 boards/iot-lab_M3/Makefile.include | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/boards/iot-lab_M3/Makefile.include b/boards/iot-lab_M3/Makefile.include
index 94cbba42da..9d418a0204 100644
--- a/boards/iot-lab_M3/Makefile.include
+++ b/boards/iot-lab_M3/Makefile.include
@@ -13,7 +13,7 @@ export AS = $(PREFIX)as
 export LINK = $(PREFIX)gcc
 export SIZE = $(PREFIX)size
 export OBJCOPY = $(PREFIX)objcopy
-export TERMPROG = $(RIOTBASE)/dist/tools/pyterm/pyterm -p
+export TERMPROG = $(RIOTBASE)/dist/tools/pyterm/pyterm
 export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
 export DEBUGGER = $(RIOTBOARD)/$(BOARD)/dist/debug.sh
 export RESET = $(RIOTBOARD)/$(BOARD)/dist/reset.sh
@@ -30,6 +30,7 @@ export LINKFLAGS += -T$(LINKERSCRIPT)
 export OFLAGS = -O ihex
 export FFLAGS = $(HEXFILE)
 export DEBUGGER_FLAGS = $(RIOTBOARD)/$(BOARD)/dist/gdb.conf $(ELFFILE)
+export TERMFLAGS = -p $(PORT)
 
 # use the nano-specs of the NewLib when available
 ifeq ($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null </dev/null ; echo $$?),0)
-- 
GitLab