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

drivers/mtd_flashpage: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-12-09 15:45:37 +01:00
parent c574ac999e
commit 105001a977
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 18 additions and 0 deletions

View File

@ -111,6 +111,7 @@ menu "Storage Device Drivers"
rsource "at24cxxx/Kconfig"
rsource "at25xxx/Kconfig"
rsource "mtd/Kconfig"
rsource "mtd_flashpage/Kconfig"
rsource "mtd_sdcard/Kconfig"
rsource "sdcard_spi/Kconfig"
endmenu # Storage Device 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_MTD_FLASHPAGE
bool "MTD interface for Flashpage"
depends on HAS_PERIPH_FLASHPAGE
depends on HAS_PERIPH_FLASHPAGE_PAGEWISE
depends on TEST_KCONFIG
select MODULE_PERIPH_FLASHPAGE
select MODULE_PERIPH_FLASHPAGE_PAGEWISE
select MODULE_MTD
help
Driver for internal flash devices implementing flashpage interface.