From 858187dc256df23c179851906677178d4245adab Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 19:24:57 +0100 Subject: [PATCH] drivers/soft_spi: add module to Kconfig --- drivers/Kconfig | 1 + drivers/soft_spi/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/soft_spi/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index fe9a536146..0843f6c9f6 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -48,6 +48,7 @@ rsource "Kconfig.net" menu "Peripherals drivers" rsource "periph_common/Kconfig" rsource "rtt_rtc/Kconfig" +rsource "soft_spi/Kconfig" endmenu # Peripherals drivers menu "Sensor Device Drivers" diff --git a/drivers/soft_spi/Kconfig b/drivers/soft_spi/Kconfig new file mode 100644 index 0000000000..5ba30b749a --- /dev/null +++ b/drivers/soft_spi/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2021 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_SOFT_SPI + bool "Software-implemented SPI" + depends on HAS_PERIPH_GPIO + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_XTIMER