cpu/esp: disable thin archives if esp_wifi is used

For a yet unknown reason, both esp8266 and esp32 get stuck in a
reboot loop when thin archives are used.

As a workaround, disable thin archives for now if esp_wifi is used.

fixes #12258
This commit is contained in:
Benjamin Valentin 2019-09-24 01:37:38 +02:00 committed by Benjamin Valentin
parent e942f86837
commit 111fe80eb9

View File

@ -42,6 +42,9 @@ ifneq (,$(filter esp_wifi_any,$(USEMODULE)))
# 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
DISABLE_MODULE += hashes DISABLE_MODULE += hashes
# thin archives trigger a reboot loop - see #12258
ARFLAGS = rcs
endif endif
ifneq (,$(filter esp_idf_nvs_flash,$(USEMODULE))) ifneq (,$(filter esp_idf_nvs_flash,$(USEMODULE)))