From 3003cf737ab5b207b1ce7cc2d2c60eff3aee3318 Mon Sep 17 00:00:00 2001 From: Jean Pierre Dudey Date: Thu, 2 Jul 2020 08:27:04 -0500 Subject: [PATCH] boards/common/esp32: move ESP features to cpu/esp_common >All of them are features of each ESP SoC and have not to be configured by the board definition. Signed-off-by: Jean Pierre Dudey Co-authored-by: Gunar Schorcht --- boards/common/esp32/Makefile.features | 5 ----- cpu/esp_common/Makefile.features | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/boards/common/esp32/Makefile.features b/boards/common/esp32/Makefile.features index 4766f0b22f..855822dd5b 100644 --- a/boards/common/esp32/Makefile.features +++ b/boards/common/esp32/Makefile.features @@ -6,8 +6,3 @@ FEATURES_PROVIDED += periph_gpio FEATURES_PROVIDED += periph_gpio_irq FEATURES_PROVIDED += periph_uart FEATURES_PROVIDED += periph_uart_modecfg - -# other features provided by all boards -FEATURES_PROVIDED += esp_spiffs -FEATURES_PROVIDED += esp_wifi -FEATURES_PROVIDED += esp_now diff --git a/cpu/esp_common/Makefile.features b/cpu/esp_common/Makefile.features index 1aa900c6c8..51ce599dea 100644 --- a/cpu/esp_common/Makefile.features +++ b/cpu/esp_common/Makefile.features @@ -3,6 +3,9 @@ FEATURES_PROVIDED += arch_32bit FEATURES_PROVIDED += arch_esp FEATURES_PROVIDED += cpp +FEATURES_PROVIDED += esp_now +FEATURES_PROVIDED += esp_spiffs +FEATURES_PROVIDED += esp_wifi FEATURES_PROVIDED += periph_cpuid FEATURES_PROVIDED += periph_hwrng FEATURES_PROVIDED += periph_pm