Jaroslav Burian
ec84fba6cd
feat: Improve ports sorting when autodetection is used
...
Closes https://github.com/espressif/esptool/issues/1124
2025-10-13 12:44:54 +02:00
harshal.patil
aa1b04a312
feat(write_flash): Allow encrypted writes using key from the Key Manager
2025-10-13 09:29:19 +02:00
pre-commit-ci[bot]
944e56ae38
ci: Bump pre-commit hooks
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.6...v0.13.3 )
- [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.15.0...v1.18.2 )
2025-10-06 19:27:06 +00:00
Peter Dragun
fa975910f0
fix(windows): Limit rich_click version to <1.9.0
...
There seems to be an issue with rich_click version 1.9.0 on Windows.
GH actions builds are failing because of this on encoding errors.
2025-10-03 14:23:59 +02:00
Jaroslav Safka
1b37d3d758
docs(esp32h4): Add ESP32-H4 documentation
2025-09-30 15:10:32 +02:00
Jaroslav Safka
cacc180f9e
docs(esp32h21): Add documentation for ESP32-H21
2025-09-29 13:48:15 +02:00
Konstantin Kondrashov
a1ca6c9c4a
fix(espefuse): Fix calibration efuses for ESP32-P4 ECO5
2025-09-26 15:02:54 +02:00
Konstantin Kondrashov
ae23ab254d
fix(espefuse): Fix ECDSA key purposes for ESP32-P4
2025-09-26 15:02:54 +02:00
harshal.patil
1f9c5e92ee
test(espsecure): Use CLI interface instead of direct API calls of espsecure
2025-09-23 17:35:47 +05:30
harshal.patil
ee35dda699
fix(espsecure): Fixed the keyfile arg of the sign-data command by making it optional
2025-09-23 17:35:22 +05:30
harshal.patil
568b3bb16f
test(espsecure): Add details for generating the files present in secure_images
2025-09-22 15:03:25 +05:30
harshal.patil
9a207b1fd9
fix(espsecure): Allow verifying multiple appended ECDSA signatures
...
- Also extend espsecure's test coverage
Closes https://github.com/espressif/esptool/issues/1120
2025-09-16 11:08:14 +05:30
Radim Karniš
70afbaabee
change: Update version to 5.1.0
v5.1.0
2025-09-15 19:42:16 +02:00
Peter Dragun
2ae5535671
fix(espefuse): Update CLI to support rich-click 1.9.0
...
https://github.com/espressif/esptool/pull/1121
2025-09-15 16:51:15 +02:00
Jaroslav Safka
bb8cd9bc71
docs: bump up esp_docs to 2.1
...
It will pull sphinx>=6.2.0 which is compatible with python 13
and the imghdr dependency can be removed
2025-09-15 08:58:24 +02:00
Konstantin Kondrashov
40f103cd38
feat(espefuse): Support ESP32-P4 ECO5 (v3.0)
2025-09-12 10:44:43 +02:00
Jaroslav Safka
8f21f43e6d
test(esp32p4): Fix memory tests for ECO5 revision
...
* Use different address to read/write register
2025-09-12 09:17:03 +02:00
Jaroslav Safka
6c10050fd3
feat(esp32p4): Add support for ESP32-P4.ECO5
...
* Update memory pointing to Uart
* Add esp32p4rc1.json
* Update esp32p4.json
* Bump up flasher_stubs to 1.8.0
2025-09-12 09:17:03 +02:00
Radim Karniš
7e535968f5
fix(espsecure): Fix printing key digest in signature info
2025-09-11 09:57:46 +02:00
Konstantin Kondrashov
a160468d0f
fix(espefuse): Fixes re-connection issue in check-error via UJS port
2025-09-10 13:14:30 +02:00
Jaroslav Safka
d19413cc99
fix(write_flash): Make write flash mem independent
...
* Remove reading of magic register to avoid issues with different memory layouts.
2025-09-09 11:30:17 +02:00
Jaroslav Safka
528f60525f
docs: Add chip type detection explanation
2025-09-03 12:56:41 +02:00
Jaroslav Safka
929ae7908f
change(docs): Add dependency standard-imghdr
...
* Update docker image to python:3.13-bookworm to drop deprecated imghdr and replace
it by standard-imghdr.
2025-09-03 10:03:15 +02:00
Radim Karniš
cd2c98e995
docs(set_flash_voltage): Disable for non-related chips
2025-09-02 10:41:08 +02:00
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
Jaroslav Burian
da4346b86e
fix: Use correct error codes for ROM errors
...
Error codes sent from the ROM bootloader were incorrectly mapped in the code
and some were missing in the documentation.
2025-08-29 14:21:22 +02:00
Peter Dragun
f05fb6207f
fix: Handle deprecated options with "=" before value
2025-08-22 12:37:23 +02:00
Peter Dragun
6cfced81f9
fix(espsecure): Extract public key version 1 in RAW format
2025-08-22 12:37:23 +02:00
Peter Dragun
0177d611ac
fix(espsecure): Allow signing multiple files in one go
2025-08-22 12:37:23 +02:00
Peter Dragun
66a137738e
fix(elf2image): Fix --pad-to-size argument parsing
2025-08-22 12:36:50 +02:00
Jaroslav Safka
0f0070ba3d
ci: use pre-commit.ci service for linting
2025-08-21 09:08:38 +02:00
Jaroslav Burian
1c82219d90
ci: Add ESP32-C5 32MB target test
2025-08-19 16:14:43 +02:00
Jaroslav Burian
069830d83c
test: Fix test_watchdog_reset for newer revisions of ESP32-C5
...
When verify_output is called in test_watchdog_reset, it read only 100
characters which was not enough to check if correct message was printed
2025-08-19 16:14:43 +02:00
harshal.patil
c85a93dc0c
fix(espefuse): Disable programming and usage of XTS-AES-256 efuse key for ESP32-C5
2025-08-18 16:52:19 +05:30
Roland Dobai
a510446628
change: ignore pyupgrade refactoring commit
2025-08-14 16:02:02 +02:00
copilot-swe-agent[bot]
206970acf8
refactor: set up and apply pyupgrade ruff rules
...
Closes https://github.com/espressif/esptool/issues/1115
Closes https://github.com/espressif/esptool/pull/1116
2025-08-14 16:01:17 +02:00
copilot-swe-agent[bot]
6bc84f29ce
ci(github): publish releases with pypa/gh-action-pypi-publish
2025-08-13 11:45:34 +02:00
copilot-swe-agent[bot]
2cd044bf9b
ci(github): add copilot instructions
2025-08-07 10:47:57 +02:00
Jaroslav Burian
d65a24e6d9
fix(esp32c5): Erase during flashing above 16MB
...
This commit updates stub version for ESP32-C5 to ensure that the erase operation
works correctly when flashing images larger than 16MB. This also adds test to
verify the fix.
v5.1.dev1
2025-08-06 16:43:23 +08:00
Peter Dragun
3ea646f0ab
fix(espsecure): Add support for python-pkcs11 9.0+
2025-08-06 09:15:52 +02:00
Fu Hanxi
d8ae230e97
fix: stop exit 0 when being called programmatically
2025-08-05 16:08:29 +02:00
Roland Dobai
8e2b94e671
feat(esp32c5): Add support for >16 MB flash sizes
2025-08-01 14:27:53 +02:00
Peter Dragun
64f577213b
ci(actions): Use new pyinstaller shared build action
2025-08-01 12:39:43 +02:00
Konstantin Kondrashov
c6ce0bc14d
feat(espefuse): Add custom key purposes for ESP32C6/C5/P4
2025-07-31 12:57:22 +02:00
Konstantin Kondrashov
4a9a3d8a54
feat(espefuse): Support burning ECDSA_384 keys
2025-07-31 11:17:11 +02:00
Konstantin Kondrashov
d63e3dbd07
feat(espefuse): Clean up limitation for BLOCK9 usage
2025-07-31 11:17:11 +02:00
Konstantin Kondrashov
468de5ce57
feat(espefuse): Adds support for burning 512-bit keys for C5
2025-07-31 11:17:11 +02:00
Radim Karniš
605c80b846
change: Update version to 5.0.2
v5.0.2
2025-07-30 15:52:49 +02:00
Radim Karniš
1f1ea9a29d
fix(esp32-c3): Disable flasher stub when Secure Boot is active
2025-07-30 11:36:58 +02:00
Radim Karniš
7ba285bb03
fix(esp32-s3): Allow stub flasher execution with active Secure Boot
2025-07-30 11:36:02 +02:00