Tormod Volden d27ce37a9c fix(elf2image): Handle ELF files with zero program header counts
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>
2025-09-01 14:37:42 +02:00
2025-07-30 15:52:49 +02:00
2025-06-24 14:22:28 +02:00

esptool

A Python-based, open-source, platform-independent serial utility for flashing, provisioning, and interacting with Espressif SoCs.

Test esptool Build esptool pre-commit.ci status

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.

Description
No description provided
Readme GPL-2.0 15 MiB
Languages
Python 99.2%
Makefile 0.5%
PowerShell 0.1%
C 0.1%