pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/py-esptool py-esptool: updated to 3.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c540b15a9d3e
branches:  trunk
changeset: 771299:c540b15a9d3e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 16 20:08:52 2021 +0000

description:
py-esptool: updated to 3.2

Version 3.2

New Features

Support for ESP32-S3 SoC has been added (removed ESP32-S3-beta3).
Added USB-JTAG-Serial and USB-CDC support for ESP32-S3.
Added a check to disable stub when connecting to an unsupported chip.
Added boot log detection and context of failures logging.
Improved error messages to cover more cases and provide more information.
Added get_security_info command stub support.
Augmented chip autodetection to work even in secure download mode. (ESP32-C3 and later only)
Added flash chip connection verification check.
Added ESP8266 version 3 image format support.
espsecure.py

Added option for 512bit keys for encrypt_flash_data.
espefuse.py

Added a new command which can execute custom python scripts to burn efuses all at once.
Added ESP32-S2 flash_ver, psram_ver, and pkg_ver efuses.
Corrected lenght of soft_dis_jtag efuse.
Added custom_mac eFuse field for ESP32-C3/-S2/-S3/-H2.
Added a check for read_protect_efuse.
Added support for 512bit XTS_AES flash encryption key.
Added a step to close the serial port after espefuse operations.
Added a security confirmation flag to espefuse tests.

Internal features

These features are intended for use inside Espressif:

Preview support for ESP32-H2 and ESP8684 has been added. These SoCs are not generally available, so they are unsupported in this release. Official support will be added in a later esptool release.
Added automatic delay for boot time after ESP32 reset in FPGA.

Bug Fixes

Fixed build from sources (require wheel only when installing from pip).
Fixed failing flashing process on some supported chips.
Fixed ESP32-C3 package detection.
Fixed test child processes being blocked waiting for the OS pipe buffer to accept more data.
Fixed MacOS USB PID detection on tty and cu ports.
Fixed erroneous comparison when handling deflated data.

Miscellaneous Changes

Changed unnecessarily alarming error to a warning.
Removed ESP32 rev0 connection workaround.
Added a readable error and a use example to merge_bin.

diffstat:

 comms/py-esptool/Makefile |   5 ++---
 comms/py-esptool/PLIST    |  47 +++++++++++++++++++++++++++++++----------------
 comms/py-esptool/distinfo |   8 ++++----
 3 files changed, 37 insertions(+), 23 deletions(-)

diffs (108 lines):

diff -r 6ec4796b403f -r c540b15a9d3e comms/py-esptool/Makefile
--- a/comms/py-esptool/Makefile Thu Dec 16 19:12:25 2021 +0000
+++ b/comms/py-esptool/Makefile Thu Dec 16 20:08:52 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2021/09/21 23:26:02 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2021/12/16 20:08:52 adam Exp $
 
-DISTNAME=      esptool-3.1
+DISTNAME=      esptool-3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    comms python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/esptool/}
@@ -11,7 +11,6 @@
 LICENSE=       gnu-gpl-v2
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-
 DEPENDS+=      ${PYPKGPREFIX}-bitstring>=3.1.6:../../devel/py-bitstring
 DEPENDS+=      ${PYPKGPREFIX}-cryptography>=2.1.4:../../security/py-cryptography
 DEPENDS+=      ${PYPKGPREFIX}-ecdsa>=0.16.0:../../security/py-ecdsa
diff -r 6ec4796b403f -r c540b15a9d3e comms/py-esptool/PLIST
--- a/comms/py-esptool/PLIST    Thu Dec 16 19:12:25 2021 +0000
+++ b/comms/py-esptool/PLIST    Thu Dec 16 20:08:52 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2021/09/09 08:04:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/12/16 20:08:52 adam Exp $
 bin/espefuse.py
 bin/espsecure.py
 bin/esptool.py
@@ -55,6 +55,21 @@
 ${PYSITELIB}/espressif/efuse/esp32c3/operations.py
 ${PYSITELIB}/espressif/efuse/esp32c3/operations.pyc
 ${PYSITELIB}/espressif/efuse/esp32c3/operations.pyo
+${PYSITELIB}/espressif/efuse/esp32h2/__init__.py
+${PYSITELIB}/espressif/efuse/esp32h2/__init__.pyc
+${PYSITELIB}/espressif/efuse/esp32h2/__init__.pyo
+${PYSITELIB}/espressif/efuse/esp32h2/emulate_efuse_controller.py
+${PYSITELIB}/espressif/efuse/esp32h2/emulate_efuse_controller.pyc
+${PYSITELIB}/espressif/efuse/esp32h2/emulate_efuse_controller.pyo
+${PYSITELIB}/espressif/efuse/esp32h2/fields.py
+${PYSITELIB}/espressif/efuse/esp32h2/fields.pyc
+${PYSITELIB}/espressif/efuse/esp32h2/fields.pyo
+${PYSITELIB}/espressif/efuse/esp32h2/mem_definition.py
+${PYSITELIB}/espressif/efuse/esp32h2/mem_definition.pyc
+${PYSITELIB}/espressif/efuse/esp32h2/mem_definition.pyo
+${PYSITELIB}/espressif/efuse/esp32h2/operations.py
+${PYSITELIB}/espressif/efuse/esp32h2/operations.pyc
+${PYSITELIB}/espressif/efuse/esp32h2/operations.pyo
 ${PYSITELIB}/espressif/efuse/esp32s2/__init__.py
 ${PYSITELIB}/espressif/efuse/esp32s2/__init__.pyc
 ${PYSITELIB}/espressif/efuse/esp32s2/__init__.pyo
@@ -70,6 +85,21 @@
 ${PYSITELIB}/espressif/efuse/esp32s2/operations.py
 ${PYSITELIB}/espressif/efuse/esp32s2/operations.pyc
 ${PYSITELIB}/espressif/efuse/esp32s2/operations.pyo
+${PYSITELIB}/espressif/efuse/esp32s3/__init__.py
+${PYSITELIB}/espressif/efuse/esp32s3/__init__.pyc
+${PYSITELIB}/espressif/efuse/esp32s3/__init__.pyo
+${PYSITELIB}/espressif/efuse/esp32s3/emulate_efuse_controller.py
+${PYSITELIB}/espressif/efuse/esp32s3/emulate_efuse_controller.pyc
+${PYSITELIB}/espressif/efuse/esp32s3/emulate_efuse_controller.pyo
+${PYSITELIB}/espressif/efuse/esp32s3/fields.py
+${PYSITELIB}/espressif/efuse/esp32s3/fields.pyc
+${PYSITELIB}/espressif/efuse/esp32s3/fields.pyo
+${PYSITELIB}/espressif/efuse/esp32s3/mem_definition.py
+${PYSITELIB}/espressif/efuse/esp32s3/mem_definition.pyc
+${PYSITELIB}/espressif/efuse/esp32s3/mem_definition.pyo
+${PYSITELIB}/espressif/efuse/esp32s3/operations.py
+${PYSITELIB}/espressif/efuse/esp32s3/operations.pyc
+${PYSITELIB}/espressif/efuse/esp32s3/operations.pyo
 ${PYSITELIB}/espressif/efuse/esp32s3beta2/__init__.py
 ${PYSITELIB}/espressif/efuse/esp32s3beta2/__init__.pyc
 ${PYSITELIB}/espressif/efuse/esp32s3beta2/__init__.pyo
@@ -85,21 +115,6 @@
 ${PYSITELIB}/espressif/efuse/esp32s3beta2/operations.py
 ${PYSITELIB}/espressif/efuse/esp32s3beta2/operations.pyc
 ${PYSITELIB}/espressif/efuse/esp32s3beta2/operations.pyo
-${PYSITELIB}/espressif/efuse/esp32s3beta3/__init__.py
-${PYSITELIB}/espressif/efuse/esp32s3beta3/__init__.pyc
-${PYSITELIB}/espressif/efuse/esp32s3beta3/__init__.pyo
-${PYSITELIB}/espressif/efuse/esp32s3beta3/emulate_efuse_controller.py
-${PYSITELIB}/espressif/efuse/esp32s3beta3/emulate_efuse_controller.pyc
-${PYSITELIB}/espressif/efuse/esp32s3beta3/emulate_efuse_controller.pyo
-${PYSITELIB}/espressif/efuse/esp32s3beta3/fields.py
-${PYSITELIB}/espressif/efuse/esp32s3beta3/fields.pyc
-${PYSITELIB}/espressif/efuse/esp32s3beta3/fields.pyo
-${PYSITELIB}/espressif/efuse/esp32s3beta3/mem_definition.py
-${PYSITELIB}/espressif/efuse/esp32s3beta3/mem_definition.pyc
-${PYSITELIB}/espressif/efuse/esp32s3beta3/mem_definition.pyo
-${PYSITELIB}/espressif/efuse/esp32s3beta3/operations.py
-${PYSITELIB}/espressif/efuse/esp32s3beta3/operations.pyc
-${PYSITELIB}/espressif/efuse/esp32s3beta3/operations.pyo
 ${PYSITELIB}/espressif/efuse/mem_definition_base.py
 ${PYSITELIB}/espressif/efuse/mem_definition_base.pyc
 ${PYSITELIB}/espressif/efuse/mem_definition_base.pyo
diff -r 6ec4796b403f -r c540b15a9d3e comms/py-esptool/distinfo
--- a/comms/py-esptool/distinfo Thu Dec 16 19:12:25 2021 +0000
+++ b/comms/py-esptool/distinfo Thu Dec 16 20:08:52 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:06:04 nia Exp $
+$NetBSD: distinfo,v 1.7 2021/12/16 20:08:52 adam Exp $
 
-BLAKE2s (esptool-3.1.tar.gz) = 9f9d882be77a74b9f4c68a846240c3d4494aaef6da1d79c426add8054de18d9e
-SHA512 (esptool-3.1.tar.gz) = c8c360213911125244d8e9c5460a82a026545b5e09a518ca92af4e3155770ed2333169aa64a4ff7df38519be7074f040b03685f231fd7a6e617ba5e1b6ee6913
-Size (esptool-3.1.tar.gz) = 175268 bytes
+BLAKE2s (esptool-3.2.tar.gz) = 1fc683d4626071ac5c33124ffcfdcdb5cadf814083b5bb088f7be7dc265edeaf
+SHA512 (esptool-3.2.tar.gz) = 9a3c18419f0af9ae479d5574b2240c94fe2a015b898631e6980413c3bfdde89dcc3ba5d46dbac91ea377b32257d23a195ea2753d56073427d0862cd8b0a2d8f3
+Size (esptool-3.2.tar.gz) = 206131 bytes



Home | Main Index | Thread Index | Old Index