15
0

Accepting request 1185698 from devel:languages:python

- Clean up SPEC file.
- update to 4.7.0:
  New Features
    * spi_connection: Support --spi-connection on all chips, allowing connection of an external flash
    * esp32-s3: Support >16MB quad flash chips
    * bin_images: add support for intel hex format images
    * merge_bin: add support for uf2 format
    * esptool: added esp32p4 target
    * esp32p4: Stub flasher support
    * espefuse: Support XTS_AES_256_KEY key_purpose for ESP32P4
    * xip_psram: support xip psram feature on esp32p4
    * elf2image: add ram-only-header argument
    * rfc2217_server: Add hard reset sequence
    * espefuse: Adds efuse ADC calibration data for ESP32H2
    * espefuse: Update the way to complete the operation
    * add support for get_security_info on esp32c3 ECO7
    * loader: Added hints for some serial port issues when rising port error
    * Add support for Python 3.12
    * esp32c3: Support ECO6 and ECO7 magic numbers
    * efuse: Update key purpose table and tests
    * efuse: ESP32P4 adds ecdsa_key support
    * espefuse: Add support for esp32p4 chip
    * espsecure: Allow prompting for HSM PIN in read_hsm_config
    * esptool: Add new packages for ESP32C3 and flash efuses
    * esptool: Add tests for get_chip_features
    * esptool: Add PICO package for ESP32S3 and flash/psram efuses
    * get_security_info: Improved the output format and added more details
   Bug Fixes
    * flasher_stub: fix usb-serial-jtag enabled non-related intr source, improved stability
    * esp32c2: Added get_flash_cap and get_flash_vendor
    * testloadram: Windows assertion error
    * fixed exit() to be used from the correct module
    * esp32c2: Recommend using higher baud rate if connection fails
    * test_esptool: Fixed connection issues on Windows
    * esptool: Rephrase the --ram-only-header command message
    * load_ram: check for overlaps in bss section
    * tests/intelhex: make sure file is closed on Windows
    * spi_connection: Unattach previously attached SPI flash
    * espefuse: Fix ECDSA_FORCE_USE_HARDWARE_K for ECDSA key (esp32h2)
    * loader: Could not open serial port message adjusted
    * bin_image: Check only ELF sections when searching for .flash.appdesc
    * Fix redirection of STDOUT
    * autodetection: Remove the ESP32-S2 ROM class from get_security_info autodetection
    * elf2image: fix text/rodata mapping overlap issue on uni-idrom bus chips
    * expand file args: Correctly print the expanded command
    * esp32-c2: Enable flashing in secure download mode

OBS-URL: https://build.opensuse.org/request/show/1185698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-esptool?expand=0&rev=12
This commit is contained in:
2024-07-19 13:26:14 +00:00
committed by Git OBS Bridge
4 changed files with 70 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8805a91410abe4aad4078c06eb71b9ee918044f2729e6a186d72ff7458a9d10
size 7003860

3
esptool-4.7.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da68c175e4ae3fd9d87469b7ef1b8429cd84a8f8a2d22c96273640d329e68c1d
size 7045501

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Thu Jul 4 23:25:10 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Clean up SPEC file.
-------------------------------------------------------------------
Thu Jul 4 18:22:41 UTC 2024 - Adrian Schröter <adrian@suse.de>
- update to 4.7.0:
New Features
* spi_connection: Support --spi-connection on all chips, allowing connection of an external flash
* esp32-s3: Support >16MB quad flash chips
* bin_images: add support for intel hex format images
* merge_bin: add support for uf2 format
* esptool: added esp32p4 target
* esp32p4: Stub flasher support
* espefuse: Support XTS_AES_256_KEY key_purpose for ESP32P4
* xip_psram: support xip psram feature on esp32p4
* elf2image: add ram-only-header argument
* rfc2217_server: Add hard reset sequence
* espefuse: Adds efuse ADC calibration data for ESP32H2
* espefuse: Update the way to complete the operation
* add support for get_security_info on esp32c3 ECO7
* loader: Added hints for some serial port issues when rising port error
* Add support for Python 3.12
* esp32c3: Support ECO6 and ECO7 magic numbers
* efuse: Update key purpose table and tests
* efuse: ESP32P4 adds ecdsa_key support
* espefuse: Add support for esp32p4 chip
* espsecure: Allow prompting for HSM PIN in read_hsm_config
* esptool: Add new packages for ESP32C3 and flash efuses
* esptool: Add tests for get_chip_features
* esptool: Add PICO package for ESP32S3 and flash/psram efuses
* get_security_info: Improved the output format and added more details
Bug Fixes
* flasher_stub: fix usb-serial-jtag enabled non-related intr source, improved stability
* esp32c2: Added get_flash_cap and get_flash_vendor
* testloadram: Windows assertion error
* fixed exit() to be used from the correct module
* esp32c2: Recommend using higher baud rate if connection fails
* test_esptool: Fixed connection issues on Windows
* esptool: Rephrase the --ram-only-header command message
* load_ram: check for overlaps in bss section
* tests/intelhex: make sure file is closed on Windows
* spi_connection: Unattach previously attached SPI flash
* espefuse: Fix ECDSA_FORCE_USE_HARDWARE_K for ECDSA key (esp32h2)
* loader: Could not open serial port message adjusted
* bin_image: Check only ELF sections when searching for .flash.appdesc
* Fix redirection of STDOUT
* autodetection: Remove the ESP32-S2 ROM class from get_security_info autodetection
* elf2image: fix text/rodata mapping overlap issue on uni-idrom bus chips
* expand file args: Correctly print the expanded command
* esp32-c2: Enable flashing in secure download mode
-------------------------------------------------------------------
Tue Jun 20 16:13:33 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-esptool
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-esptool
Version: 4.6.2
Version: 4.7.0
Release: 0
Summary: A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips
License: GPL-2.0-or-later
@@ -27,24 +27,28 @@ Source: https://github.com/espressif/esptool/archive/v%{version}.tar.gz#
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module bitstring >= 3.1.6}
BuildRequires: %{python_module ecdsa >= 0.16.0}
BuildRequires: %{python_module pyaes}
BuildRequires: %{python_module intelhex}
BuildRequires: %{python_module pyelftools}
BuildRequires: %{python_module pyserial >= 3.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module reedsolo >= 1.5.3}
BuildRequires: %{python_module setuptools}
%if 0%{?python_version_nodots} < 37
BuildRequires: %{python_module cryptography}
%endif
BuildRequires: fdupes
BuildRequires: openssl
BuildRequires: python-rpm-macros
Requires: python-PyYAML >= 5.1
Requires: python-bitstring >= 3.1.6
Requires: python-cryptography >= 2.1.4
Requires: python-ecdsa >= 0.16.0
Requires: python-pyaes
Requires: python-intelhex
Requires: python-pyserial >= 3.0
Requires: python-reedsolo >= 1.5.3
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%if 0%{?python_version_nodots} < 37
BuildRequires: %{python_module cryptography}
%endif
%python_subpackages
%description
@@ -66,6 +70,7 @@ sed -i '/^#!/d' flasher_stub/*.py
%python_clone -a %{buildroot}%{_bindir}/esptool.py
%python_clone -a %{buildroot}%{_bindir}/esp_rfc2217_server.py
%python_expand rm -rf %{buildroot}%{$python_sitelib}/__pycache__/*.pyc
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# there are more tests but upstream runs only those in .travis.yml