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

148 lines
3.8 KiB
Plaintext

# 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 HAVE_MTD_AT24CXXX
bool
imply MODULE_MTD_AT24CXXX if MODULE_MTD
help
Indicates that a at24cxxx EEPROM MTD is present
config HAVE_MTD_AT25XXX
bool
imply MODULE_MTD_AT25XXX if MODULE_MTD
help
Indicates that a at25xxx SPI-EEPROM MTD is present
config HAVE_MTD_NATIVE
bool
imply MODULE_MTD_NATIVE if MODULE_MTD
help
Indicates that a native MTD is present.
config HAVE_MTD_SDCARD_DEFAULT
bool
imply MODULE_MTD_SDCARD if MODULE_MTD
imply MODULE_MTD_SDCARD_DEFAULT if MODULE_MTD
imply MODULE_SDCARD_SPI if MODULE_MTD
select HAS_SDCARD_SPI
help
Indicates that a sdcard MTD is present with generic configuration
config HAVE_MTD_SDCARD
bool
imply MODULE_MTD_SDCARD if MODULE_MTD
help
Indicates that a sdcard MTD is present
config HAVE_MTD_SDMMC_DEFAULT
bool
depends on HAS_PERIPH_SDMMC
imply MODULE_MTD_SDMMC if MODULE_MTD
imply MODULE_MTD_SDMMC_DEFAULT if MODULE_MTD
imply MODULE_SDMMC if MODULE_MTD
help
Indicates that a SD/MMC MTD is present with generic configuration
config HAVE_MTD_SDMMC
bool
depends on HAS_PERIPH_SDMMC
imply MODULE_MTD_SDMMC if MODULE_MTD
help
Indicates that a SD/MMC MTD is present
config HAVE_MTD_SPI_NOR
bool
imply MODULE_MTD_SPI_NOR if MODULE_MTD
help
Indicates that a spi-nor MTD is present
config HAVE_SAM0_SDHC
bool
imply MODULE_SAM0_SDHC if MODULE_MTD && !MODULE_MTD_SDMMC
help
Indicates that a SAM0 SD Host Controller MTD is present
config HAVE_MTD_SPI_MCI
bool
imply MODULE_MTD_MCI if MODULE_MTD && !MODULE_MTD_SDMMC
help
Indicates that a Multimedia Card Interface (MCI) MTD is present
menuconfig MODULE_MTD
bool "Memory Technology Device interface (MTD)"
depends on TEST_KCONFIG
if MODULE_MTD
menu "MTD Interfaces"
config MODULE_MTD_SPI_NOR
bool "MTD interface for SPI NOR Flash"
depends on HAS_PERIPH_SPI
select MODULE_PERIPH_SPI
config MODULE_MTD_FLASHPAGE
bool "MTD interface for Flashpage"
depends on HAS_PERIPH_FLASHPAGE
depends on HAS_PERIPH_FLASHPAGE_PAGEWISE
select MODULE_PERIPH_FLASHPAGE
select MODULE_PERIPH_FLASHPAGE_PAGEWISE
help
Driver for internal flash devices implementing flashpage interface.
config MODULE_MTD_NATIVE
bool "MTD native driver"
depends on NATIVE_OS_LINUX
config MODULE_MTD_AT24CXXX
bool "MTD implementation for AT24CXXX"
depends on MODULE_AT24CXXX
config MODULE_MTD_AT25XXX
bool "MTD implementation for AT25XXX"
depends on MODULE_AT25XXX
config MODULE_MTD_MCI
bool "MTD interface for LPC23XX MCI"
depends on CPU_FAM_LPC23XX
select MODULE_MCI
config MODULE_MTD_SDCARD
bool "MTD interface for SPI SD-Card"
depends on MODULE_SDCARD_SPI
config MODULE_MTD_SDCARD_DEFAULT
bool "Use Generic SD card configuration"
depends on MODULE_MTD_SDCARD
help
Automatically create a MTD device and mount point for the SD card.
config MODULE_MTD_SDMMC
bool "MTD interface for SD/MMC"
depends on HAS_PERIPH_SDMMC
select MODULE_PERIPH_SDMMC
config MODULE_MTD_SDMMC_DEFAULT
bool "Use Generic SD/MMC card configuration"
depends on MODULE_MTD_SDMMC
help
Automatically create a MTD device and mount point for the SD/MMC card.
config MODULE_MTD_EMULATED
bool "MTD interface for MTD emulated in RAM"
config MODULE_SAM0_SDHC
bool "MTD interface for SAM0 SD Host Controller"
depends on CPU_COMMON_SAM0 && HAVE_SAM0_SDHC && !MODULE_PERIPH_SDMMC
endmenu # MTD Interfacs
config MODULE_MTD_WRITE_PAGE
bool "MTD write page API"
endif