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:
parent
7c5630032f
commit
e6789198f8
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user