mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
add native flash and term targets
flash does nothing term starts the project with PORT misused for the tap interface PORT is unset if nativenet is not used
This commit is contained in:
parent
c9b0f4784a
commit
b6781cdf0f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user