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

drivers/sdcard_spi: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-11-26 16:15:04 +01:00
parent 18c21fb22d
commit 64c2594dee
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 18 additions and 0 deletions

View File

@ -68,6 +68,7 @@ rsource "at24cxxx/Kconfig"
rsource "at25xxx/Kconfig"
rsource "mtd/Kconfig"
rsource "mtd_sdcard/Kconfig"
rsource "sdcard_spi/Kconfig"
endmenu # Storage Device Drivers
endmenu # Drivers

View File

@ -0,0 +1,17 @@
# 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_SDCARD_SPI
bool "SPI SD-Card"
depends on HAS_PERIPH_GPIO
depends on HAS_PERIPH_SPI
depends on TEST_KCONFIG
select MODULE_PERIPH_GPIO
select MODULE_PERIPH_SPI
select MODULE_PERIPH_SPI_RECONFIGURE if HAS_PERIPH_SPI_RECONFIGURE
select MODULE_XTIMER
select MODULE_CHECKSUM