Page 1 of 1

Esspressif IDE build binary for specific partition

Posted: Wed Mar 16, 2022 10:38 am
by daniSi
Dear

I could not find a option to build the project for a specific partition and then upload the binary with the "run" button to it.
For example, I have two partitions factory app - 1 MB, ota1 - 3 MB.

The project which I have is meant to be on the ota1 partition, but already when compiling I receive a warning that the code is to big since it is comparing with the size of factory app and its just 1 MB. Also then when uploading the binary it will always by default upload to the factory app partition.

If this functionality is not yet included it would be very useful.

Re: Esspressif IDE build binary for specific partition

Posted: Fri Mar 25, 2022 8:42 am
by ESP_kondalkolipaka
Hi,

Espressif IDE is not yet offering flashing into a specific partition directly. However, you could change the flash command in the Main tab of the project launch configuration window.

Click on the Launch Configuration > Go to Main Tab > Go to arguments section > Change the flash command as required

These links might help
https://docs.espressif.com/projects/esp ... ables.html
https://github.com/espressif/idf-eclips ... figuration