diff options
author | nightwalker-87 <15526941+Nightwalker-87@users.noreply.github.com> | 2025-04-19 16:27:22 +0200 |
---|---|---|
committer | nightwalker-87 <15526941+Nightwalker-87@users.noreply.github.com> | 2025-04-19 16:27:22 +0200 |
commit | 664f3d6a1fadcb3a51dd566f8cbc5d93bf44cc07 (patch) | |
tree | e6598fb1f5f56a4c782f2f7c262573e7d1f2fecc | |
parent | 913a744c363dca70a3799d56a9c1830d1d8e48f0 (diff) |
General project updateorigin/develop
- Updated system requirements
- Updated version_support
- Updated CHANGELOG
- Updated list of contributors
-rw-r--r-- | .github/workflows/c-cpp.yml | 27 | ||||
-rw-r--r-- | CHANGELOG.md | 20 | ||||
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | SECURITY.md | 1 | ||||
-rw-r--r-- | cmake/modules/cpack_config.cmake | 2 | ||||
-rw-r--r-- | contributors.txt | 160 | ||||
-rw-r--r-- | doc/version_support.md | 38 | ||||
-rw-r--r-- | src/stlink-lib/libusb_settings.h | 8 |
8 files changed, 61 insertions, 197 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 1516fa6..0b93da5 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -170,32 +170,6 @@ jobs: fail-fast: false matrix: config: - - name: Ubuntu20.04_x32 gcc9 - os : ubuntu-20.04 - cc : gcc-9 - cxx : g++-9 - packages: gcc-9-multilib g++-9-multilib - - - name: Ubuntu20.04_x32 gcc10 - os : ubuntu-20.04 - cc : gcc-10 - cxx : g++-10 - packages: gcc-10-multilib g++-10-multilib - - - name: Ubuntu20.04_x32 clang10 - os : ubuntu-20.04 - cc : clang-10 - cxx : clang++-10 - packages: gcc-9-multilib g++-9-multilib clang-10 - - - name: Ubuntu20.04_x32 clang12 - os : ubuntu-20.04 - cc : clang-12 - cxx : clang++-12 - packages: gcc-10-multilib g++-10-multilib clang-12 - - - - name: Ubuntu22.04_x32 gcc10 os: ubuntu-22.04 cc: gcc-10 @@ -245,7 +219,6 @@ jobs: packages: gcc-12-multilib g++-12-multilib clang-15 - - name: Ubuntu24.04_x32 gcc10 os: ubuntu-24.04 cc: gcc-10 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e8b85a..3b061ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,15 +2,15 @@ # v1.8.1 -Release date: 2025-03-xx +Release date: 2025-xx-xx This release drops support for some older operating systems. Check project README for details. Updated system requirements: - C-Standard: C17 (ISO/IEC 9899:2018) -- `cmake` >= 3.16.3 -- `libusb` >= 1.0.23 -- `libgtk-dev` >= 3.24.18 +- `cmake` >= 3.18.3 +- `libusb` >= 1.0.24 +- `libgtk-dev` >= 3.24.30 Features: @@ -24,8 +24,13 @@ Features: - [STM32U575/585]: Added support for OTP bytes ([#1419](https://github.com/stlink-org/stlink/pull/1419)) - [STM32Gx]: Added erase support for multi-bank products ([#1420](https://github.com/stlink-org/stlink/pull/1420)) - libusb-cmake as libusb provider and added support for MSVC ([#1424](https://github.com/stlink-org/stlink/pull/1424), [#1440](https://github.com/stlink-org/stlink/pull/1440)) +- Added support for STM32U073 ([#1436](https://github.com/stlink-org/stlink/pull/1436), commit [#11e357a](https://github.com/stlink-org/stlink/commit/11e357ae2a34c5f5911c0051fa513659b9bbd7fa)) - [STM32L4Q5CG]: Added support for device ([#1438](https://github.com/stlink-org/stlink/pull/1438), [#1439](https://github.com/stlink-org/stlink/pull/1439)) - +- Corrected and unified GitHub-Actions C/C++ CI workflow ([#1446](https://github.com/stlink-org/stlink/pull/1446), [#1449](https://github.com/stlink-org/stlink/pull/1449)) +- Make SYS_OPEN in semihosting recognize ":tt" ([#1447](https://github.com/stlink-org/stlink/pull/1447)) +- [STM32G4]: Erase pages on flash bank 2 ([#1456](https://github.com/stlink-org/stlink/pull/1456), [#1457](https://github.com/stlink-org/stlink/pull/1457)) +- STM32 flash type implementation for WB05, WB06/07, WB09, WL3x ([#1466](https://github.com/stlink-org/stlink/pull/1466)) + Updates & changes: - [stlink-lib] Clarified warning message for data alignment ([#1371](https://github.com/stlink-org/stlink/pull/1371), commit [#40ee5f4](https://github.com/stlink-org/stlink/commit/40ee5f4bd1151cec65f291f0166429b061c6e5c0)) @@ -33,6 +38,8 @@ Updates & changes: - Debian 11 x64 doesn't work with v1.8.0 because of incompatible glibc ([#1376](https://github.com/stlink-org/stlink/pull/1376), commit [#ece34ef](https://github.com/stlink-org/stlink/commit/ece34efbce579ca7d367c58f903ffa6dc7bd96e6)) - [STM32L4R5ZI]: gdb-multiarch uses wrong osabi ([#1386](https://github.com/stlink-org/stlink/pull/1386), [#1387](https://github.com/stlink-org/stlink/pull/1387), [#1394](https://github.com/stlink-org/stlink/pull/1394)) - [doc] STM32H573 reports chipid 0x000 ([#1398](https://github.com/stlink-org/stlink/pull/1398), commit [#3655871](https://github.com/stlink-org/stlink/commit/3655871f8dd97294bbee191c1c7341c8a129af2f)) +- [doc] Updated README.md ([#1453](https://github.com/stlink-org/stlink/pull/1453)) +- [doc] Corrected libusb package name in installation instructions ([#1455](https://github.com/stlink-org/stlink/pull/1455)) Fixes: @@ -46,11 +53,14 @@ Fixes: - Target reset is less reliable on testing branch ([#1409](https://github.com/stlink-org/stlink/pull/1409), commit [#733893a](https://github.com/stlink-org/stlink/commit/733893a50b1cc9323765a62c456c129ed6807886)) - Fixed STM32H7 option byte programming ([#1417](https://github.com/stlink-org/stlink/pull/1417)) - Latest release stlink-1.8.0-win32 doesn't run ([#1364](https://github.com/stlink-org/stlink/pull/1364), [#1410](https://github.com/stlink-org/stlink/pull/1410), commit [#e493109](https://github.com/stlink-org/stlink/commit/e4931097f887d8a048d1d188388b82ced918cf08)) +- Fixed STLINK-V3 programmer lock up when no target connected ([#1399](https://github.com/stlink-org/stlink/pull/1399), [#1467](https://github.com/stlink-org/stlink/pull/1467)) - Make path to .chip files relative to installation directory on Windows ([#1421](https://github.com/stlink-org/stlink/pull/1421)) - Re-add support for STM32F411xC/xE option bytes read/write ([#1422](https://github.com/stlink-org/stlink/pull/1422)) - Replaced deprecated cmd to fix package uninstall ([#1426](https://github.com/stlink-org/stlink/pull/1426)) - Fixed compilation error -Wshorten-64-to-32 in stlink-lib/usb.c ([#1427](https://github.com/stlink-org/stlink/pull/1427)) - st-util cannot parse -V and -F options and --freq option results in a segmentation fault ([#1428](https://github.com/stlink-org/stlink/pull/1428), [#1429](https://github.com/stlink-org/stlink/pull/1429)) +- st-util: $--freq parameter case sensitive in 1.8.0 but not on previous versions ([#1445](https://github.com/stlink-org/stlink/pull/1445), commit [#7900006](https://github.com/stlink-org/stlink/commit/7900006619ce22cb900151120f9aeebe022cd3ec)) +- [STM32F205]: st-flash broken due to introduced bug in stlink-lib/usb.c ([#1451](https://github.com/stlink-org/stlink/pull/1451), commit [#9446bf5](https://github.com/stlink-org/stlink/commit/9446bf570d23f2c1329abd313ae81197b4df4210)) # v1.8.0 diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a55c06..e13760d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # General cmake settings ### -cmake_minimum_required(VERSION 3.16.3) +cmake_minimum_required(VERSION 3.18.3) cmake_policy(SET CMP0042 NEW) set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) diff --git a/SECURITY.md b/SECURITY.md index 3a357ba..27d4037 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -7,6 +7,7 @@ The following versions of the stlink toolset are currently being supported.<br / | Version | Supported | | ------- | ------------------ | | develop | :white_check_mark: | +| 1.8.1 | | | 1.8.0 | :white_check_mark: | | 1.7.0 | :x: | | 1.6.x | :x: | diff --git a/cmake/modules/cpack_config.cmake b/cmake/modules/cpack_config.cmake index d1d6ff0..6746e5b 100644 --- a/cmake/modules/cpack_config.cmake +++ b/cmake/modules/cpack_config.cmake @@ -48,7 +48,7 @@ elseif (EXISTS "/etc/debian_version" AND (NOT EXISTS WIN32)) # Pa set(CPACK_DEBIAN_PACKAGE_RELEASE "1") # CPACK_DEBIAN_PACKAGE_ARCHITECTURE --> Default: Output of dpkg --print-architecture - set(CPACK_DEBIAN_PACKAGE_DEPENDS "pkg-config, build-essential, debhelper (>=9), cmake (>= 3.13.0), libusb-1.0-0-dev (>= 1.0.22)") + set(CPACK_DEBIAN_PACKAGE_DEPENDS "pkg-config, build-essential, debhelper (>=9), cmake (>= 3.18.3), libusb-1.0-0-dev (>= 1.0.24)") set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Nightwalker-87 <stlink-org>") # CPACK_DEBIAN_PACKAGE_DESCRIPTION --> Default: CPACK_DEBIAN_PACKAGE_DESCRIPTION (as it is set) # CPACK_DEBIAN_PACKAGE_SECTION --> Default: “devel” diff --git a/contributors.txt b/contributors.txt index b2dfce0..4e83a55 100644 --- a/contributors.txt +++ b/contributors.txt @@ -1,146 +1,36 @@ List of contributors to the stlink project: -Alexey Cherevatenko -Alexey Panarin -Anatoli Klassen [dev26th] -Andrea Mucignat -Andreas Michelis [a-michelis] -Andrew Andrianov [nekromant] -Andrey Yurovsky -Andy Isaacson -Andreas Sandberg [andysan] -Antoine Faure [antoinefaure] +[texane] +Karl Palsson [karlp] +Jerry Jacobs [xor-gate] Anton [Ant-ON] -Áron Radics -A. Sheaff -Björn Hauffe -Ihor Bobalo -Breton M. Saunders -Bruno Dal Bo -Brian Team [dot4qu] -Burns Fisher -Cheng Guokai (Xim) [chenguokai] -Chris Dew -Chris Hiszpanski -Chris Li -Chris Samuelson -Christian Deussen [nullsub] -Christophe Levantis -Craig Lilley -Crest [Crest] -Dan Dev -Dan Hepler -Daniel Campoverde [alx741] -Daniel O'Connor -Dave Flogeras -Dave Murphy [WinterMute] -Dave Vandervies [dj3vande] -Denis Fokin -Denis Osterland -Dmitry Bravikov [bravikov] -Efe Can İçöz -Ethan Zonca -Fabien Chouteau [Fabien-Chouteau] -Florian Hars -Friedrich Beckmann -Gabriel Górski [Glaeqen] -Geoffrey Brown [geoffreymbrown] -George Talusan [gtalusan] -Georg von Zengen -Giuseppe Barba -Greg Alexander [galexander1] -Greg Meiste [meisteg] -Grzegorz Szymaszek [gszy] +Uwe Bonnes [UweBonnes] +Oleksiy Slyshyk [slyshykO] Guillaume Revaillot [grevaillot] -Gwenhael Goavec-Merou [trabucayre] -[Hakkavélin] -Halt Hammerzeit -Hsu Pu [hsupu] -[hydroconstructor] -Ian Griffiths -Jack Peel -Jakub Tyszkowski -Jan Sarenik -Jean-Luc Béchennec -Jean-Marie Lemetayer -Jeff Kent -Jeffrey Nelson -Jens Hoffmann -Jerome Lambourg -Jim Paris -Jiří Netolický -Jerry Jacobs [xor-gate] -Jerry Nosky [jnosky] -Jochen Wilhelmy [Jochen0x90h] John Hall [simplerobot] -Joel Bodenmann [Tectu] -Johannes Taelman -Jonas Danielsson -Jonas Norling -Josh Bialkowski -Karl Palsson [karlp] -Kevlar Harness -Kyle Manna -Lari Lehtomäki -Luuk van Dijk [lvdlvd] -Martin Nowak -Matteo Collina -Max Chen -Maxime Coquelin [mcoquelin-stm32] -Maxime Vincent +Cheng Guokai (Xim) [chenguokai] +[whitequark] +Dave Murphy [WinterMute] Michael Pratt [prattmic] -Michael Sparmann -Mike Szczys -Magnus Lundin [mlu] -Ned Konz -Nic McDonald -Nicolas Schodet -Oleksiy Slyshyk [slyshykO] -Olivier Croquette -Olivier Gay -Onno Kortmann -[orangeudav] -Pavel Kirienko -Pekka Nikander -Pete Nelson -Peter Torelli [petertorelli] -Peter Zotov -Petteri Aimonen -Piotr Haber -[RafaelLeeImg] -[rcubee] -Rene Hopf [rene-dev] -Robin Kreis +Jerry Nosky [jnosky] +Andreas Michelis [a-michelis] Roger Wolff [rewolff] -Rob Spanton -Rytis Karpuska +Maxime Coquelin [mcoquelin-stm32] +Grzegorz Szymaszek [gszy] +[hydroconstructor] Rutger Hendriks [rutgerhendriks] -Sean Simmons -Sergey Alirzaev -Simon Derr [sderr] -Simon Wright -Stany Marcel -Stefan Misik -Sven Wegener -Tarek Bochkati [tarek-bochkati] -[texane] +Hsu Pu [hsupu] +[RafaelLeeImg] Timothy Lee [timothytylee] -Tuomo Kaikkonen -Theodore A. Roth -Thomas Gärtner -Tobias Badertscher -Tom de Boer -Tristan Gingold -Uli Köhler -Uwe Bonnes [UweBonnes] -Vadim Kaushan +Andrew Andrianov [nekromant] +Geoffrey Brown [geoffreymbrown] +Daniel Campoverde [alx741] +George Talusan [gtalusan] +Magnus Lundin [mlu] +[rcubee] +Gwenhael Goavec-Merou [trabucayre] +Crest [Crest] +Dave Vandervies [dj3vande] Vasiliy Glazov [Vascom] -Vegard Storheil Eriksen -Viacheslav Dobromyslov -Victor Mayoral Vilches -[whitequark] -William Ransohoff [WRansohoff] -Wojciech A. Koszek -Woodrow Douglass -... and others +... and many others diff --git a/doc/version_support.md b/doc/version_support.md index 9e61141..d02623e 100644 --- a/doc/version_support.md +++ b/doc/version_support.md @@ -2,7 +2,7 @@ ### Microsoft Windows -On Windows users should ensure that cmake **3.16.3** or any later version is installed.<br /> +On Windows users should ensure that cmake **3.18.3** or any later version is installed.<br /> Up on compiling c-make will **automatically** download and install the latest compatible version of `libusb`. - Windows 10 @@ -20,29 +20,24 @@ Actively maintained versions of: - FreeBSD [libusb 1.0.16-18 (API 0x01000102)] - NetBSD - OpenBSD +- KaOS +- Solus +- Void Linux Other Linux-/Unix-based Operating Systems: | Operating System | libusb | cmake | libgtk-dev | End of<br />OS-Support | | ------------------------ | -------------------------- | ---------- | ----------- | ---------------------- | -| KaOS [x64] | 1.0.27 | 3.30.2 | 3.24.43 | | -| Void Linux [x64] | 1.0.27 | 3.30.1 | 3.24.42 | | -| CentOS 9 Stream [x64] | 1.0.26 (`libusbx`) | 3.26.5 | 3.24.31 | | -| Mageia 9 [x64] | 1.0.26 | 3.26.4 | 3.24.38 | | -| Solus [x64] | 1.0.26 | 3.24.1 | 3.24.38 | | -| ALT Linux P10 [x64] | 1.0.26 | 3.23.2 | 3.24.32 | | -| PCLinuxOS [x64] | (?) | 3.30.2 | 3.24.38 | | -| | | | | | -| Slackware 15 [x64] | 1.0.**24** | 3.24.1 | 3.24.31 | | -| NetBSD 9.x | 1.0.**24** | 3.**21.2** | 3.24.**30** | | -| Adélie 1.0 | 1.0.**23** | 3.23.5 | 3.24.**30** | | -| Ubuntu 20.04 LTS (Focal) | 1.0.**23** | 3.**16.3** | 3.24.**18** | May 2025 | +| CentOS Stream 9 [x64] | 1.0.26 (`libusbx`) | 3.**26.5** | 3.24.31 | May 2027 | +| Mageia 9 [x64] | 1.0.26 | 3.**26.4** | 3.24.38 | | +| Slackware 15 [x64] | 1.0.**24** | 3.**24.1** | 3.24.31 | | +| NetBSD 9.x | 1.0.**24** | 3.**21.2** | 3.24.30 | | | FreeBSD 13.x | 1.0.16-18 (API 0x01000102) | 3.**22.1** | 3.24.31 | Jan 2026 | ## Unsupported Operating Systems (as of Release v1.8.1) -Systems with highlighted versions remain compatible with this toolset. +Systems with highlighted versions remain compatible with this toolset until further notice. | Operating System | libusb | cmake | End of<br />OS-Support | | ---------------------------------------- | -------------------------- | ---------- | ---------------------- | @@ -57,16 +52,9 @@ Systems with highlighted versions remain compatible with this toolset. | Debian 11 (Bullseye) | 1.0.**24** | 3.**18.4** | Jun 2024 | | Alpine 3.13 | 1.0.**24** | 3.**18.4** | Nov 2022 | | Ubuntu 21.04 (Hirsute) | 1.0.**24** | 3.**18.4** | Jan 2022 | -| CentOS / Rocky Linux / AlmaLinux 8 [x64] | 1.0.**23** (`libusbx`) | 3.**20.3** | Dec 2021 | -| CentOS 8 Stream [x64] | 1.0.**23** (`libusbx`) | 3.**20.2** | May 2024 | -| Fedora 33 [x64] | 1.0.**23** (`libusbx`) | 3.**18.3** | Nov 2021 | -| Alpine 3.12 | 1.0.**23** | 3.**17.2** | May 2022 | -| openSUSE Leap 15.3 [x64] | 1.0.21 | 3.**17.0** | Dec 2022 | -| Fedora 32 [x64] | 1.0.**23** (`libusbx`) | 3.**17.0** | May 2021 | -| openSUSE Leap 15.2 [x64] | 1.0.21 | 3.**17.0** | Dec 2021 | -| Ubuntu 20.10 (Groovy) | 1.0.**23** | 3.**16.3** | Jul 2021 | -| Alpine 3.11 | 1.0.**23** | 3.15.5 | Nov 2021 | -| ALT Linux P9 | 1.0.22 | 3.**16.3** | -| Ubuntu 19.10 (Eoan) | 1.0.**23** | 3.13.4 | Jul 2020 | +| Adélie 1.0 | 1.0.23 | 3.**23.5** | | +| CentOS / Rocky Linux / AlmaLinux 8 [x64] | 1.0.23 (`libusbx`) | 3.**20.3** | Dec 2021 | +| CentOS 8 Stream [x64] | 1.0.23 (`libusbx`) | 3.**20.2** | May 2024 | +| Fedora 33 [x64] | 1.0.23 (`libusbx`) | 3.**18.3** | Nov 2021 | _All other operating systems which are not listed are unsupported._ diff --git a/src/stlink-lib/libusb_settings.h b/src/stlink-lib/libusb_settings.h index e938b59..9451bce 100644 --- a/src/stlink-lib/libusb_settings.h +++ b/src/stlink-lib/libusb_settings.h @@ -26,6 +26,8 @@ * v1.0.24 | 0x01000108
* v1.0.25 | 0x01000109
* v1.0.26 | 0x01000110
+ * v1.0.27 | 0x01000111
+ * v1.0.28 | 0x01000112
*/
#if defined (__FreeBSD__)
@@ -39,11 +41,11 @@ #if defined (__FreeBSD__)
#define MINIMAL_API_VERSION 0x01000102 // v1.0.16
#elif defined (__OpenBSD__)
- #define MINIMAL_API_VERSION 0x01000106 // v1.0.22
+ #define MINIMAL_API_VERSION 0x01000108 // v1.0.24
#elif defined (__linux__)
- #define MINIMAL_API_VERSION 0x01000106 // v1.0.22
+ #define MINIMAL_API_VERSION 0x01000108 // v1.0.24
#elif defined (_WIN32)
- #define MINIMAL_API_VERSION 0x01000109 // v1.0.25
+ #define MINIMAL_API_VERSION 0x01000108 // v1.0.24
#endif
#if(LIBUSB_API_VERSION < MINIMAL_API_VERSION)
|