Skip to content

Commit

Permalink
General Project Update
Browse files Browse the repository at this point in the history
- [doc] Updated steps for release procedure
- [doc] Removed outdated lists of supported devices
- [doc] Updated list of supported OS
- [doc] Updated version requirements
- Cleanup  for libusb installation routine on Windows
- Updated list of contributors
- Updated CHANGELOG.md
- Updated README.md
  • Loading branch information
Nightwalker-87 committed May 16, 2021
1 parent 71d1dab commit ebba0f3
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 143 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@

Release date: 2021-xx-xx

This release drops support for some older operating systems. Check project README for details.
Updated system requirements: Raised minimum version for `cmake` to 3.7.2.

Features:

- Support for writing option bytes on STM32F0/F1/F3 ([#346](https://github.com/stlink-org/stlink/pull/346), [#458](https://github.com/stlink-org/stlink/pull/458), [#808](https://github.com/stlink-org/stlink/pull/808), [#1084](https://github.com/stlink-org/stlink/pull/1084), [#1112](https://github.com/stlink-org/stlink/pull/1112))
- Added chip-IDs for STM32G0B0/G0B1/G0C1/G050/G051/G061 ([#1140](https://github.com/stlink-org/stlink/pull/1140))
- Added option byte info for STM32F411XX ([#1141](https://github.com/stlink-org/stlink/pull/1141))

Updates & changes:

- Added instructions for bug-reports and feature-requests to contribution guidelines ([#906](https://github.com/stlink-org/stlink/pull/906))
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# General cmake settings
###

cmake_minimum_required(VERSION 3.4.2)
cmake_minimum_required(VERSION 3.7.2)
cmake_policy(SET CMP0042 NEW)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ The STlink toolset includes:

## Supported operating systems and hardware combinations

Currently known working combinations of programmers and targets are listed in [devices_boards.md](doc/devices_boards.md).
Currently known working MCU targets are listed in [devices_boards.md](doc/devices_boards.md).

Supported operating systems are listed in [version_support.md](doc/version_support.md).
A list of supported operating can be found in [version_support.md](doc/version_support.md).

## Tutorial & HOWTO

Expand Down
22 changes: 0 additions & 22 deletions cmake/modules/Findlibusb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,6 @@ elseif (WIN32 OR (EXISTS "/etc/debian_version" AND MINGW)) # Windows or MinGW-to
endif ()

if (WIN32 AND NOT EXISTS "/etc/debian_version") # Skip this for Debian...
FIND_PATH(
LIBUSB_INCLUDE_DIR NAMES libusb.h
HINTS /usr /usr/local /opt
PATH_SUFFIXES libusb-1.0
)

if (MINGW OR MSYS)
set(LIBUSB_NAME usb-1.0)
find_library(
LIBUSB_LIBRARY NAMES ${LIBUSB_NAME}
HINTS ${LIBUSB_WIN_OUTPUT_FOLDER}/MinGW${ARCH}/static
)
else (MSVC)
set(LIBUSB_NAME libusb-1.0.lib)
find_library(
LIBUSB_LIBRARY NAMES ${LIBUSB_NAME}
HINTS ${LIBUSB_WIN_OUTPUT_FOLDER}/MS${ARCH}/dll
)
endif ()
endif ()

if (NOT LIBUSB_FOUND)
# Preparations for installing libusb library
set(LIBUSB_WIN_VERSION 1.0.23) # set libusb version
set(LIBUSB_WIN_ARCHIVE libusb-${LIBUSB_WIN_VERSION}.7z)
Expand Down
3 changes: 2 additions & 1 deletion contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Fabien Chouteau [Fabien-Chouteau]
Florian Hars
Friedrich Beckmann
Gabriel Górski [Glaeqen]
Geoffrey Brown
Geoffrey Brown [geoffreymbrown]
George Talusan [gtalusan]
Georg von Zengen
Giuseppe Barba
Expand Down Expand Up @@ -100,6 +100,7 @@ Peter Torelli [petertorelli]
Peter Zotov
Petteri Aimonen
Piotr Haber
[RafaelLeeImg]
Rene Hopf [rene-dev]
Robin Kreis
Roger Wolff [rewolff]
Expand Down
64 changes: 2 additions & 62 deletions doc/devices_boards.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Boards supported by the STlink toolset
# MCUs supported by the STlink toolset

The following devices are supported by the stlink toolset.

All Boards are expected to work with ST-LINK/V2 programmers.

**STM32F0 / ARM Cortex M0 / Core-ID: 0x0bb11477 (STM32F0_CORE_ID)**

| Chip-ID | Product-Code |
Expand All @@ -20,14 +18,6 @@ All Boards are expected to work with ST-LINK/V2 programmers.
| 0x448 | STM32F0**72**xx |
| 0x442 | STM32F0**9**xxx |

Tested boards [incl. STLINK programmers]:

- Nucleo-F030R8 [v2-1]
- Nucleo-F072RB [v2-1]
- Nucleo-F091RC [v2-1]
- Nucleo-32 [v2-1]
- STM32F0-Discovery [v2]
- STM320518-EVAL

**STM32F1 / ARM Cortex M3 / Core-ID: 0x1ba01477 (STM32F1_CORE_ID)**

Expand All @@ -50,11 +40,8 @@ Tested boards [incl. STLINK programmers]:
| 0x428 | High density Value | xC xD xE | F100 | | | | |
| 0x430 | XL-Density | xF xG | | F101 | | F103 | |

Tested boards [incl. STLINK programmers]:
Tested non-official ST boards [incl. STLINK programmers]:

- STM32VL-Discovery (STM32F100RBT6) with STLINK/V1 [v1], [v2]
- STM32F103-Bluepill: C8Tx & R8xx [v2]
- Nucleo-F103RB [v2-1]
- HY-STM32 (STM32F103VETx) [v1, v2]
- DecaWave EVB1000 (STM32F105RCTx) [v1, v2]

Expand Down Expand Up @@ -98,15 +85,6 @@ Tested boards [incl. STLINK programmers]:
| 0x446 | _N/A_ | xD xE | | F302 | F303 | |
| 0x446 | _N/A_ | - | | | | F398 |

Tested boards [incl. STLINK programmers]:

- Nucleo-F302K8 [v2-1]
- Nucleo-F303K8 [v2-1]
- Nucleo-F303RE [v2-1]
- Nucleo-F334R8 [v2-1]
- STM32F303-Discovery [v2]
- STM32F3348-Discovery [v2-1]

**STM32F3 / ARM Cortex M4F / Core-ID: 0x2ba01477 (STM32F3c_CORE_ID)**

| Product-Code | Chip-ID | STLINK<br />Programmer | Boards |
Expand Down Expand Up @@ -134,16 +112,6 @@ Tested boards [incl. STLINK programmers]:
| 0x463 | STM32F4**13**xx |
| 0x463 | STM32F4**23**xx |

Tested boards [incl. STLINK programmers]:

- Nucleo-F401RE [v2-1]
- Nucleo-F411RE [v2-1]
- STM32F407-Discovery [v2]
- STM32F411E-Discovery with gyro, audio [v2]
- STM32F413H-Discovery [v2-1]
- STM32F429I-Discovery with LCD [v2]
- STM32F439VIT6-Discovery [v2] (reseated MCU)

**STM32F7 / ARM Cortex M7F / Core-ID: 0x5ba02477 (STM32F7_CORE_ID)**

| Chip-ID | Product-Code |
Expand All @@ -155,23 +123,12 @@ Tested boards [incl. STLINK programmers]:
| 0x451 | STM32F7**6**xxx |
| 0x451 | STM32F7**7**xxx |

Tested boards [incl. STLINK programmers]:

- Nucleo-F722ZE [v2-1]
- Nucleo-F746ZG [v2-1]
- STM32F756NGHx evaluation board [v2-1]
- STM32F769I-Discovery [v2-1]

**STM32H7 / ARM Cortex M7F / Core-ID: 0x6ba02477 (STM32H7_CORE_ID)**

| Chip-ID | Product-Code |
| ------- | -------------- |
| 0x450 | STM32H74x/H75x |

Tested boards [incl. STLINK programmers]:

- Nucleo-H745I-Q [v3]

**STM32G0 / ARM Cortex M0+ / Core-ID: 0x0bc11477 (STM32G0_CORE_ID)**

| Chip-ID | Product-Code |
Expand Down Expand Up @@ -203,10 +160,6 @@ Tested boards [incl. STLINK programmers]:
| 0x447 | STM32L0**7**xxx |
| 0x447 | STM32L0**8**xxx |

Tested boards [incl. STLINK programmers]:

- Nucleo-L053R8 [v2-1]

**STM32L1 / ARM Cortex M3 / Core-ID: 0x2ba01477 (STM32L1_CORE_ID)**

| Chip-ID | Product-Code |
Expand All @@ -221,11 +174,6 @@ Tested boards [incl. STLINK programmers]:
| 0x436 | STM32L1xxx**D** |
| 0x437 | STM32L1xxx**E** |

Tested boards [incl. STLINK programmers]:

- Nucleo-L152RE [v2-1]
- STM32L152C-Discovery [v2]

**STM32L4 / ARM Cortex M4F / Core-ID: 0x2ba01477 (STM32L4_CORE_ID)**

| Chip-ID | Product-Code |
Expand All @@ -245,14 +193,6 @@ Tested boards [incl. STLINK programmers]:
| 0x471 | STM32L4**P5**xx |
| 0x471 | STM32L4**Q5**xx |

Tested boards [incl. STLINK programmers]:

- Nucleo-L432KC [v2-1]
- Nucleo-L452RE [v2-1]
- Nucleo-L476RG [v2-1]
- Nucleo-L496ZG [v2-1]
- STM32L4R9I-Discovery [v2-1]

**STM32W / ARM Cortex M3 / Core-ID: 0x2ba01477 (STM32W_CORE_ID)**

| Chip-ID | Product-Code |
Expand Down
8 changes: 5 additions & 3 deletions doc/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ This document describes the necessary steps for developers to create a release:
1. Update `CHANGELOG.md`, `cmake/packaging/deb/changelog` & `cmake/packaging/rpm/changelog`
2. Update `.version` with semantic version: `x.x.x`
3. Update `README.md` with semantic version `x.x.x` in commits badge
4. Create and push git tag and commits `git tag x.x.x`
5. Create binary packages (.rpm / .deb / .zip) with `make package && sh ./cmake/packaging/windows/generate_binaries.sh`
6. Upload packages to the [release page](https://github.com/stlink-org/stlink/releases) of this project
4. Merge `develop` into `master`
5. Create and push git tag and commits `git tag x.x.x`
6. Create binary packages (.rpm / .deb / .zip) with `make package && sh ./cmake/packaging/windows/generate_binaries.sh`
7. Upload packages to the [release page](https://github.com/stlink-org/stlink/releases) of this project
8. Merge `master` into `develop`
Loading

0 comments on commit ebba0f3

Please sign in to comment.