mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/esp8266: use optional modules when compiled in CI
To test compilation of optional ESP8266 modules, these modules are enabled for the `esp8266-olimex-mod` board when compiled in CI. The use of some of these optional modules depend on the use of other modules.
This commit is contained in:
parent
b74c456595
commit
9bf85a951b
@ -1 +1,22 @@
|
||||
# if compiled in CI, optional modules are selected for compile tests
|
||||
ifneq (,$(RIOT_CI_BUILD))
|
||||
USEMODULE += esp_log_tagged
|
||||
USEMODULE += esp_log_startup
|
||||
USEMODULE += esp_qemu
|
||||
|
||||
ifneq (,$(filter periph_timer,$(USEMODULE)))
|
||||
USEMODULE += esp_sw_timer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
||||
# if netdev_default is used, we use gnrc modules that are enabled
|
||||
# in different examples to use different esp_wifi modules
|
||||
ifeq (,$(filter gnrc_netif_single,$(USEMODULE)))
|
||||
# if gnrc_netif_single module is not enabled, esp_wifi_ap is used
|
||||
USEMODULE += esp_wifi_ap
|
||||
endif
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
include $(RIOTBOARD)/common/esp8266/Makefile.dep
|
||||
|
Loading…
Reference in New Issue
Block a user