1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #908 from LudwigOrtmann/make_msb-430-common_programmer

make: clean msb-430-common Makefile.include
This commit is contained in:
Ludwig Ortmann 2014-03-21 18:12:12 +01:00
commit 520f0af066

View File

@ -16,21 +16,12 @@ export LINKFLAGS = -mmcu=$(MCU) -lgcc
TERMPROG = $(RIOTBASE)/dist/tools/pyterm/pyterm.py
export HEXFILE = $(BINDIR)$(PROJECT).hex
ifeq ($(strip $(FLASHER)),)
export FLASHER = mspdebug
endif
# set programmer port in FFLAGS manually if needed like this:
# FFLAGS="-d /dev/ttyUSB0" PROGRAMMER="uif" make flash
ifeq ($(strip $(PROGRAMMER)),)
export PROGRAMMER = olimex
endif
export FLASHER ?= mspdebug
export PORT ?= /dev/ttyUSB0
export PROGRAMMER ?= olimex
export FFLAGS += -j $(PROGRAMMER)
ifeq ($(strip $(PORT)),)
export PORT = /dev/ttyUSB0
ifeq ($(strip $(PROGRAMMER)),uif)
export FFLAGS += -d $(PORT)
endif
export FFLAGS += "prog $(HEXFILE)"