boards/remote: move shared code to common/remote
This commit is contained in:
parent
bd96d42ede
commit
4bcb353f89
@ -1,3 +1,3 @@
|
|||||||
MODULE = remote-common
|
MODULE = boards_common_remote
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
include $(RIOTBASE)/Makefile.base
|
||||||
@ -28,8 +28,8 @@ export DEBUGGER_FLAGS = $(BINDIR) $(ELFFILE)
|
|||||||
export RESET_FLAGS = $(BINDIR)
|
export RESET_FLAGS = $(BINDIR)
|
||||||
export OBJDUMPFLAGS += --disassemble --source --disassembler-options=force-thumb
|
export OBJDUMPFLAGS += --disassemble --source --disassembler-options=force-thumb
|
||||||
|
|
||||||
# include remote-common includes
|
# include common remote includes
|
||||||
export INCLUDES += -I$(RIOTBOARD)/remote-common/include
|
export INCLUDES += -I$(RIOTBOARD)/common/remote/include
|
||||||
|
|
||||||
# setup serial terminal
|
# setup serial terminal
|
||||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||||
@ -1,5 +1,5 @@
|
|||||||
MODULE = board
|
MODULE = board
|
||||||
|
|
||||||
DIRS = $(RIOTBOARD)/remote-common
|
DIRS = $(RIOTBOARD)/common/remote
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
include $(RIOTBASE)/Makefile.base
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
include $(RIOTBOARD)/remote-common/Makefile.dep
|
include $(RIOTBOARD)/common/remote/Makefile.dep
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
USEMODULE += remote-common
|
USEMODULE += boards_common_remote
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyUSB1
|
PORT_LINUX ?= /dev/ttyUSB1
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
||||||
|
|
||||||
include $(RIOTBOARD)/remote-common/Makefile.include
|
include $(RIOTBOARD)/common/remote/Makefile.include
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
MODULE = board
|
MODULE = board
|
||||||
|
|
||||||
DIRS = $(RIOTBOARD)/remote-common
|
DIRS = $(RIOTBOARD)/common/remote
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
include $(RIOTBASE)/Makefile.base
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
include $(RIOTBOARD)/remote-common/Makefile.dep
|
include $(RIOTBOARD)/common/remote/Makefile.dep
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
USEMODULE += remote-common
|
USEMODULE += boards_common_remote
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyUSB0
|
PORT_LINUX ?= /dev/ttyUSB0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
|
||||||
include $(RIOTBOARD)/remote-common/Makefile.include
|
include $(RIOTBOARD)/common/remote/Makefile.include
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
MODULE = board
|
MODULE = board
|
||||||
|
|
||||||
DIRS = $(RIOTBOARD)/remote-common
|
DIRS = $(RIOTBOARD)/common/remote
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
include $(RIOTBASE)/Makefile.base
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
include $(RIOTBOARD)/remote-common/Makefile.dep
|
include $(RIOTBOARD)/common/remote/Makefile.dep
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
USEMODULE += remote-common
|
USEMODULE += boards_common_remote
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyUSB0
|
PORT_LINUX ?= /dev/ttyUSB0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
|
||||||
include $(RIOTBOARD)/remote-common/Makefile.include
|
include $(RIOTBOARD)/common/remote/Makefile.include
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user