Skip to content

Commit

Permalink
Merge pull request #487 from LudwigOrtmann/issue_314
Browse files Browse the repository at this point in the history
add native flash and term targets
  • Loading branch information
LudwigKnuepfer committed Jan 9, 2014
2 parents c9b0f47 + b6781cd commit d4268d6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions boards/native/Makefile.include
Expand Up @@ -11,13 +11,19 @@ export AS = $(PREFIX)as
export LINK = $(PREFIX)gcc
export SIZE = $(PREFIX)size
export OBJCOPY = $(PREFIX)objcopy
FLASHER = lpc2k_pgm
TERM = pyterm.py

LINKFLAGS += -m32 -gc -ldl

TERMPROG = $(BINDIR)/$(PROJECT).elf
FLASHER = true


ifneq (,$(findstring nativenet,$(USEMODULE)))
ifeq ($(strip $(PORT)),)
export PORT = /dev/ttyUSB0
export PORT = tap0
endif
else
export PORT =
endif

include $(RIOTBOARD)/$(BOARD)/Makefile.dep

0 comments on commit d4268d6

Please sign in to comment.