Skip to content

Instantly share code, notes, and snippets.

@Myralllka
Last active April 10, 2024 13:05
Show Gist options
  • Save Myralllka/e2b75c08cf9e189980c89c9b0906e15e to your computer and use it in GitHub Desktop.
Save Myralllka/e2b75c08cf9e189980c89c9b0906e15e to your computer and use it in GitHub Desktop.
The Instalation guide of the SW4STM32 on Arch Linux

The Instalation guide of the SW4STM32 on Arch Linux Arch

Based on this

Short guide 😄

  • Registrate here
  • Download and Install this or using package manager install stlink
  • Install the eclipse-cpp
  • Unlock the multilib in pacman.conf
  • Install lib32-gcc-libs and lib32-ncurses and lib32-ncurses5-compat-libs
  • Add System Worckbanch to eclipse
  • enjoy

Guide

  • Registrate here
  • Download and install stlink yay -S stlink
  • Install Eclipse yay -S eclipse-cpp
  • Unlock the multilib sudo vim /etc/pacman.conf
  • In the file uncomment (delete '#' symbols on the start of the lines) following lines:
[multilib]
Include = /etc/pacman.d/mirrorlist
  • Download a fresh copy of packages from the master database sudo pacman -Sy
  • Update the key gpg --recv-key 702353E0F7E48EDB
  • And install the following packages: yay -S lib32-gcc-libs lib32-ncurses lib32-ncurses5-compat-libs

Eclipse

  • Start the Eclipse
  • You must then create a new update site, to be able to install System Workbench for STM32 - Bare Metal Edition:
  • Then you should select all of the OpenSTM32 tools and click “Next>, Next>, Next>, Accept>, Finish”
  • Important! The load bar is in the bottom right side of the window and it is very small, but you have to wait until the end of downloading.
  • Then there will be a window with Warning. press "Install anyway"
  • Press "Restart now"
  • To start the workbench press the right-up corner
  • Finally, install the package yay -S qstlink2-git

The original author is Yuriy Pasichnyk, here is his doc with images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment