Björn Quentin

Results 485 comments of Björn Quentin

If only adding the dependency is causing this, then it's very odd. If you actually initialize esp-wifi in your code it makes sense. There is https://github.com/bjoernQ/esp32c3-ota-experiment which is for ESP32-C3...

Thanks for the analysis of the effects of different `lto` settings (cc @MabezDev)

> Has this been resolved then? because it still happens to me even with the suggested changes. So, what am I doing wrong? Does your application do anything on the...

I'd expect the ROM functions to disable interrupts on their own - plus by default we call them in a critical-section 🤔 Is there anything special in your code which...

Ah ... I can imagine interrupts triggered on the other core to cause problems while one core is accessing the (detached) flash. This probably needs some more synchronization work between...

Now after further thinking: We need to completely halt the other core during flash access

I think I remember I have seen code in esp-idf where they just paused and unpaused the other core. But maybe I'm wrong .... Need to check that. Even if...

In the default partition table 0x9000 is NVS (`nvs, data, nvs, 0x9000, 0x6000,`) so it's fine to use it Probably worth to mention that in a comment about it in...

Found the CPU pausing in NuttX https://github.com/apache/nuttx/blob/1a8027d6250dc7bf2156e293d453a611cd8dce35/arch/xtensa/src/esp32/esp32_spiflash.c#L473

This crate moves to the esp-hal repo. Will be done there