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

drivers/mtd_mapper: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-12-09 16:17:46 +01:00
parent 105001a977
commit 1950f5a532
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 19 additions and 0 deletions

View File

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

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_MTD_MAPPER
bool "MTD address mapper"
depends on TEST_KCONFIG
select MODULE_MTD
help
Driver for address remap for flash devices.
This MTD module allows for remapping multiple different regions on a single
MTD device and present them as separate MTD devices. This is similar to
partitions on a hard drive, although this system only allows hardcoded
partitions and lacks a partition table.