cpu/esp32: fixes compile problems

This commit is contained in:
Gunar Schorcht 2018-11-20 00:49:33 +01:00
parent 16f0bf4fdc
commit 2a7c33bdf6

View File

@ -31,6 +31,7 @@ ifneq (,$(filter esp_wifi_any,$(USEMODULE)))
USEMODULE += esp_idf_wpa_supplicant_crypto USEMODULE += esp_idf_wpa_supplicant_crypto
USEMODULE += esp_idf_wpa_supplicant_port USEMODULE += esp_idf_wpa_supplicant_port
USEMODULE += esp_idf_nvs_flash USEMODULE += esp_idf_nvs_flash
USEMODULE += riot_freertos
# crypto and hashes produce symbol conflicts with esp_idf_wpa_supplicant_crypto # crypto and hashes produce symbol conflicts with esp_idf_wpa_supplicant_crypto
DISABLE_MODULE += crypto DISABLE_MODULE += crypto
@ -39,11 +40,12 @@ endif
ifneq (,$(filter esp_idf_nvs_flash,$(USEMODULE))) ifneq (,$(filter esp_idf_nvs_flash,$(USEMODULE)))
# add additional modules required by esp_idf_nvs_flash # add additional modules required by esp_idf_nvs_flash
USEMODULE += mtd
USEMODULE += pthread USEMODULE += pthread
endif endif
ifneq (,$(filter esp_idf_nvs_flash,$(USEMODULE))) ifneq (,$(filter riot_freertos,$(USEMODULE)))
# add additional modules required by riot_riot_freertos # add additional modules required by riot_freertos
USEMODULE += xtimer USEMODULE += xtimer
endif endif