From b47067b768e58b37a9fac8c05a141ec76b0598d7 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Tue, 25 Sep 2018 16:48:10 +0200 Subject: [PATCH] boards/shields: Clean-up connectors Kconfig options Cleanup unused leftover from shield development. These flags are not actually useful, nor used as dts connectors are sufficient to control board to shield binding is operational and dtc provides meaningful error message when this is not the case. Signed-off-by: Erwan Gouriou --- boards/Kconfig | 4 ---- boards/arm/nucleo_f429zi/Kconfig.board | 3 --- boards/shields/Kconfig | 17 ----------------- 3 files changed, 24 deletions(-) delete mode 100644 boards/shields/Kconfig diff --git a/boards/Kconfig b/boards/Kconfig index 303c20a6c05..c15de0d1803 100644 --- a/boards/Kconfig +++ b/boards/Kconfig @@ -26,10 +26,6 @@ menu "Board Options" osource "$(BOARD_DIR)/Kconfig" endmenu -menu "Shields" -source "boards/shields/Kconfig" -endmenu - menu "Shields" source "boards/shields/*/Kconfig.shield" endmenu diff --git a/boards/arm/nucleo_f429zi/Kconfig.board b/boards/arm/nucleo_f429zi/Kconfig.board index 1cb200aa36d..9d6780cfae5 100644 --- a/boards/arm/nucleo_f429zi/Kconfig.board +++ b/boards/arm/nucleo_f429zi/Kconfig.board @@ -8,6 +8,3 @@ config BOARD_NUCLEO_F429ZI bool "NUCLEO-144 F429ZI Development Board" depends on SOC_STM32F429XI - select HAS_ARDUINO_I2C - select HAS_ARDUINO_SPI - select HAS_ARDUINO_SERIAL diff --git a/boards/shields/Kconfig b/boards/shields/Kconfig deleted file mode 100644 index 8bddf54a9df..00000000000 --- a/boards/shields/Kconfig +++ /dev/null @@ -1,17 +0,0 @@ -config HAS_ARDUINO_SERIAL - bool - help - This option specifies that the target platform is compatible - with Arduino Serial - -config HAS_ARDUINO_I2C - bool - help - This option specifies that the target platform is compatible - with Arduino I2C - -config HAS_ARDUINO_SPI - bool - help - This option specifies that the target platform is compatible - with Arduino SPI