Hi,
I want to merge all bin files of the project (bootloader, partition, spiifs, factory_app ...) into single one for production. I found that it is possible using the ESP32 download tool. However, I would like to automate it as part of the whole release process of my project. Is there a script or executable tool that I can call by command line to do the merge?
Thanks!
Merge all bin files into single one
Re: Merge all bin files into single one
Hi Humam,
We don't have an esptool.py command line command for this yet. There is an open request for this feature on the esptool repo, but no ETA yet: https://github.com/espressif/esptool/issues/254
The best options right now are either to write a short script to merge the files, or to write all the binary data to an ESP32's flash and then use the read_flash command to read back it all as a single file.
Angus
We don't have an esptool.py command line command for this yet. There is an open request for this feature on the esptool repo, but no ETA yet: https://github.com/espressif/esptool/issues/254
The best options right now are either to write a short script to merge the files, or to write all the binary data to an ESP32's flash and then use the read_flash command to read back it all as a single file.
Angus
-
- Posts: 19
- Joined: Tue May 29, 2018 10:24 pm
Re: Merge all bin files into single one
Thank you very much! it seems that I will write some script to do the job.ESP_Angus wrote: ↑Thu Jan 03, 2019 1:15 amHi Humam,
We don't have an esptool.py command line command for this yet. There is an open request for this feature on the esptool repo, but no ETA yet: https://github.com/espressif/esptool/issues/254
The best options right now are either to write a short script to merge the files, or to write all the binary data to an ESP32's flash and then use the read_flash command to read back it all as a single file.
Angus
-
- Posts: 76
- Joined: Tue May 29, 2018 8:00 pm
Re: Merge all bin files into single one
We had considered using a single bin, but it turned out to slow down the programming process unacceptably, so we just use a single esptool command with multiple files (partition table, bootloader, app), and it worked great. Usually there's a script that flashes a production package anyways, so it's not much more overhead to have three files.
Who is online
Users browsing this forum: Bing [Bot] and 159 guests