From 2bcf1890bbc0270c3c6bc2be5a867bc691547f61 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 8 Jan 2020 14:42:03 +0100 Subject: [PATCH] boards/remote*: factorize provided features --- boards/common/remote/Makefile.features | 5 +++++ boards/firefly/Makefile.features | 8 -------- boards/remote-pa/Makefile.features | 7 ------- boards/remote-reva/Makefile.features | 7 ------- boards/remote-revb/Makefile.features | 8 -------- 5 files changed, 5 insertions(+), 30 deletions(-) diff --git a/boards/common/remote/Makefile.features b/boards/common/remote/Makefile.features index b0656add0e..e670985d02 100644 --- a/boards/common/remote/Makefile.features +++ b/boards/common/remote/Makefile.features @@ -2,4 +2,9 @@ CPU = cc2538 CPU_MODEL = cc2538sf53 # Put defined MCU peripherals here (in alphabetical order) +FEATURES_PROVIDED += periph_adc +FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_rtt +FEATURES_PROVIDED += periph_spi +FEATURES_PROVIDED += periph_timer +FEATURES_PROVIDED += periph_uart diff --git a/boards/firefly/Makefile.features b/boards/firefly/Makefile.features index 63e966cd82..bd31b689dc 100644 --- a/boards/firefly/Makefile.features +++ b/boards/firefly/Makefile.features @@ -1,9 +1 @@ -# Put defined MCU peripherals here (in alphabetical order) -FEATURES_PROVIDED += periph_adc -FEATURES_PROVIDED += periph_gpio periph_gpio_irq -FEATURES_PROVIDED += periph_i2c -FEATURES_PROVIDED += periph_spi -FEATURES_PROVIDED += periph_timer -FEATURES_PROVIDED += periph_uart - include $(RIOTBOARD)/common/remote/Makefile.features diff --git a/boards/remote-pa/Makefile.features b/boards/remote-pa/Makefile.features index 3d81750460..bd31b689dc 100644 --- a/boards/remote-pa/Makefile.features +++ b/boards/remote-pa/Makefile.features @@ -1,8 +1 @@ -# Put defined MCU peripherals here (in alphabetical order) -FEATURES_PROVIDED += periph_adc -FEATURES_PROVIDED += periph_i2c -FEATURES_PROVIDED += periph_spi -FEATURES_PROVIDED += periph_timer -FEATURES_PROVIDED += periph_uart - include $(RIOTBOARD)/common/remote/Makefile.features diff --git a/boards/remote-reva/Makefile.features b/boards/remote-reva/Makefile.features index 3d81750460..bd31b689dc 100644 --- a/boards/remote-reva/Makefile.features +++ b/boards/remote-reva/Makefile.features @@ -1,8 +1 @@ -# Put defined MCU peripherals here (in alphabetical order) -FEATURES_PROVIDED += periph_adc -FEATURES_PROVIDED += periph_i2c -FEATURES_PROVIDED += periph_spi -FEATURES_PROVIDED += periph_timer -FEATURES_PROVIDED += periph_uart - include $(RIOTBOARD)/common/remote/Makefile.features diff --git a/boards/remote-revb/Makefile.features b/boards/remote-revb/Makefile.features index 7697260da5..bd31b689dc 100644 --- a/boards/remote-revb/Makefile.features +++ b/boards/remote-revb/Makefile.features @@ -1,9 +1 @@ -# Put defined MCU peripherals here (in alphabetical order) -FEATURES_PROVIDED += periph_adc -FEATURES_PROVIDED += periph_i2c -FEATURES_PROVIDED += periph_spi -FEATURES_PROVIDED += periph_timer -FEATURES_PROVIDED += periph_uart - - include $(RIOTBOARD)/common/remote/Makefile.features