forked from pool/python-esptool
- update to 4.8.1:
* Add esp32c2 eco4 rom magic value
* Correctly exclude the unwanted sub/modules
* Supports wafer efuse versions for esp32c61
* add new command SFDP read
* Add option to retry connection in a loop
* Updates efuse table for esp32c5
* Updates efuse table for esp32p4
* Added stub flasher support
* add autocompletions
* allow picking UART by VID/PID/Name
* Add USB-serial/JTAG stub support
* Add UART stub support
* Print key_purpose name for get_security_info cmd
* Adds support extend efuse table by user CSV
file* separated(default) and united(new)
* Adds incompatible eFuse settings check for S3
* Apply reconnections to the whole reset sequence,
not line transitions
* Automatically reconnect if port disconnects during reset
* Add ECO1 magic number
* Add support for secure boot v2 using
ECDSA-P384 signatures
* retry flashing if chip disconnects
* Allow filtering efuses based on command line arguments
* Enable context manager for esp instances
* Added check for correctness of written data
* Improves help for burn_efuse cmd
* clear boot control register on hard reset
* add spi-connection restriction to ROM class
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-esptool?expand=0&rev=28
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:da68c175e4ae3fd9d87469b7ef1b8429cd84a8f8a2d22c96273640d329e68c1d
|
||||
size 7045501
|
||||
3
esptool-4.8.1.tar.gz
Normal file
3
esptool-4.8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17e6332ef1c361f97d8ca572a48c19b102172515fe553ea466e9da71d3292522
|
||||
size 6933695
|
||||
@@ -1,3 +1,60 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 30 09:40:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 4.8.1:
|
||||
* Add esp32c2 eco4 rom magic value
|
||||
* Correctly exclude the unwanted sub/modules
|
||||
* Supports wafer efuse versions for esp32c61
|
||||
* add new command SFDP read
|
||||
* Add option to retry connection in a loop
|
||||
* Updates efuse table for esp32c5
|
||||
* Updates efuse table for esp32p4
|
||||
* Added stub flasher support
|
||||
* add autocompletions
|
||||
* allow picking UART by VID/PID/Name
|
||||
* Add USB-serial/JTAG stub support
|
||||
* Add UART stub support
|
||||
* Print key_purpose name for get_security_info cmd
|
||||
* Adds support extend efuse table by user CSV
|
||||
file* separated(default) and united(new)
|
||||
* Adds incompatible eFuse settings check for S3
|
||||
* Apply reconnections to the whole reset sequence,
|
||||
not line transitions
|
||||
* Automatically reconnect if port disconnects during reset
|
||||
* Add ECO1 magic number
|
||||
* Add support for secure boot v2 using
|
||||
ECDSA-P384 signatures
|
||||
* retry flashing if chip disconnects
|
||||
* Allow filtering efuses based on command line arguments
|
||||
* Enable context manager for esp instances
|
||||
* Added check for correctness of written data
|
||||
* Improves help for burn_efuse cmd
|
||||
* clear boot control register on hard reset
|
||||
* add spi-connection restriction to ROM class
|
||||
* add UF2 IDs for ESP32-C5 and ESP32-C61
|
||||
* Updates efuses for C5 and C61
|
||||
* add c61 basic flash support (no_stub)
|
||||
* skipped the stub check for esp32c5 mp
|
||||
* base support of esp32c5 mp (no stub)
|
||||
* Added warning when secure boot enabled
|
||||
* Recalculated SHA digest for image binary
|
||||
* print flash voltage in flash_id command
|
||||
* Adds wafer and pkg versions
|
||||
* Update adc_info commands for all chips
|
||||
* Adds new efuses for esp32p4
|
||||
* Allow the espefuse.py to work when coding
|
||||
scheme == 3
|
||||
* Add ROM bootloader flash error definitions
|
||||
* Use ruff instead of flake8 and black both in pre-commit and
|
||||
CI
|
||||
* Enable USB-serial/JTAG in flasher stub
|
||||
* Postpone some efuses to burn them at the very end
|
||||
* add advisory port locking
|
||||
* check_error --recover chip even if there are num_errors
|
||||
* Adds new efuses for esp32c6 and esp32h2
|
||||
* add target esp32c5 beta3
|
||||
* Bug Fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 14 15:14:39 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -18,22 +18,26 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-esptool
|
||||
Version: 4.7.0
|
||||
Version: 4.8.1
|
||||
Release: 0
|
||||
Summary: A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/espressif/esptool
|
||||
Source: https://github.com/espressif/esptool/archive/v%{version}.tar.gz#/esptool-%{version}.tar.gz
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module bitstring >= 3.1.6}
|
||||
BuildRequires: %{python_module ecdsa >= 0.16.0}
|
||||
BuildRequires: %{python_module intelhex}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pyelftools}
|
||||
BuildRequires: %{python_module pyserial >= 3.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module reedsolo >= 1.5.3}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: openssl
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -59,13 +63,12 @@ Allows flashing firmware, reading back firmware, querying chip parameters, etc.
|
||||
|
||||
%prep
|
||||
%setup -q -n esptool-%{version}
|
||||
sed -i '/^#!/d' flasher_stub/*.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/espefuse.py
|
||||
%python_clone -a %{buildroot}%{_bindir}/espsecure.py
|
||||
%python_clone -a %{buildroot}%{_bindir}/esptool.py
|
||||
@@ -76,7 +79,9 @@ sed -i '/^#!/d' flasher_stub/*.py
|
||||
%check
|
||||
# there are more tests but upstream runs only those in .travis.yml
|
||||
%pytest test/test_imagegen.py
|
||||
%pytest test/test_espsecure.py
|
||||
# requires python-pkcs11 which isn't packaged
|
||||
rm -v test/test_espsecure.py test/test_espsecure_hsm.py
|
||||
%pytest -m host_test
|
||||
|
||||
%post
|
||||
%python_install_alternative espefuse.py
|
||||
@@ -97,8 +102,9 @@ sed -i '/^#!/d' flasher_stub/*.py
|
||||
%python_alternative %{_bindir}/espsecure.py
|
||||
%python_alternative %{_bindir}/espefuse.py
|
||||
%python_alternative %{_bindir}/esp_rfc2217_server.py
|
||||
%{python_sitelib}/esptool-%{version}-*egg-info
|
||||
%{python_sitelib}/esptool-%{version}.dist-info
|
||||
%{python_sitelib}/esptool
|
||||
%{python_sitelib}/esp_rfc2217_server
|
||||
%{python_sitelib}/espsecure
|
||||
%{python_sitelib}/espefuse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user