boards: move some USEMODULE to Makefile.dep
This commit is contained in:
parent
5a4d39e2ee
commit
713fead00a
@ -1 +1,4 @@
|
|||||||
|
# include common nrf51 boards module into the build
|
||||||
|
USEMODULE += boards_common_nrf51
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf51/Makefile.dep
|
include $(RIOTBOARD)/common/nrf51/Makefile.dep
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
# include common nrf51 boards module into the build
|
|
||||||
USEMODULE += boards_common_nrf51
|
|
||||||
|
|
||||||
# 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*)))
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
USEMODULE += boards_common_arduino-atmega
|
|
||||||
|
|
||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_arduino-mkr
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
USEMODULE += boards_common_arduino-mkr
|
|
||||||
|
|
||||||
ifeq ($(PROGRAMMER),jlink)
|
ifeq ($(PROGRAMMER),jlink)
|
||||||
export MKR_JLINK_DEVICE = atsamw25
|
export MKR_JLINK_DEVICE = atsamw25
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_arduino-mkr
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
USEMODULE += boards_common_arduino-mkr
|
|
||||||
|
|
||||||
ifeq ($(PROGRAMMER),jlink)
|
ifeq ($(PROGRAMMER),jlink)
|
||||||
export MKR_JLINK_DEVICE = atsamd21
|
export MKR_JLINK_DEVICE = atsamd21
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_arduino-mkr
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
USEMODULE += boards_common_arduino-mkr
|
|
||||||
|
|
||||||
ifeq ($(PROGRAMMER),jlink)
|
ifeq ($(PROGRAMMER),jlink)
|
||||||
export MKR_JLINK_DEVICE = atsamd21
|
export MKR_JLINK_DEVICE = atsamd21
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_arduino-mkr
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
USEMODULE += boards_common_arduino-mkr
|
|
||||||
|
|
||||||
ifeq ($(PROGRAMMER),jlink)
|
ifeq ($(PROGRAMMER),jlink)
|
||||||
export MKR_JLINK_DEVICE = atsamd21
|
export MKR_JLINK_DEVICE = atsamd21
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_blxxxpill
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/blxxxpill/Makefile.dep
|
include $(RIOTBOARD)/common/blxxxpill/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
export OPENOCD_CONFIG ?= $(RIOTBOARD)/common/blxxxpill/dist/openocd-128kib.cfg
|
export OPENOCD_CONFIG ?= $(RIOTBOARD)/common/blxxxpill/dist/openocd-128kib.cfg
|
||||||
|
|
||||||
USEMODULE += boards_common_blxxxpill
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/blxxxpill/Makefile.include
|
include $(RIOTBOARD)/common/blxxxpill/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_blxxxpill
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/blxxxpill/Makefile.dep
|
include $(RIOTBOARD)/common/blxxxpill/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
export OPENOCD_CONFIG ?= $(RIOTBOARD)/common/blxxxpill/dist/openocd.cfg
|
export OPENOCD_CONFIG ?= $(RIOTBOARD)/common/blxxxpill/dist/openocd.cfg
|
||||||
|
|
||||||
USEMODULE += boards_common_blxxxpill
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/blxxxpill/Makefile.include
|
include $(RIOTBOARD)/common/blxxxpill/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_blxxxpill
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/blxxxpill/Makefile.dep
|
include $(RIOTBOARD)/common/blxxxpill/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
export OPENOCD_CONFIG ?= $(RIOTBOARD)/common/blxxxpill/dist/openocd-128kib.cfg
|
export OPENOCD_CONFIG ?= $(RIOTBOARD)/common/blxxxpill/dist/openocd-128kib.cfg
|
||||||
|
|
||||||
USEMODULE += boards_common_blxxxpill
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/blxxxpill/Makefile.include
|
include $(RIOTBOARD)/common/blxxxpill/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_blxxxpill
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/blxxxpill/Makefile.dep
|
include $(RIOTBOARD)/common/blxxxpill/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
export OPENOCD_CONFIG ?= $(RIOTBOARD)/common/blxxxpill/dist/openocd.cfg
|
export OPENOCD_CONFIG ?= $(RIOTBOARD)/common/blxxxpill/dist/openocd.cfg
|
||||||
|
|
||||||
USEMODULE += boards_common_blxxxpill
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/blxxxpill/Makefile.include
|
include $(RIOTBOARD)/common/blxxxpill/Makefile.include
|
||||||
|
|||||||
1
boards/chronos/Makefile.dep
Normal file
1
boards/chronos/Makefile.dep
Normal file
@ -0,0 +1 @@
|
|||||||
|
USEMODULE += chronos-drivers
|
||||||
@ -4,5 +4,3 @@ FLASHER = mspdebug
|
|||||||
FFLAGS = rf2500 "prog $(FLASHFILE)"
|
FFLAGS = rf2500 "prog $(FLASHFILE)"
|
||||||
|
|
||||||
INCLUDES += -I$(RIOTBOARD)/chronos/drivers/include
|
INCLUDES += -I$(RIOTBOARD)/chronos/drivers/include
|
||||||
|
|
||||||
USEMODULE += chronos-drivers
|
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEMODULE += boards_common_arduino_due
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
# export this module and its includes
|
# export this module and its includes
|
||||||
USEMODULE += boards_common_arduino_due
|
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/arduino-due/include
|
INCLUDES += -I$(RIOTBOARD)/common/arduino-due/include
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
# include this module into the build
|
# include this module into the build
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/nrf52xxxdk/include
|
INCLUDES += -I$(RIOTBOARD)/common/nrf52xxxdk/include
|
||||||
USEMODULE += boards_common_nrf52xxdk
|
|
||||||
|
|
||||||
# include common configuration for nrf52 based boards
|
# include common configuration for nrf52 based boards
|
||||||
include $(RIOTBOARD)/common/nrf52/Makefile.include
|
include $(RIOTBOARD)/common/nrf52/Makefile.include
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEMODULE += boards_common_nucleo
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
# export this module and its includes
|
# export this module and its includes
|
||||||
USEMODULE += boards_common_nucleo
|
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/nucleo/include
|
INCLUDES += -I$(RIOTBOARD)/common/nucleo/include
|
||||||
|
|
||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEMODULE += boards_common_saml1x
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
USEMODULE += boards_common_saml1x
|
|
||||||
|
|
||||||
include $(RIOTMAKE)/boards/sam0.inc.mk
|
include $(RIOTMAKE)/boards/sam0.inc.mk
|
||||||
|
|
||||||
# add the common header files to the include path
|
# add the common header files to the include path
|
||||||
|
|||||||
@ -3,5 +3,10 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += si7021
|
USEMODULE += si7021
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# add board common drivers
|
||||||
|
USEMODULE += boards_common_silabs
|
||||||
|
USEMODULE += silabs_aem
|
||||||
|
USEMODULE += silabs_bc
|
||||||
|
|
||||||
# include board common dependencies
|
# include board common dependencies
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
||||||
|
|||||||
@ -15,10 +15,5 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
|||||||
export JLINK_DEVICE := $(MODULE_JLINK_DEVICE)
|
export JLINK_DEVICE := $(MODULE_JLINK_DEVICE)
|
||||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||||
|
|
||||||
# add board common drivers
|
|
||||||
USEMODULE += boards_common_silabs
|
|
||||||
USEMODULE += silabs_aem
|
|
||||||
USEMODULE += silabs_bc
|
|
||||||
|
|
||||||
# include board common
|
# include board common
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||||
|
|||||||
2
boards/common/wsn430/Makefile.dep
Normal file
2
boards/common/wsn430/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# include this module in the build
|
||||||
|
USEMODULE += boards_common_wsn430
|
||||||
@ -1,5 +1,3 @@
|
|||||||
# include this module in the build
|
|
||||||
USEMODULE += boards_common_wsn430
|
|
||||||
# use common wsn430 includes
|
# use common wsn430 includes
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/wsn430/include
|
INCLUDES += -I$(RIOTBOARD)/common/wsn430/include
|
||||||
|
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_esp32
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_esp32
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.include
|
include $(RIOTBOARD)/common/esp32/Makefile.include
|
||||||
|
|||||||
@ -2,4 +2,6 @@ ifneq (,$(filter esp32_ttgo_t_beam_v1_0,$(USEMODULE)))
|
|||||||
FEATURES_REQUIRED += periph_i2c
|
FEATURES_REQUIRED += periph_i2c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEMODULE += boards_common_esp32
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
PSEUDOMODULES += esp32_ttgo_t_beam_v1_0
|
PSEUDOMODULES += esp32_ttgo_t_beam_v1_0
|
||||||
|
|
||||||
USEMODULE += boards_common_esp32
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.include
|
include $(RIOTBOARD)/common/esp32/Makefile.include
|
||||||
|
|||||||
@ -1 +1,4 @@
|
|||||||
|
USEMODULE += boards_common_esp32
|
||||||
|
USEMODULE += esp_spi_ram
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
PSEUDOMODULES += esp_lolin_tft
|
PSEUDOMODULES += esp_lolin_tft
|
||||||
|
|
||||||
USEMODULE += boards_common_esp32
|
|
||||||
USEMODULE += esp_spi_ram
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.include
|
include $(RIOTBOARD)/common/esp32/Makefile.include
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
USEMODULE += boards_common_esp32
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
||||||
|
|
||||||
# default parameter definitions when module enc28j60 is used
|
# default parameter definitions when module enc28j60 is used
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_esp32
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.include
|
include $(RIOTBOARD)/common/esp32/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_esp32
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
PSEUDOMODULES += esp32_wrover_kit_camera
|
PSEUDOMODULES += esp32_wrover_kit_camera
|
||||||
|
|
||||||
USEMODULE += boards_common_esp32
|
|
||||||
|
|
||||||
# configure the serial interface
|
# configure the serial interface
|
||||||
PORT_LINUX ?= /dev/ttyUSB1
|
PORT_LINUX ?= /dev/ttyUSB1
|
||||||
|
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_esp8266
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp8266/Makefile.dep
|
include $(RIOTBOARD)/common/esp8266/Makefile.dep
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_esp8266
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp8266/Makefile.include
|
include $(RIOTBOARD)/common/esp8266/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_esp8266
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp8266/Makefile.dep
|
include $(RIOTBOARD)/common/esp8266/Makefile.dep
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_esp8266
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp8266/Makefile.include
|
include $(RIOTBOARD)/common/esp8266/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_esp8266
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp8266/Makefile.dep
|
include $(RIOTBOARD)/common/esp8266/Makefile.dep
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_esp8266
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp8266/Makefile.include
|
include $(RIOTBOARD)/common/esp8266/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_remote
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/remote/Makefile.dep
|
include $(RIOTBOARD)/common/remote/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
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*)))
|
||||||
|
|||||||
@ -2,4 +2,7 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += fxos8700
|
USEMODULE += fxos8700
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# This board uses the shared board_init function
|
||||||
|
USEMODULE += boards_common_kw41z
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/kw41z/Makefile.dep
|
include $(RIOTBOARD)/common/kw41z/Makefile.dep
|
||||||
|
|||||||
@ -1,4 +1 @@
|
|||||||
# This board uses the shared board_init function
|
|
||||||
USEMODULE += boards_common_kw41z
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_iotlab
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/iotlab/Makefile.dep
|
include $(RIOTBOARD)/common/iotlab/Makefile.dep
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_iotlab
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/iotlab/Makefile.include
|
include $(RIOTBOARD)/common/iotlab/Makefile.include
|
||||||
|
|||||||
@ -4,3 +4,5 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += isl29020
|
USEMODULE += isl29020
|
||||||
USEMODULE += lps331ap
|
USEMODULE += lps331ap
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEMODULE += boards_common_iotlab
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_iotlab
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/iotlab/Makefile.include
|
include $(RIOTBOARD)/common/iotlab/Makefile.include
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += sht11
|
USEMODULE += sht11
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEMODULE += boards_common_msb-430
|
||||||
|
|||||||
@ -1,2 +1 @@
|
|||||||
USEMODULE += boards_common_msb-430
|
|
||||||
include $(RIOTBOARD)/common/msb-430/Makefile.include
|
include $(RIOTBOARD)/common/msb-430/Makefile.include
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += sht11
|
USEMODULE += sht11
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEMODULE += boards_common_msb-430
|
||||||
|
|||||||
@ -1,2 +1 @@
|
|||||||
USEMODULE += boards_common_msb-430
|
|
||||||
include $(RIOTBOARD)/common/msb-430/Makefile.include
|
include $(RIOTBOARD)/common/msb-430/Makefile.include
|
||||||
|
|||||||
@ -19,3 +19,5 @@ ifneq (,$(filter socket_zep,$(USEMODULE)))
|
|||||||
USEMODULE += checksum
|
USEMODULE += checksum
|
||||||
USEMODULE += random
|
USEMODULE += random
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEMODULE += native-drivers
|
||||||
|
|||||||
@ -3,8 +3,6 @@ export NATIVEINCLUDES += -I$(RIOTBOARD)/native/include/
|
|||||||
export NATIVEINCLUDES += -I$(RIOTBASE)/core/include/
|
export NATIVEINCLUDES += -I$(RIOTBASE)/core/include/
|
||||||
export NATIVEINCLUDES += -I$(RIOTBASE)/drivers/include/
|
export NATIVEINCLUDES += -I$(RIOTBASE)/drivers/include/
|
||||||
|
|
||||||
USEMODULE += native-drivers
|
|
||||||
|
|
||||||
ifeq ($(OS),Darwin)
|
ifeq ($(OS),Darwin)
|
||||||
DEBUGGER ?= lldb
|
DEBUGGER ?= lldb
|
||||||
else
|
else
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_nrf52xxdk
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep
|
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_nrf52xxdk
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep
|
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_particle_mesh
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/particle-mesh/Makefile.dep
|
include $(RIOTBOARD)/common/particle-mesh/Makefile.dep
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_particle_mesh
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/particle-mesh/Makefile.include
|
include $(RIOTBOARD)/common/particle-mesh/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_particle_mesh
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/particle-mesh/Makefile.dep
|
include $(RIOTBOARD)/common/particle-mesh/Makefile.dep
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_particle_mesh
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/particle-mesh/Makefile.include
|
include $(RIOTBOARD)/common/particle-mesh/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_particle_mesh
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/particle-mesh/Makefile.dep
|
include $(RIOTBOARD)/common/particle-mesh/Makefile.dep
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += boards_common_particle_mesh
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/particle-mesh/Makefile.include
|
include $(RIOTBOARD)/common/particle-mesh/Makefile.include
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_remote
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/remote/Makefile.dep
|
include $(RIOTBOARD)/common/remote/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
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*)))
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_remote
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/remote/Makefile.dep
|
include $(RIOTBOARD)/common/remote/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
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*)))
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
USEMODULE += boards_common_remote
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/remote/Makefile.dep
|
include $(RIOTBOARD)/common/remote/Makefile.dep
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
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*)))
|
||||||
|
|||||||
@ -7,4 +7,6 @@ endif
|
|||||||
# Use Segger's RTT by default for stdio on this board
|
# Use Segger's RTT by default for stdio on this board
|
||||||
DEFAULT_MODULE += stdio_rtt
|
DEFAULT_MODULE += stdio_rtt
|
||||||
|
|
||||||
|
USEMODULE += boards_common_nrf52xxdk
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|
||||||
|
|||||||
@ -3,5 +3,10 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += si7021
|
USEMODULE += si7021
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# add board common drivers
|
||||||
|
USEMODULE += boards_common_silabs
|
||||||
|
USEMODULE += silabs_aem
|
||||||
|
USEMODULE += silabs_bc
|
||||||
|
|
||||||
# include board common dependencies
|
# include board common dependencies
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
||||||
|
|||||||
@ -10,10 +10,5 @@ export JLINK_DEVICE := $(CPU_MODEL)
|
|||||||
export JLINK_PRE_FLASH = r
|
export JLINK_PRE_FLASH = r
|
||||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||||
|
|
||||||
# add board common drivers
|
|
||||||
USEMODULE += boards_common_silabs
|
|
||||||
USEMODULE += silabs_aem
|
|
||||||
USEMODULE += silabs_bc
|
|
||||||
|
|
||||||
# include board common
|
# include board common
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||||
|
|||||||
@ -3,5 +3,10 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += si7021
|
USEMODULE += si7021
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# add board common drivers
|
||||||
|
USEMODULE += boards_common_silabs
|
||||||
|
USEMODULE += silabs_aem
|
||||||
|
USEMODULE += silabs_bc
|
||||||
|
|
||||||
# include board common dependencies
|
# include board common dependencies
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
||||||
|
|||||||
@ -10,10 +10,5 @@ export JLINK_DEVICE := $(CPU_MODEL)
|
|||||||
export JLINK_PRE_FLASH = r
|
export JLINK_PRE_FLASH = r
|
||||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||||
|
|
||||||
# add board common drivers
|
|
||||||
USEMODULE += boards_common_silabs
|
|
||||||
USEMODULE += silabs_aem
|
|
||||||
USEMODULE += silabs_bc
|
|
||||||
|
|
||||||
# include board common
|
# include board common
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||||
|
|||||||
@ -4,5 +4,9 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += si7021
|
USEMODULE += si7021
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# add board common drivers
|
||||||
|
USEMODULE += boards_common_silabs
|
||||||
|
USEMODULE += silabs_pic
|
||||||
|
|
||||||
# include board common dependencies
|
# include board common dependencies
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
||||||
|
|||||||
@ -10,9 +10,5 @@ export JLINK_DEVICE := EFR32MG1PxxxF256
|
|||||||
export JLINK_PRE_FLASH = r
|
export JLINK_PRE_FLASH = r
|
||||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||||
|
|
||||||
# add board common drivers
|
|
||||||
USEMODULE += boards_common_silabs
|
|
||||||
USEMODULE += silabs_pic
|
|
||||||
|
|
||||||
# include board common
|
# include board common
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||||
|
|||||||
@ -2,5 +2,10 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# add board common drivers
|
||||||
|
USEMODULE += boards_common_silabs
|
||||||
|
USEMODULE += silabs_aem
|
||||||
|
USEMODULE += silabs_bc
|
||||||
|
|
||||||
# include board common dependencies
|
# include board common dependencies
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
||||||
|
|||||||
@ -9,10 +9,5 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
|||||||
export JLINK_DEVICE := $(CPU_MODEL)
|
export JLINK_DEVICE := $(CPU_MODEL)
|
||||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||||
|
|
||||||
# add board common drivers
|
|
||||||
USEMODULE += boards_common_silabs
|
|
||||||
USEMODULE += silabs_aem
|
|
||||||
USEMODULE += silabs_bc
|
|
||||||
|
|
||||||
# include board common
|
# include board common
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||||
|
|||||||
@ -2,5 +2,10 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# add board common drivers
|
||||||
|
USEMODULE += boards_common_silabs
|
||||||
|
USEMODULE += silabs_aem
|
||||||
|
USEMODULE += silabs_bc
|
||||||
|
|
||||||
# include board common dependencies
|
# include board common dependencies
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
include $(RIOTBOARD)/common/silabs/Makefile.dep
|
||||||
|
|||||||
@ -9,10 +9,5 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
|||||||
export JLINK_DEVICE := $(CPU_MODEL)
|
export JLINK_DEVICE := $(CPU_MODEL)
|
||||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||||
|
|
||||||
# add board common drivers
|
|
||||||
USEMODULE += boards_common_silabs
|
|
||||||
USEMODULE += silabs_aem
|
|
||||||
USEMODULE += silabs_bc
|
|
||||||
|
|
||||||
# include board common
|
# include board common
|
||||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||||
|
|||||||
@ -3,3 +3,6 @@ USEMODULE += stm32_periph_uart_hw_fc
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# TODO: remove the stdin dependency
|
||||||
|
USEMODULE += stdin
|
||||||
|
|||||||
@ -11,8 +11,5 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
|||||||
# this board has an on-board ST-link adapter
|
# this board has an on-board ST-link adapter
|
||||||
DEBUG_ADAPTER ?= stlink
|
DEBUG_ADAPTER ?= stlink
|
||||||
|
|
||||||
# TODO: remove the stdin dependency
|
|
||||||
USEMODULE += stdin
|
|
||||||
|
|
||||||
# this board uses openocd
|
# this board uses openocd
|
||||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||||
|
|||||||
@ -1 +1,4 @@
|
|||||||
|
# This board uses the shared board_init function
|
||||||
|
USEMODULE += boards_common_kw41z
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/kw41z/Makefile.dep
|
include $(RIOTBOARD)/common/kw41z/Makefile.dep
|
||||||
|
|||||||
@ -1,4 +1 @@
|
|||||||
# This board uses the shared board_init function
|
|
||||||
USEMODULE += boards_common_kw41z
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
||||||
|
|||||||
1
boards/wsn430-v1_3b/Makefile.dep
Normal file
1
boards/wsn430-v1_3b/Makefile.dep
Normal file
@ -0,0 +1 @@
|
|||||||
|
include $(RIOTBOARD)/common/wsn430/Makefile.dep
|
||||||
1
boards/wsn430-v1_4/Makefile.dep
Normal file
1
boards/wsn430-v1_4/Makefile.dep
Normal file
@ -0,0 +1 @@
|
|||||||
|
include $(RIOTBOARD)/common/wsn430/Makefile.dep
|
||||||
@ -1 +1,4 @@
|
|||||||
|
# include common nrf51 boards module into the build
|
||||||
|
USEMODULE += boards_common_nrf51
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf51/Makefile.dep
|
include $(RIOTBOARD)/common/nrf51/Makefile.dep
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
# include common nrf51 boards module into the build
|
|
||||||
USEMODULE += boards_common_nrf51
|
|
||||||
|
|
||||||
# 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*)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user