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

drivers/at24mac/Kconfig: enable as EUI provider when present

This commit is contained in:
Leandro Lanzieri 2021-10-01 11:54:21 +02:00
parent 7c5630032f
commit e6789198f8
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593

View File

@ -5,14 +5,18 @@
# directory for more details.
#
comment "AT24MAC unique ID chip enabled as default EUI-48/64 provider"
depends on MODULE_EUI_PROVIDER && HAVE_AT24MAC && MODULE_AT24MAC
config MODULE_AT24MAC
bool "AT24MAC unique ID chip"
bool
prompt "AT24MAC unique ID chip" if !(MODULE_EUI_PROVIDER && HAVE_AT24MAC)
default (MODULE_EUI_PROVIDER && HAVE_AT24MAC)
select MODULE_AT24CXXX
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
config HAVE_AT24MAC
bool
select MODULE_AT24MAC if EUI_PROVIDER && HAS_PERIPH_I2C
help
Indicates that an AT24MAC unique ID chip is present.