24 Commits

Author SHA1 Message Date
Peter Dragun
08c170b90e fix: Do not use padding for merged IntelHex files
Split merged hex files into multiple temporary binary files for
commands like `write-flash` and `image-info` and others that support
IntelHex files.

Splitting is done based on the gaps in the addresses.
This should prevent overriding the flash region between the files.

Closes https://github.com/espressif/esptool/issues/1075
2025-05-13 04:34:23 +08:00
Radim Karniš
f3cf10715e feat(logging): Add collapsible output stages and ASCII progress bars 2025-03-17 15:59:41 +01:00
Peter Dragun
3cecd6dcc1 feat(cli): Commands and options use dashes instead of underscores for uniformity
BREAKING CHANGE
2025-03-07 10:02:16 +01:00
Radim Karniš
46a9e31cfe feat(cmds): Expand input of all functions to file paths, bytes, or file-like objects 2025-03-06 15:14:01 +01:00
Peter Dragun
2e4e77cde2 change: fix issues reported by ruff linter 2025-02-24 10:10:22 +01:00
Radim Karniš
0864e17530 feat(errors): Print errors to STDERR, catch KeyboardInterrupt
BREAKING CHANGE

Closes https://github.com/espressif/esptool/issues/981

Closes https://github.com/espressif/esptool/issues/888

Closes https://github.com/espressif/esptool/issues/934
2025-01-29 10:56:53 +01:00
Radim Karniš
3f625c39ad feat(image_info): Deprecate the --version 1 output format
BREAKING CHANGE
2025-01-29 10:45:47 +01:00
Jan Beran
858ba562f9 ci: Edit tests to take new segment indexing into account 2024-01-19 22:53:10 +08:00
Peter Dragun
7074bede97 feat: add support for intel hex format 2023-11-03 01:34:12 +00:00
Massimiliano Montagni
f558f22974 fix: inconsistent usage of dirs separator 2023-05-25 11:16:11 +02:00
KonstantinKondrashov
797fd4d923 esptool: Move bootdesc on the top of the ram segment 2023-05-10 10:19:37 +00:00
Trent Piepho
0df000cf66 image_info: Print chip ID's name if known
Example:

Flash pins drive settings: clk_drv: 0x0, q_drv: 0x0, d_drv: 0x0, cs0_drv: 0x0, hd_drv: 0x0, wp_drv: 0x0
Chip ID: 5 (ESP32-C3)
Minimal chip revision: v0.0, (legacy min_rev = 0)
Maximal chip revision: v655.35

An unknown ID will be printed as:

Chip ID: 42 (Unknown ID)
2023-04-24 08:16:36 -07:00
Trent Piepho
b6a0482d0d image_info: Display disabled WP pin as disabled
The image formats know about the special value 0xee used to disable WP.
Display this with image_info.

E.g.:

ESP32-C3 extended image header
==============================
WP pin: 0xee (disabled)
2023-04-24 08:16:18 -07:00
radim.karnis
9c8c1f1a52 tests: Create custom host_test marker for tests without real chip connected
Closes https://github.com/espressif/esptool/issues/838
2023-02-20 13:48:35 +01:00
radim.karnis
499dd7054f ci: Reduce size of test images and cleanup 2023-02-13 10:33:27 +01:00
radim.karnis
471172d535 ci: Run tests against installed packages, not scripts 2022-11-29 14:59:04 +01:00
radim.karnis
1d18196eab ci(test_esptool): Migrate tests from unittest to pytest 2022-10-25 11:05:41 +02:00
radim.karnis
40e6afd97b ci(host_tests): Migrate from unittest to pytest
Closes https://github.com/espressif/esptool/issues/747/
2022-10-25 11:05:41 +02:00
radim.karnis
82bfe98c9a feat(image_info): Print application information if possible 2022-09-14 11:03:33 +02:00
KonstantinKondrashov
84918eae05 esptool: Adds min_rev_full and max_rev_full (in format: major * 100 + minor) 2022-09-14 01:42:55 +08:00
radim.karnis
395fcb0acc feat(write_flash): Prevent flashing incompatible images 2022-09-07 13:54:22 +02:00
radim.karnis
791a20bd55 feat(image_info): Image type autodetection 2022-08-18 10:26:44 +02:00
radim.karnis
220c63063a refactor: Remove future imports 2022-06-15 15:45:10 +02:00
radim.karnis
1b92e05ddf feat(image_info): Print flash settings and extended header
Closes https://github.com/espressif/esptool/issues/258
2022-06-15 13:48:44 +02:00