Based on this
- 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
andlib32-ncurses
andlib32-ncurses5-compat-libs
- Add System Worckbanch to eclipse
- enjoy
- 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
- Start the Eclipse
- You must then create a new update site, to be able to install System Workbench for STM32 - Bare Metal Edition:
- Click on "Help:"
- "Install new Software"
- Then give a name to the update site (System Workbench for STM32 - Bare Machine edition) and set the location to http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 (BE CAREFUL! WITHOUT \n and spaces)
- Then click “OK” to create the update site
- 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