diff --git a/esptool-4.7.0.tar.gz b/esptool-4.7.0.tar.gz deleted file mode 100644 index e862199..0000000 --- a/esptool-4.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da68c175e4ae3fd9d87469b7ef1b8429cd84a8f8a2d22c96273640d329e68c1d -size 7045501 diff --git a/esptool-4.8.1.tar.gz b/esptool-4.8.1.tar.gz new file mode 100644 index 0000000..bc2cce1 --- /dev/null +++ b/esptool-4.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17e6332ef1c361f97d8ca572a48c19b102172515fe553ea466e9da71d3292522 +size 6933695 diff --git a/python-esptool.changes b/python-esptool.changes index 4745fcd..ce68b27 100644 --- a/python-esptool.changes +++ b/python-esptool.changes @@ -1,3 +1,65 @@ +------------------------------------------------------------------- +Sat Nov 30 09:40:57 UTC 2024 - Dirk Müller + +- 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 + +- switch to modern python on sle15 + ------------------------------------------------------------------- Thu Jul 4 23:25:10 UTC 2024 - Matej Cepl @@ -112,7 +174,7 @@ Thu Apr 20 10:23:16 UTC 2023 - Torsten Gruner - Added target tests for ESP32-H2. - Reduced size of test images. - Added a custom host_test marker for the test suite to allow running tests without real hardware (#838). - + - version 4.5 * New Features - Configuration file: Added the option to configure internal variables @@ -152,7 +214,7 @@ Thu Apr 20 10:23:16 UTC 2023 - Torsten Gruner and comply with the Black 23.1 style. - Added target tests for all of the newly supported chips. - Updated the toolchains for stub flasher builds. - + -version 4.4 * New Features - flasher_stub: Increased read/write speeds over USB-JTAG/Serial or USB-OTG modes, making some operations nearly twice as fast. @@ -380,8 +442,8 @@ Mon Mar 2 16:39:21 UTC 2020 - Marketa Calabkova - Update to 2.8 * esptool.py image_info now prints a summary of segment memory types (IRAM, DRAM, etc) based on the address range. - * esptool.py write_flash will warn if it looks like a bootloader binary - is built for ESP32-S2 or another newer chip (support for flashing + * esptool.py write_flash will warn if it looks like a bootloader binary + is built for ESP32-S2 or another newer chip (support for flashing ESP32-S2 will be added in a future version.) * few bugfixes diff --git a/python-esptool.spec b/python-esptool.spec index 8bb8740..55837d0 100644 --- a/python-esptool.spec +++ b/python-esptool.spec @@ -16,23 +16,28 @@ # +%{?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 @@ -58,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 @@ -75,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 @@ -96,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