mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/*microbit*: move saul_gpio inclusion to common
This commit is contained in:
parent
0ddbe042eb
commit
bbda5fabfe
@ -3,3 +3,7 @@ ifneq (,$(filter microbit,$(USEMODULE)))
|
|||||||
USEMODULE += ztimer_usec
|
USEMODULE += ztimer_usec
|
||||||
USEMODULE += mineplex
|
USEMODULE += mineplex
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
|
USEMODULE += saul_gpio
|
||||||
|
endif
|
||||||
|
@ -18,4 +18,5 @@ config BOARD_MICROBIT_V2
|
|||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
select HAS_VDD_LC_FILTER_REG1
|
select HAS_VDD_LC_FILTER_REG1
|
||||||
|
|
||||||
|
source "$(RIOTBOARD)/common/microbit/Kconfig"
|
||||||
source "$(RIOTBOARD)/common/nrf52/Kconfig"
|
source "$(RIOTBOARD)/common/nrf52/Kconfig"
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
||||||
USEMODULE += saul_gpio
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/microbit/Makefile.dep
|
include $(RIOTBOARD)/common/microbit/Makefile.dep
|
||||||
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += saul_gpio
|
|
||||||
USEMODULE += mma8x5x
|
USEMODULE += mma8x5x
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user