1
0
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:
Leandro Lanzieri 2021-11-01 11:44:17 +01:00
parent 845681448d
commit 92b7e5ea53
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 2 additions and 2 deletions

View File

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

View File

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