diff --git a/drivers/Kconfig b/drivers/Kconfig index d83cffe9f9..ed95061103 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -47,6 +47,7 @@ endmenu # Sensor Device Drivers menu "Storage Device Drivers" rsource "at24cxxx/Kconfig" +rsource "at25xxx/Kconfig" rsource "mtd/Kconfig" rsource "mtd_sdcard/Kconfig" endmenu # Storage Device Drivers diff --git a/drivers/at25xxx/Kconfig b/drivers/at25xxx/Kconfig new file mode 100644 index 0000000000..83b28c7af2 --- /dev/null +++ b/drivers/at25xxx/Kconfig @@ -0,0 +1,18 @@ +# Copyright (c) 2020 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_AT25XXX + bool "AT25xxx SPI-EEPROMs" + depends on HAS_PERIPH_SPI + depends on TEST_KCONFIG + select MODULE_PERIPH_SPI + select MODULE_XTIMER + help + This driver also supports M95xxx, 25AAxxx, 25LCxxx, CAT25xxx & BR25Sxxx + families. + +rsource "mtd/Kconfig" diff --git a/drivers/at25xxx/mtd/Kconfig b/drivers/at25xxx/mtd/Kconfig new file mode 100644 index 0000000000..89496e0356 --- /dev/null +++ b/drivers/at25xxx/mtd/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2020 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_MTD_AT25XXX + bool "MTD implementation for AT25XXX" + depends on MODULE_AT25XXX + depends on MODULE_MTD + depends on TEST_KCONFIG