mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
48f59a1487
If the WiFi interface is enabled by module `esp_wifi_any`, binary SDK libraries use the RTT. Therefore, `ztimer` must not use `periph_rtt`as backend, if the WiFi interface is enabled by module `esp_wifi_any`.
31 lines
704 B
Makefile
31 lines
704 B
Makefile
# additional modules dependencies
|
|
|
|
include $(RIOTCPU)/esp_common/Makefile.dep
|
|
|
|
# Include ESP8266 RTOS SDK vendor package.
|
|
USEPKG += esp8266_sdk
|
|
|
|
USEMODULE += esp_idf_esp8266
|
|
USEMODULE += esp_idf_nvs_flash
|
|
USEMODULE += esp_idf_spi_flash
|
|
USEMODULE += esp_idf_util
|
|
USEMODULE += esp_idf_wpa_supplicant_crypto
|
|
USEMODULE += esp_sdk
|
|
USEMODULE += mtd
|
|
USEMODULE += periph_common
|
|
USEMODULE += ps
|
|
|
|
ifneq (,$(filter periph_i2c,$(USEMODULE)))
|
|
USEMODULE += esp_i2c_sw
|
|
USEMODULE += periph_i2c_sw
|
|
endif
|
|
|
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
|
USEMODULE += rtt_rtc
|
|
endif
|
|
|
|
ifneq (,$(filter esp_wifi_any,$(USEMODULE)))
|
|
# avoid that ztimer_periph_rtt is used as backend
|
|
USEMODULE += ztimer_no_periph_rtt
|
|
endif
|