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

boards/same54-xpro: Kconfig mtd model

This commit is contained in:
MrKevinWeiss 2021-11-24 09:18:42 +01:00
parent 51f92fa816
commit f98128f0fb
No known key found for this signature in database
GPG Key ID: 3514539D7808D123
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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