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

vinodstanur
Posts: 27
Joined: Thu Jun 08, 2017 12:59 pm

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

Postby vinodstanur » Tue Mar 17, 2020 10:18 am

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 ?

ESP_Sprite
Posts: 9709
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Mar 17, 2020 3:05 pm

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.

Who is online

Users browsing this forum: No registered users and 262 guests