[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: disable thin archives if esp_wifi is used (#12292)
notifications at github.com
Mon Sep 30 19:08:57 CEST 2019
Yes, it seems to be a bit strange. But, if `esp_wifi_any` is used, `esp_idf_nvs_flash` is enabled automatically which in turn uses `spi_flash_*` functions. The main difference between the implementation in current master and the fix in PR # 12035 is that the critical sections are entered and left in different places.
Accessing the flash is always critical since the program cache has to be disabled for that time. That is, functions that are executed from flash are not available. Another problem might be that interrupts are disabled for too long time in current master and the problem a side effect that happened only when thin archives are used.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications