From 63401235580b77c2efd3f965af5936f4f5d8b80a Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Thu, 31 Jul 2014 17:31:49 +0200 Subject: [PATCH] make: introduced TERMFLAGS Also added the missing -p flag for the new pyterm version where necessary. --- Makefile.include | 2 +- boards/arduino-due/Makefile.include | 1 + boards/msb-430-common/Makefile.include | 1 + boards/msba2-common/Makefile.include | 1 + boards/redbee-econotag/Makefile.include | 1 + boards/stm32f0discovery/Makefile.include | 1 + boards/stm32f4discovery/Makefile.include | 1 + boards/telosb/Makefile.include | 1 + boards/udoo/Makefile.include | 1 + boards/z1/Makefile.include | 1 + 10 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index cfac151c21..c2867acfe5 100644 --- a/Makefile.include +++ b/Makefile.include @@ -149,7 +149,7 @@ flash: all $(FLASHER) $(FFLAGS) term: - $(TERMPROG) $(PORT) + $(TERMPROG) $(TERMFLAGS) $(PORT) doc: make -BC $(RIOTBASE) doc diff --git a/boards/arduino-due/Makefile.include b/boards/arduino-due/Makefile.include index 5ece90ddcb..a3f65f1715 100644 --- a/boards/arduino-due/Makefile.include +++ b/boards/arduino-due/Makefile.include @@ -36,6 +36,7 @@ export LINKFLAGS += -g3 -ggdb -std=gnu99 $(CPU_USAGE) $(FPU_USAGE) -mlittle-endi export LINKFLAGS += -T$(LINKERSCRIPT) export OFLAGS += -O binary export FFLAGS += -R -e -w -v -b bin/$(BOARD)/$(APPLICATION).hex +export TERMFLAGS += -p # use the nano-specs of the NewLib when available ifeq ($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null /dev/null >/dev/null /dev/null >/dev/null /dev/null >/dev/null