drivers/sdcard_spi: add module to Kconfig
This commit is contained in:
parent
18c21fb22d
commit
64c2594dee
@ -68,6 +68,7 @@ rsource "at24cxxx/Kconfig"
|
|||||||
rsource "at25xxx/Kconfig"
|
rsource "at25xxx/Kconfig"
|
||||||
rsource "mtd/Kconfig"
|
rsource "mtd/Kconfig"
|
||||||
rsource "mtd_sdcard/Kconfig"
|
rsource "mtd_sdcard/Kconfig"
|
||||||
|
rsource "sdcard_spi/Kconfig"
|
||||||
endmenu # Storage Device Drivers
|
endmenu # Storage Device Drivers
|
||||||
|
|
||||||
endmenu # Drivers
|
endmenu # Drivers
|
||||||
|
|||||||
17
drivers/sdcard_spi/Kconfig
Normal file
17
drivers/sdcard_spi/Kconfig
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user