mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
Merge pull request #3850 from thomaseichinger/pr/board_z1_port_defs
boards/z1: make use of Makefile.include.serial
This commit is contained in:
commit
437db6fcc2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user