2018-09-05 02:39:50 +02:00
|
|
|
# additional modules dependencies
|
|
|
|
|
2019-12-12 13:46:20 +01:00
|
|
|
include $(RIOTCPU)/esp_common/Makefile.dep
|
2019-12-12 15:41:20 +01:00
|
|
|
|
2021-05-01 15:39:25 +02:00
|
|
|
# Include ESP8266 RTOS SDK vendor package.
|
|
|
|
USEPKG += esp8266_sdk
|
|
|
|
|
2020-03-10 16:57:52 +01:00
|
|
|
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
|
|
|
|
|
2019-12-12 15:41:20 +01:00
|
|
|
ifneq (,$(filter periph_i2c,$(USEMODULE)))
|
|
|
|
USEMODULE += esp_i2c_sw
|
|
|
|
USEMODULE += periph_i2c_sw
|
|
|
|
endif
|
2020-03-21 08:49:51 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
|
|
|
USEMODULE += rtt_rtc
|
|
|
|
endif
|
2021-12-19 15:56:31 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter esp_wifi_any,$(USEMODULE)))
|
|
|
|
# avoid that ztimer_periph_rtt is used as backend
|
|
|
|
USEMODULE += ztimer_no_periph_rtt
|
|
|
|
endif
|