You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed compatibility with gcc-14 [-Werror=calloc-transposed-args]
- Updated compiling instructions and build script for Windows (Closes#1364) (Closes#1410)
- Updated CHANGELOG.md
- Minor formatting fixes
Copy file name to clipboardExpand all lines: CHANGELOG.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,41 @@
1
1
# stlink Changelog
2
2
3
+
# v1.8.1
4
+
5
+
Release date: 2024-09-01
6
+
7
+
This release drops support for some older operating systems. Check project README for details.
8
+
9
+
Updated system requirements:
10
+
-`cmake` >= 3.13.0
11
+
-`libusb` >= 1.0.22
12
+
-`libgtk-dev` >= 3.22.30
13
+
14
+
Features:
15
+
- Added support for STLINK-V3PWR ([#1388](https://github.com/stlink-org/stlink/pull/1388), [#1389](https://github.com/stlink-org/stlink/pull/1389))
16
+
- Dynamic SRAM size for F4 memory map ([#1390](https://github.com/stlink-org/stlink/pull/1390))
17
+
- Modifications to allow building of toolset in OpenBSD ([#1392](https://github.com/stlink-org/stlink/pull/1392))
18
+
- --mass-erase for st-flash write commands ([#1397](https://github.com/stlink-org/stlink/pull/1397))
19
+
- Support for setting option bytes to STM32L41x_L42x (according to RM0394) ([#1405](https://github.com/stlink-org/stlink/pull/1405), [#1412](https://github.com/stlink-org/stlink/pull/1412), [#1413](https://github.com/stlink-org/stlink/pull/1413))
20
+
- Improvements for stlink-gui ([#1411](https://github.com/stlink-org/stlink/pull/1411))
21
+
-[STM32U575/585]: Added support for OTP bytes ([#1419](https://github.com/stlink-org/stlink/pull/1419))
22
+
-[STM32Gx]: Added erase support for multi-bank products ([#1420](https://github.com/stlink-org/stlink/pull/1420))
23
+
24
+
Updates & changes:
25
+
- 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))
- Cmake minimal version mismatch ([#1374](https://github.com/stlink-org/stlink/pull/1374), [#1375](https://github.com/stlink-org/stlink/pull/1375), commit [#1ee7f6b](https://github.com/stlink-org/stlink/commit/1ee7f6b6c05e305112bb070ae571ebbe26c55946))
32
+
- Added a graceful way to terminate st-util ([#1395](https://github.com/stlink-org/stlink/pull/1395), [#1396](https://github.com/stlink-org/stlink/pull/1396))
33
+
-[st-trace] Bug in function static bool read_trace( ) ([#1400](https://github.com/stlink-org/stlink/pull/1400), commit [#32ce4bf](https://github.com/stlink-org/stlink/commit/32ce4bf88a816fb6a9841a33e6c5f6b593a9b927))
- Restored support for STM32G4 Cat4 device STM32G491 ([#1403](https://github.com/stlink-org/stlink/pull/1403), [#1414](https://github.com/stlink-org/stlink/pull/1414))
Copy file name to clipboardExpand all lines: doc/compiling.md
+17-27Lines changed: 17 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,53 +1,43 @@
1
1
# Compiling from sources
2
2
3
+
3
4
## Microsoft Windows (10, 11)
4
5
5
6
### Common Requirements
6
7
7
8
On Windows users should ensure that the following software is installed:
8
9
9
10
-`git` (_optional, but recommended_)
11
+
-`7zip`
10
12
-`cmake`
11
-
-`7-zip`
12
-
-`MinGW-w64`
13
+
-`MSYS2`
13
14
14
15
### Installation
15
16
16
17
1. Install `git` from <https://git-scm.com/download/win>
17
-
2. Install `cmake` from <https://cmake.org/download><br />
18
+
2. Install `cmake` from <https://cmake.org/download/#latest> --> Binary distributions --> Windows x64 Installer<br />
18
19
Ensure that you add cmake to the $PATH system variable when following the instructions by the setup assistant.
19
-
3. Install MinGW-w64<br />
20
-
Download **MinGW-w64** from <https://github.com/niXman/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev1/x86_64-13.2.0-release-win32-seh-msvcrt-rt_v11-rev1.7z>. Extract content to `C:\mingw-w64\` and add `C:\mingw-w64\bin\` to PATH-Variable.<br />
21
-
22
-
4. Create a new destination folder at a place of your choice
23
-
5. Open the command-line (cmd.exe) and execute `cd C:\$Path-to-your-destination-folder$\`
24
-
6. Fetch the project sourcefiles by running `git clone https://github.com/stlink-org/stlink.git`from the command-line (cmd.exe)<br />
25
-
or download and extract the stlink zip-sourcefolder from the Release page on GitHub.
20
+
3. Install `MSYS2` from <https://www.msys2.org/><br />
21
+
Follow the installation instructions on the website.
22
+
4. Install `mingw-w64` via the MSYS2 UCRT64 Shell: `pacman -S mingw-w64-x86_64-make`
23
+
5. Fetch the project sourcefiles by running `git clone https://github.com/stlink-org/stlink.git`from the command-line (cmd.exe)<br />
24
+
or download and extract (`7zip`) the stlink zip-sourcefolder from the Release page on GitHub.
26
25
27
26
### Building
28
27
29
-
#### MinGW-w64
30
-
31
-
1. Open command-line with administrator privileges
32
-
2. Move to the `stlink` directory
28
+
1. Open the command-line (cmd.exe) with administrator privileges
29
+
2. Move to the `stlink` directory with `cd C:\$Path-to-your-stlink-folder$\`
33
30
3. Execute `mingw64-build.bat`
34
31
35
-
NOTE:<br />
36
-
Per default the build script (currently) uses `C:\mingw-w64\x86_64-8.1.0-release-win32-sjlj-rt_v6-rev0\mingw64\bin`.<br />
37
-
When installing different toolchains make sure to update the path in the `mingw64-build.bat`.<br />
38
-
This can be achieved by opening the .bat file with a common text editor.
39
-
40
-
Options:
41
-
42
-
-`/m` - compilation runs in parallel utilizing multiple cores
0 commit comments