Esspressif IDE build binary for specific partition

daniSi
Posts: 47
Joined: Thu Dec 23, 2021 9:43 am

Esspressif IDE build binary for specific partition

Postby daniSi » Wed Mar 16, 2022 10:38 am

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.

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Esspressif IDE build binary for specific partition

Postby ESP_kondalkolipaka » Fri Mar 25, 2022 8:42 am

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

Who is online

Users browsing this forum: No registered users and 30 guests