From 122400f85c858e9764e3c40f3cb1e02b78cadddd Mon Sep 17 00:00:00 2001 From: Thomas Eichinger Date: Tue, 15 Sep 2015 13:43:50 +0200 Subject: [PATCH] boards/z1: make use of Makefile.include.serial --- boards/z1/Makefile.include | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/z1/Makefile.include b/boards/z1/Makefile.include index 746279c67d..d2546b2de3 100644 --- a/boards/z1/Makefile.include +++ b/boards/z1/Makefile.include @@ -16,12 +16,12 @@ export OBJCOPY = $(PREFIX)objcopy export LINKFLAGS += -mmcu=$(MCU) -lgcc $(BINDIR)msp430_common/startup.o export TERMPROG = $(RIOTBASE)/dist/tools/pyterm/pyterm export FLASHER = $(RIOTBASE)/dist/tools/goodfet/goodfet.bsl -ifeq ($(strip $(PORT)),) - export PORT = /dev/ttyUSB0 -endif export FFLAGS = --z1 -I -c $(PORT) -r -e -p $(HEXFILE) export OFLAGS = -O ihex -export TERMFLAGS += -p "$(PORT)" + +export PORT_LINUX ?= /dev/ttyUSB0 +export PORT_DARWIN ?= /dev/tty.SLAB_USBtoUART +include $(RIOTBOARD)/Makefile.include.serial export INCLUDES += -I$(RIOTCPU)/$(CPU)/include/ -I$(RIOTBOARD)/$(BOARD)/include/ export INCLUDES += -I $(RIOTCPU)/msp430-common/include