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

boards/microbit: put mineplex dependency resolution in common

This commit is contained in:
Alexandre Abadie 2021-11-03 11:25:56 +01:00
parent 67f67bfe62
commit 67add34e75
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 6 additions and 10 deletions

View File

@ -0,0 +1,4 @@
ifneq (,$(filter microbit,$(USEMODULE)))
USEMODULE += xtimer
USEMODULE += mineplex
endif

View File

@ -1,10 +1,6 @@
ifneq (,$(filter microbit,$(USEMODULE)))
USEMODULE += xtimer
USEMODULE += mineplex
endif
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
endif
include $(RIOTBOARD)/common/microbit/Makefile.dep
include $(RIOTBOARD)/common/nrf52/Makefile.dep

View File

@ -1,11 +1,7 @@
ifneq (,$(filter microbit,$(USEMODULE)))
USEMODULE += xtimer
USEMODULE += mineplex
endif
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
USEMODULE += mma8x5x
endif
include $(RIOTBOARD)/common/microbit/Makefile.dep
include $(RIOTBOARD)/common/nrf51/Makefile.dep