From 3cf33f7b5ce68b34285e061a9898f95ee8f1feee Mon Sep 17 00:00:00 2001 From: Francisco Acosta <fco.ja.ac@gmail.com> Date: Wed, 10 Oct 2018 15:20:56 +0200 Subject: [PATCH] boards: add riotboot feature to tested boards Currently only tested boards provide the feature riotboot. Potentially all boards embeding a cortex-m0+/3/4/7 are able to have riotboot as a feature, but other dependencies need to be met, e.g. usage of cortexm.ld linker script, double initialisation of cpu_init(), etc. See doc in bootloaders/riotboot. --- boards/common/iotlab/Makefile.features | 3 +++ boards/nucleo-l152re/Makefile.features | 3 +++ boards/saml21-xpro/Makefile.features | 3 +++ boards/samr21-xpro/Makefile.features | 3 +++ 4 files changed, 12 insertions(+) diff --git a/boards/common/iotlab/Makefile.features b/boards/common/iotlab/Makefile.features index 5b0e6f92e9..c4cd705c6d 100644 --- a/boards/common/iotlab/Makefile.features +++ b/boards/common/iotlab/Makefile.features @@ -6,5 +6,8 @@ FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +# Put other features for this board (in alphabetical order) +FEATURES_PROVIDED += riotboot + # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m3_1 diff --git a/boards/nucleo-l152re/Makefile.features b/boards/nucleo-l152re/Makefile.features index ad81f0d97e..459e65383d 100644 --- a/boards/nucleo-l152re/Makefile.features +++ b/boards/nucleo-l152re/Makefile.features @@ -9,6 +9,9 @@ FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +# Put other features for this board (in alphabetical order) +FEATURES_PROVIDED += riotboot + # load the common Makefile.features for Nucleo boards include $(RIOTBOARD)/common/nucleo64/Makefile.features diff --git a/boards/saml21-xpro/Makefile.features b/boards/saml21-xpro/Makefile.features index edd3b96f39..651f526750 100644 --- a/boards/saml21-xpro/Makefile.features +++ b/boards/saml21-xpro/Makefile.features @@ -7,6 +7,9 @@ FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +# Put other features for this board (in alphabetical order) +FEATURES_PROVIDED += riotboot + # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_2 diff --git a/boards/samr21-xpro/Makefile.features b/boards/samr21-xpro/Makefile.features index 4327472442..02f222cb2a 100644 --- a/boards/samr21-xpro/Makefile.features +++ b/boards/samr21-xpro/Makefile.features @@ -8,6 +8,9 @@ FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +# Put other features for this board (in alphabetical order) +FEATURES_PROVIDED += riotboot + # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_2 -- GitLab