[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: disable thin archives if esp_wifi is used (#12292)

Gunar Schorcht notifications at github.com
Mon Sep 30 17:28:03 CEST 2019

@benpicco @jcarrano I tried to investigate the problem in debugger.

The program execution seems to hang during startup https://github.com/RIOT-OS/RIOT/blob/fe6d892969a96dc86b961ee906cce96c0fa51ff1/cpu/esp32/startup.c#L317 when `spi_read_flash` is called and there when `irq_disable` is called https://github.com/RIOT-OS/RIOT/blob/fe6d892969a96dc86b961ee906cce96c0fa51ff1/cpu/esp32/periph/flash.c#L173 and in `irq_disable` at the following instruction: https://github.com/RIOT-OS/RIOT/blob/fe6d892969a96dc86b961ee906cce96c0fa51ff1/cpu/esp32/irq_arch.c#L55
I have to say "seems to hang" because this is the place where the debugger stops to work, maybe because of the disabled interrupts. Anyway, function `spi_read_flash` doesn't return so that the problem has to be there.

And indeed, the problem seems to be solved with the fix of `cpu/esp32/periph/flash` provided by PR #12035. So we should try to get the PR #12035 merged in short term.

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190930/87dc5d3c/attachment.htm>

More information about the notifications mailing list