Page 1 of 1

can an esp-idf build app can run in any app partitions? (factory / ota)

Posted: Tue Mar 17, 2020 10:18 am
by vinodstanur
Hi,

I have a small question, does esp-idf build application have any thing to do with where it is going to be dumped inside the external flash ?

Assume I have one factory and one ota partition which is of same size.
Now, technically any same application code should be able to run from both of the partitions right ?

Re: can an esp-idf build app can run in any app partitions? (factory / ota)

Posted: Tue Mar 17, 2020 3:05 pm
by ESP_Sprite
Yes. The ESP32 has a small MMU to map whatever program you have in flash to the same location in the address space, so the physical location in flash does not matter.