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:
parent
51f92fa816
commit
f98128f0fb
@ -23,4 +23,9 @@ config BOARD_SAME54_XPRO
|
|||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
select HAS_PERIPH_USBDEV
|
select HAS_PERIPH_USBDEV
|
||||||
select HAS_RIOTBOOT
|
select HAS_RIOTBOOT
|
||||||
|
|
||||||
select HAVE_SAUL_GPIO
|
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
|
||||||
|
@ -10,8 +10,8 @@ comment "AT24MAC unique ID chip enabled as default EUI-48/64 provider"
|
|||||||
|
|
||||||
config MODULE_AT24MAC
|
config MODULE_AT24MAC
|
||||||
bool
|
bool
|
||||||
prompt "AT24MAC unique ID chip" if !(MODULE_EUI_PROVIDER && HAVE_AT24MAC)
|
prompt "AT24MAC unique ID chip" if !((MODULE_EUI_PROVIDER || MODULE_MTD) && HAVE_AT24MAC)
|
||||||
default (MODULE_EUI_PROVIDER && HAVE_AT24MAC)
|
default ((MODULE_EUI_PROVIDER || MODULE_MTD) && HAVE_AT24MAC)
|
||||||
select MODULE_AT24CXXX
|
select MODULE_AT24CXXX
|
||||||
depends on HAS_PERIPH_I2C
|
depends on HAS_PERIPH_I2C
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user