1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/at25xxx: add modules to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-11-11 17:44:15 +01:00
parent f1028dfe85
commit c94216bb7b
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
3 changed files with 31 additions and 0 deletions

View File

@ -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

18
drivers/at25xxx/Kconfig Normal file
View File

@ -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"

View File

@ -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