From f98128f0fbc9e8057968fc0cbbdb509260ffb9ff Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Wed, 24 Nov 2021 09:18:42 +0100 Subject: [PATCH] boards/same54-xpro: Kconfig mtd model --- boards/same54-xpro/Kconfig | 5 +++++ drivers/at24mac/Kconfig | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/boards/same54-xpro/Kconfig b/boards/same54-xpro/Kconfig index 9d0802241c..371d51cf14 100644 --- a/boards/same54-xpro/Kconfig +++ b/boards/same54-xpro/Kconfig @@ -23,4 +23,9 @@ config BOARD_SAME54_XPRO select HAS_PERIPH_UART select HAS_PERIPH_USBDEV select HAS_RIOTBOOT + select HAVE_SAUL_GPIO + select HAVE_MTD_SPI_NOR + select HAVE_AT24MAC + # This specific board requires SPI_ON_QSPI for the MTD_SPI_NOR + select MODULE_PERIPH_SPI_ON_QSPI if MODULE_MTD_SPI_NOR diff --git a/drivers/at24mac/Kconfig b/drivers/at24mac/Kconfig index 9883d8ecd4..407fe24fc4 100644 --- a/drivers/at24mac/Kconfig +++ b/drivers/at24mac/Kconfig @@ -10,8 +10,8 @@ comment "AT24MAC unique ID chip enabled as default EUI-48/64 provider" config MODULE_AT24MAC bool - prompt "AT24MAC unique ID chip" if !(MODULE_EUI_PROVIDER && HAVE_AT24MAC) - default (MODULE_EUI_PROVIDER && HAVE_AT24MAC) + prompt "AT24MAC unique ID chip" if !((MODULE_EUI_PROVIDER || MODULE_MTD) && HAVE_AT24MAC) + default ((MODULE_EUI_PROVIDER || MODULE_MTD) && HAVE_AT24MAC) select MODULE_AT24CXXX depends on HAS_PERIPH_I2C depends on TEST_KCONFIG