Skip to content
Snippets Groups Projects
Commit 10e9336c authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

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

parent f842619f
No related branches found
No related tags found
No related merge requests found
include $(RIOTBOARD)/nucleo-common/Makefile.dep
include $(RIOTBOARD)/nucleo-common/Makefile.dep
......@@ -25,6 +25,3 @@ endif
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial
# Include board dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
......@@ -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
......
include $(RIOTBOARD)/msba2-common/Makefile.dep
......@@ -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
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment