mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/atxmega: fix dependency
This commit is contained in:
parent
845681448d
commit
92b7e5ea53
@ -4,7 +4,7 @@ USEMODULE += atxmega_periph
|
||||
# All ATxmega based CPUs provide PM
|
||||
USEMODULE += pm_layered
|
||||
|
||||
ifeq (,$(filter cpuid,$(USEMODULE)))
|
||||
ifneq (,$(filter periph_cpuid,$(USEMODULE)))
|
||||
USEMODULE += periph_nvm
|
||||
endif
|
||||
|
||||
|
@ -17,6 +17,6 @@ config MODULE_PERIPH_NVM
|
||||
bool
|
||||
depends on MODULE_ATXMEGA_PERIPH
|
||||
depends on HAS_PERIPH_NVM
|
||||
default y if MODULE_CPUID
|
||||
default y if MODULE_PERIPH_CPUID
|
||||
help
|
||||
Internal ATXmega Non Volatile Memory (NVM) driver.
|
||||
|
Loading…
Reference in New Issue
Block a user