Browse Source

test/examples/make: inc all of SAUL on saul_default

- make saul_default dependent on saul_reg and auto_init_saul
- adapt default example and the saul test application
pr/spi.typo
Hauke Petersen 6 years ago
parent
commit
1469d46501
  1. 2
      Makefile.dep
  2. 2
      examples/default/Makefile
  3. 2
      tests/saul/Makefile

2
Makefile.dep

@ -548,6 +548,8 @@ endif
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul
USEMODULE += saul_reg
USEMODULE += auto_init_saul
endif
ifneq (,$(filter saul,$(USEMODULE)))

2
examples/default/Makefile

@ -32,9 +32,7 @@ USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += ps
# include and auto-initialize all available sensors
USEMODULE += saul_reg
USEMODULE += saul_default
USEMODULE += auto_init_saul
BOARD_PROVIDES_NETIF := airfy-beacon cc2538dk fox iotlab-m3 iotlab-a8-m3 mulle \
microbit native nrf51dongle nrf52dk nrf6310 openmote-cc2538 pba-d-01-kw2x \

2
tests/saul/Makefile

@ -2,9 +2,7 @@ APPLICATION = saul
include ../Makefile.tests_common
# include and auto-initialize all available sensors
USEMODULE += saul_reg
USEMODULE += saul_default
USEMODULE += auto_init_saul
USEMODULE += xtimer

Loading…
Cancel
Save