mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/at25xxx: add modules to Kconfig
This commit is contained in:
parent
f1028dfe85
commit
c94216bb7b
@ -47,6 +47,7 @@ endmenu # Sensor Device Drivers
|
||||
|
||||
menu "Storage Device Drivers"
|
||||
rsource "at24cxxx/Kconfig"
|
||||
rsource "at25xxx/Kconfig"
|
||||
rsource "mtd/Kconfig"
|
||||
rsource "mtd_sdcard/Kconfig"
|
||||
endmenu # Storage Device Drivers
|
||||
|
18
drivers/at25xxx/Kconfig
Normal file
18
drivers/at25xxx/Kconfig
Normal 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_AT25XXX
|
||||
bool "AT25xxx SPI-EEPROMs"
|
||||
depends on HAS_PERIPH_SPI
|
||||
depends on TEST_KCONFIG
|
||||
select MODULE_PERIPH_SPI
|
||||
select MODULE_XTIMER
|
||||
help
|
||||
This driver also supports M95xxx, 25AAxxx, 25LCxxx, CAT25xxx & BR25Sxxx
|
||||
families.
|
||||
|
||||
rsource "mtd/Kconfig"
|
12
drivers/at25xxx/mtd/Kconfig
Normal file
12
drivers/at25xxx/mtd/Kconfig
Normal file
@ -0,0 +1,12 @@
|
||||
# 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_AT25XXX
|
||||
bool "MTD implementation for AT25XXX"
|
||||
depends on MODULE_AT25XXX
|
||||
depends on MODULE_MTD
|
||||
depends on TEST_KCONFIG
|
Loading…
Reference in New Issue
Block a user