mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
# Copyright (c) 2020 Freie Universitaet Berlin
|
|
# 2020 HAW Hamburg
|
|
# 2023 Gunar Schorcht
|
|
#
|
|
# 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.
|
|
#
|
|
menuconfig KCONFIG_USEMODULE_MTD_SDMMC
|
|
bool "Configure MTD_SDMMC driver"
|
|
depends on USEMODULE_MTD_SDMMC
|
|
help
|
|
Configure the MTD_SDMMC driver using Kconfig.
|
|
|
|
if KCONFIG_USEMODULE_MTD_SDMMC
|
|
|
|
config SDMMC_GENERIC_MTD_OFFSET
|
|
depends on MODULE_MTD_SDMMC_DEFAULT
|
|
int "Index of first auto-configured MTD SD/MMC device"
|
|
default 0
|
|
help
|
|
If you have other MTD devices defined, set this number so that
|
|
the auto-configured SD Memory Card(s) or MMCs/eMMCs from
|
|
mtd_sdmmc_default will come after them.
|
|
|
|
config MTD_SDMMC_ERASE
|
|
bool "Enable SD Memory Card erase"
|
|
help
|
|
Enable this to erase sector before a data write operation (SD Memory
|
|
Cards only).
|
|
SD Memory Cards and MMCs/eMMCs handle sector erase internally
|
|
so it's possible to directly write to the card without erasing
|
|
the sector first hence this feature is disabled by default.
|
|
|
|
endif # KCONFIG_USEMODULE_MTD_SDMMC
|