1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: adapt to automatically included boards/$board/Makefile.dep

This commit is contained in:
Kaspar Schleiser 2016-09-29 15:14:42 +02:00
parent f842619fec
commit 10e9336c78
32 changed files with 11 additions and 54 deletions

View File

@ -12,6 +12,3 @@ export OFLAGS = -O binary
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial
# also include optional dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/msba2-common/Makefile.dep

View File

@ -33,6 +33,3 @@ export DEBUGGER_FLAGS = $(BINDIR) $(ELFFILE)
export RESET_FLAGS = $(BINDIR)
export OBJDUMPFLAGS += --disassemble --source --disassembler-options=force-thumb
# Include board dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep

View File

@ -11,6 +11,3 @@ include $(RIOTBOARD)/Makefile.include.serial
# this board uses openocd
include $(RIOTBOARD)/Makefile.include.openocd
# include board dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep

View File

@ -23,8 +23,6 @@ export OPENOCD_PRE_VERIFY_CMDS += \
export OPENOCD_EXTRA_INIT
export PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/kinetis_common/dist/check-fcfield-elf.sh
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial

View File

@ -1,7 +1,6 @@
USEMODULE += iotlab-common
include $(RIOTBOARD)/iotlab-common/Makefile.include
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# add iotlab-a8-m3 include path
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include

View File

@ -1,5 +1,3 @@
include $(RIOTBOARD)/iotlab-common/Makefile.dep
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += isl29020
USEMODULE += lps331ap

View File

@ -1,7 +1,6 @@
USEMODULE += iotlab-common
include $(RIOTBOARD)/iotlab-common/Makefile.include
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# add iotlab-m3 include path
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include

View File

@ -23,7 +23,6 @@ ifeq ($(PORT),)
endif
export FFLAGS = $(PORT) $(HEXFILE)
export TERMFLAGS += -tg -p "$(PORT)"
include $(RIOTBOARD)/msba2-common/Makefile.dep
export INCLUDES += -I$(RIOTBOARD)/msba2-common/include -I$(RIOTBOARD)/msba2-common/drivers/include

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/msba2-common/Makefile.dep

View File

@ -115,6 +115,3 @@ include $(RIOTBOARD)/Makefile.include.openocd
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial
# include board dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep

View File

@ -1,5 +1,3 @@
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
export NATIVEINCLUDES += -DNATIVE_INCLUDES
export NATIVEINCLUDES += -I$(RIOTBOARD)/$(BOARD)/include/
export NATIVEINCLUDES += -I$(RIOTBASE)/core/include/

View File

@ -6,9 +6,6 @@ export CPU_MODEL = nrf52xxaa
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# setup JLink for flashing
export JLINK_DEVICE := nrf52

View File

@ -8,8 +8,5 @@ include $(RIOTBOARD)/Makefile.include.serial
# this board uses openocd
include $(RIOTBOARD)/Makefile.include.openocd
# include dependencies
include $(RIOTBOARD)/nucleo-common/Makefile.dep
# add the common header files to the include path
INCLUDES += -I$(RIOTBOARD)/nucleo-common/include

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/nucleo-common/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/nucleo-common/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/nucleo-common/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/nucleo-common/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/nucleo-common/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/nucleo-common/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/nucleo-common/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/nucleo-common/Makefile.dep

View File

@ -25,6 +25,3 @@ endif
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial
# Include board dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep

View File

@ -27,8 +27,6 @@ export OPENOCD_PRE_VERIFY_CMDS += \
export OPENOCD_EXTRA_INIT
export PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/kinetis_common/dist/check-fcfield-elf.sh
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# Add board selector (USB serial) to OpenOCD options if specified.
# Use /dist/tools/usb-serial/list-ttys.sh to find out serial number.
# Usage: SERIAL="0200..." BOARD="pba-d-01-kw2x" make flash

1
boards/pttu/Makefile.dep Normal file
View File

@ -0,0 +1 @@
include $(RIOTBOARD)/msba2-common/Makefile.dep

View File

@ -33,6 +33,3 @@ export INCLUDES += -I$(RIOTBOARD)/remote-common/include
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial
# Include board dependencies
include $(RIOTBOARD)/remote-common/Makefile.dep

View File

@ -3,9 +3,6 @@ export CPU = saml21
export CPU_MODEL = saml21j18a
export CFLAGS += -D__SAML21J18A__
# include dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# setup serial terminal
PORT_LINUX ?= /dev/ttyACM0
include $(RIOTBOARD)/Makefile.include.serial

View File

@ -7,9 +7,6 @@ CFLAGS += -D__SAMR21G18A__
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial

View File

@ -6,9 +6,6 @@ export CPU_MODEL = ezr32wg330f256r60
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# setup JLink for flashing
export JLINK_DEVICE := ezr32wg330f256
include $(RIOTBOARD)/Makefile.include.jlink

View File

@ -9,9 +9,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial-MXV*)))
export BAUD ?= 9600
include $(RIOTBOARD)/Makefile.include.serial
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# flash tool configuration
export OFLAGS = -O ihex
export FLASHER = $(RIOTBASE)/dist/tools/goodfet/goodfet.bsl

View File

@ -26,10 +26,6 @@ else
# TODO: fix for building under windows
endif
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
export FLASHER
export PORT
export DIST_PATH = $(RIOTBOARD)/$(BOARD)/dist

View File

@ -8,9 +8,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# setup flash tool
export OFLAGS = -O ihex
export FLASHER = $(RIOTBASE)/dist/tools/goodfet/goodfet.bsl