mirror of
https://github.com/espressif/esptool.git
synced 2025-10-14 02:43:11 +08:00
d27ce37a9cc62bc7f71dbd2241f7df4b57a98fbb

The program header table can describe zero or more segments. However,
commit ca16d5f3
introduced checks in _read_segments() that will fail
on a zero number of program header entries.
Simply return early and skip these checks in _read_segments() if
e_phnum is zero.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
esptool
A Python-based, open-source, platform-independent serial utility for flashing, provisioning, and interacting with Espressif SoCs.
Documentation
Visit the documentation or run esptool -h
.
Contribute
If you're interested in contributing to esptool, please check the contributions guide.
About
esptool was initially created by Fredrik Ahlberg (@themadinventor), and later maintained by Angus Gratton (@projectgus). It is now supported by Espressif Systems. It has also received improvements from many members of the community.
License
This document and the attached source code are released as Free Software under GNU General Public License Version 2 or later. See the accompanying LICENSE file for a copy.
Languages
Python
99.2%
Makefile
0.5%
PowerShell
0.1%
C
0.1%