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:
parent
f842619fec
commit
10e9336c78
@ -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
|
||||
|
1
boards/avsextrem/Makefile.dep
Normal file
1
boards/avsextrem/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/msba2-common/Makefile.dep
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,3 @@
|
||||
include $(RIOTBOARD)/iotlab-common/Makefile.dep
|
||||
|
||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += isl29020
|
||||
USEMODULE += lps331ap
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
1
boards/msba2/Makefile.dep
Normal file
1
boards/msba2/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/msba2-common/Makefile.dep
|
@ -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
|
||||
|
@ -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/
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
1
boards/nucleo-f072/Makefile.dep
Normal file
1
boards/nucleo-f072/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/nucleo-common/Makefile.dep
|
1
boards/nucleo-f091/Makefile.dep
Normal file
1
boards/nucleo-f091/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/nucleo-common/Makefile.dep
|
1
boards/nucleo-f103/Makefile.dep
Normal file
1
boards/nucleo-f103/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/nucleo-common/Makefile.dep
|
1
boards/nucleo-f207/Makefile.dep
Normal file
1
boards/nucleo-f207/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/nucleo-common/Makefile.dep
|
1
boards/nucleo-f303/Makefile.dep
Normal file
1
boards/nucleo-f303/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/nucleo-common/Makefile.dep
|
1
boards/nucleo-f334/Makefile.dep
Normal file
1
boards/nucleo-f334/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/nucleo-common/Makefile.dep
|
1
boards/nucleo-f401/Makefile.dep
Normal file
1
boards/nucleo-f401/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/nucleo-common/Makefile.dep
|
1
boards/nucleo-f446/Makefile.dep
Normal file
1
boards/nucleo-f446/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
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
|
||||
|
1
boards/pttu/Makefile.dep
Normal file
1
boards/pttu/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user