Skip to content

Release v1.6.1

Compare
Choose a tag to compare
@Nightwalker-87 Nightwalker-87 released this 31 May 22:00
· 675 commits to master since this release
6aa08a6

Release date: 2020-06-01

This release drops support for some older operating systems. Check project README for details.

Features:

  • Basic compatibility for STLink/V3 programmer (#271, #863, #954, #1023)
    • Added support for JTAG command API v2 & distinguish protocol versions v1 and v2
    • Compatibility with the STLink/V3 firmware which dropped support for the previous API v1
    • As of firmware version J11 the STLink/V1 programmer supports API v2 commands as well
  • Display programmer serial when no target is connected (#432, #933, #943)
  • Added connect under reset to stlink_open_usb( ) (#577, #963)
  • Support for STM32L1, SM32L4 option bytes write (#596, #844, #847)
  • Added CMAKEFLAGS and install target (#804, #935)
  • Support for STM32G4 (#822)
  • Added aliased SRAM2 region in the L496 memory map (#824)
  • Improved support for STM32G0 (#825, #850, #856, #857)
  • Added postinst script with depmod -a for make package (#845, #931)
  • Calculate checksums for flash operations (#862, #924)
  • Adjust the JTAG/SWD frequency via cmdline option (#893, #953)
  • Added usb PID and udev rules for STLink/V2.1 found on Nucleo-L432KC and Nucleo-L552ze boards (#900)
  • STM32G0/G4 improvements (#910)
    • Enable mass erase with a flash programming check
    • Handle G4 Cat3 devices with configurable dual bank flash by using a helper

Updates & changes:

  • [doc] Updated compiling instructions (#113, commit #10ae529)
  • Defined libusb version compatibility for supported systems via LIBUSB_API_VERSION (#211, #782, #895)
  • Improved argument parsing for CLI tools (#378, #922)
  • [doc] Updated tutorial: macOS STLink/V1 detection (#574, #587)
  • Enhanced error log with file path for map_file() (#650, #879, #921)
  • Enhanced output for error msg addr not a multiple of pagesize, not supported (#663, #945)
  • Updated STLink/V1 driver for macOS (#735, #964)
  • Package distribution: Provide Windows binaries via Debian-based cross-build (#738, #795, #798, #870, #955)
    • [refactoring] Update, corrections & cleanup for build settings (see #955 for details)
    • New cpack package-config for DEB and RPM build
    • Update for travis build configuration: builds for clang -m32, clang-9, MinGW-cross on linux
    • Updated steps for release preparation
    • Project contributors now listed in separate file
    • Test files & gui now use shared stlink-library
  • [doc] Verify correct udev configuration for device access (#764)
  • Added more error info to WLOGs during probe (#883)
  • [doc] Added missing documentation for stlink-gui (#884)
  • Added check for libssp during compilation (#885)
  • Silenced unnecessary messages (#886)
  • [doc] Defined libusb & cmake version compatibility (#896, #897, #899, commit #27aa888)
  • Update for STM32G471/473/474/483/484 devices (#901)
  • [doc] st-flash --flash=n[k][m] command line option to override device model (#902)
  • [refactoring] Improved cmake build process (#912)
    • Set up a libusb log level accordingly to verbosity (#894
    • [compatibility] Updated libusb to v1.0.23 ([#895](#895, #1089)
    • Updated compiling doc & version support (#896, #897, #899)
    • Version requirements & pkg-maintainer
    • Fixed install paths in build script
    • Updated C-flag -std=gnu99 to gnu11)
    • Added cmake uninstall target (#619, #907)
    • Integrated module GNUInstallDirs.cmake (#557)
    • [doc] Defined version compatibility and installation instructions for macOS
    • [refactoring] libusb detection
    • Deprecated old appveyor-mingw script
  • [refactoring] BSD-License-compliant rewrite of flashloader source files (#915, #932)
  • [refactoring] Overall option code rework (#927)
  • [refactoring] Build settings / GUI-Build on UNIX-based systems if GTK3 is detected (#929)
  • [refactoring] Reconfiguration of package build process (#931, #936, #940, commit #9b19f92)
  • [refactoring] st-util: Removed now useless v1/v2 STLink version stuff (#934)
  • [refactoring] Cleanup for option bytes and flash settings (#941)
  • Added compilation guideline for MSVC toolchain (#942)
  • [refactoring] Cleanup of cmake build process (#944, #946, #947)
    • libusb package extraction no longer requires 7zip as an external unarchiver

Fixes:

  • Fixed wait-loop for flash_loader_run() (#290)
  • Better argument parsing for CLI tools: stlink_open_usb can address v1, v2, v3 (#378, #922)
  • Clear the PG bit before setting the PER bit (#579, #876)
  • Fixed compilation issues with int length on 32-bit platforms (#629, #908)
  • Fixed st-info --probe mechanism (#679, #918)
  • [regression] Fixed sign-compare (size != rep_len) in usb.c (#772, #869, #872, #891)
  • Fixed dead loop after an unexpected unplug (#780, #812, #913)
  • Avoid re-define of O_BINARY on Windows (#788)
  • Fixed stlink lock-up when not connected to a device via JTAG / SWD (#835, #943)
  • Fixed st-flash manpage read example (#858)
  • Fixed stlink support with no mass storage (#861)
  • Make version.cmake more error-resistant (#872)
  • Error return in failed probe (#887, #890)
  • Fixed broken build on 32-bit systems (#919, #920)
  • st-flash: Minor usage fix and make cmdline parsing more user friendly (#925)
  • [regression] Restored functionality of make test builds (#926, #929)
  • Fixed compilation error due to uninitialized cpuid (#937, #938)
  • Fixes for STM32F0 flashloader (#958, #959)
  • Set static link for libssp (stack-smashing protection) (#960, #961)
  • Fixed udev rules installing to wrong directory (#966)
  • Fixed formatting for options display in st-flash & st-info (commits #c783d0e and #562cd24)