130 Commits

Author SHA1 Message Date
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
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
Konstantin Kondrashov
40f103cd38 feat(espefuse): Support ESP32-P4 ECO5 (v3.0) 2025-09-12 10:44:43 +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
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
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
Fu Hanxi
d8ae230e97 fix: stop exit 0 when being called programmatically 2025-08-05 16:08:29 +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
Peter Dragun
524825e25f fix: Fix compatibility with Click 8.2.0+
Closes https://github.com/espressif/esptool/issues/1105
Closes https://github.com/espressif/esptool/pull/1104
2025-07-25 14:33:53 +02:00
Peter Dragun
0f32306551 fix(espefuse): Handle error in burn-efuse command when no arguments are provided 2025-07-25 08:37:49 +02:00
Peter Dragun
9cb4e7de81 change: Fix autocomplete for espefuse 2025-06-26 20:01:46 +02:00
Radim Karniš
983338fbf3 feat(espefuse): Use the esptool logger, more concise messages 2025-06-26 11:19:55 +02:00
Peter Dragun
e9f03aeb44 docs: Remove .py suffix from tool names 2025-06-24 14:22:28 +02:00
Peter Dragun
635cde1ef0 feat: Remove .py suffix from scripts
BREAKING CHANGE:
- The .py suffix is deprecated for the following scripts:
  - esptool
  - espefuse
  - espsecure
  - esp_rfc2217_server
2025-06-24 14:22:28 +02:00
Peter Dragun
ff72b26bf3 feat(espefuse): Replace execute-scripts with public API
BREAKING CHANGE:
- execute-scripts command is removed
2025-06-16 16:23:27 +02:00
Peter Dragun
d7da0f8a45 feat(espefuse): Add public API for espefuse 2025-06-13 10:24:52 +02:00
Peter Dragun
89e8dd05b5 change: Repeat read commands if changed with burn commands 2025-06-04 16:45:49 +02:00
Peter Dragun
ade3088953 feat(espefuse): Rename all commands to use dashes and add tests for deprecated commands 2025-06-04 16:45:49 +02:00
Peter Dragun
a45d824c7f change: make --show-sensitive-info work with click
show-sensitive-info is now shared between all commands
even if the argument was added to a last command.
2025-06-04 16:45:49 +02:00
Peter Dragun
0a2ea691cc feat(espefuse): Add support for chaining commands with click parser 2025-06-04 16:45:49 +02:00
Peter Dragun
aa800018ef feat(espefuse): Refactor CLI and use click for parsing arguments 2025-06-04 16:45:49 +02:00
Konstantin Kondrashov
9104038d00 feat(espefuse): Adds efuse calculation fields for ESP32-C5 2025-06-04 12:47:34 +02:00
Konstantin Kondrashov
c1025103a7 feat(espefuse): Adds 3-bit field for wafer major version in ESP32-P4 2025-06-04 12:44:07 +03:00
Konstantin Kondrashov
61464101c6 feat(efuse): Adds efuses for ESP32-C61 ECO3 2025-05-21 13:23:36 +02:00
Konstantin Kondrashov
37267268e4 feat(espefuse): Support efuse for ESP32-C5 ECO2 (v1.0) 2025-05-12 18:11:43 +08:00
Peter Dragun
daaedf88a7 fix(espefuse): Fix output messages for set_flash_voltage 2025-05-07 19:37:39 +08:00
Radim Karniš
e132f6f761 feat(espsecure): Drop ecdsa module, use cryptography instead 2025-04-22 22:20:07 +08:00
Jan Beran
78535e4324 fix(espefuse): JTAG_SEL_ENABLE has GPIO34 strapping pin for ESP32P4
Closes: https://github.com/espressif/esptool/issues/1078
2025-04-15 16:52:00 +08:00
Peter Dragun
851919f634 feat: Rename reset modes to use dash instead of underscore 2025-03-27 08:24:31 +01:00
Stevan Stevic
807d02b0c5 fix: Close the data file after reading the data
Closes https://github.com/espressif/esptool/pull/1074
2025-03-24 18:02:05 +01:00
Peter Dragun
d40fefa275 feat(cli): Add click-based CLI interface 2025-02-27 11:54:02 +01:00
Radim Karniš
0bca5501cf fix(lint): Correct type annotations issues reported by mypy 2025-02-24 15:04:23 +01:00
Peter Dragun
2e4e77cde2 change: fix issues reported by ruff linter 2025-02-24 10:10:22 +01:00
Konstantin Kondrashov
3da8c57d09 feat(espefuse): Updates esp32h4 efuse table and fixes tests
- Added esp32h4 efuse table
- Fixed h4 test
- Enabled some tests for p4 chip.
2025-02-22 02:09:53 +08:00
Chen Jichang
bcf5c6e396 feat(esp32h4): add ESP32H4 esptool support 2025-02-22 02:09:53 +08:00
Radim Karniš
5176b67453 fix(logging): Avoid crashes when flushing if sys.stdout is not available
Closes https://github.com/espressif/esptool/pull/1064

Closes https://github.com/espressif/esptool/issues/1063
2025-02-11 11:55:08 +01:00
Radim Karniš
8f1c206675 remove(beta_targets): Removed support for beta chip targets
BREAKING CHANGE
2025-01-29 10:57:28 +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
Konstantin Kondrashov
4e922fe95a feat(espefuse): Clean up efuse code for ESP32H2 2024-12-27 17:31:59 +02:00
Konstantin Kondrashov
d51ecbe35d feat(espefuse): Support different efuse table versions for ESP32H2 2024-12-27 17:31:59 +02:00
Konstantin Kondrashov
9b74df6506 feat(espefuse): Adds efuses for esp32h2 eco5 2024-12-27 17:31:59 +02:00
gaoxu
92ceff27a5 feat(esp32h21): add ESP32H21 esptool support 2024-12-26 14:16:10 +08:00
Roland Dobai
de1d1ce2a8 docs(espefuse): Fixed JTAG strapping pin for ESP32-S3 in the help and documentation
Closes https://github.com/espressif/esptool/issues/1037
2024-12-02 10:23:14 +01:00
Konstantin Kondrashov
ab2e0bf8d6 feat(espefuse): Adds 3 bit for PSRAM_CAP efuse field 2024-11-05 20:02:52 +08:00
Konstantin Kondrashov
111c6c03db feat(espefuse): Adds API for getting block and wafer versions 2024-11-04 16:22:13 +08:00
Konstantin Kondrashov
36d9735c8d feat(espefuse): Adds ADC calibration data for ESP32-C61 2024-11-04 16:22:13 +08:00