Skip to main content
Associate III
October 6, 2023
Solved

Target selection: STM32 target or STM32Cube example selection is required

  • October 6, 2023
  • 13 replies
  • 18395 views

Running on Ubuntu

STM32CubeIDE

Version: 1.13.2

Build: 18220_20230914_1601 (UTC).

Fresh installation but just getting blank page saying "Target selection: STM32 target or STM32Cube example selection is required".

I've:

1. Checked for target selector device database updates

2. Checked for Embedded Software Packages Updates

3. Managed Embedded Software Packages and installed latest package for STMG0

Rebooted etc, but still getting this message and can't get past.

PS: STM32CubeIDE runs fine on Windows 11 connected to target board (Nucleo-64 G071RB)

Best answer by Dabbo

I have found solution. I am not expert, but it appears to be a x11/Wayland problem.

Solved by creating the below file which I called EDS_STM32CubeIDE_1.13.2.desktop and putting it in /usr/share/applications (and using CHMOD +x to make it executable). The key part being "Exec=env GDK BACKEND=x11"

[Desktop Entry]
Name=EDS_STM32CubeIDE
Exec=env GDK_BACKEND=x11 /opt/st/stm32cubeide_1.13.2/stm32cubeide
Type=Application
Icon=/usr/share/applications/teapot.xpm
Categories=Development;

13 replies

Senior
January 5, 2024

Hello,

yes this hidden directory contains very sensitive data that sometimes make the whole thing unstable.

I had to delete some parts of it regularly to overcome issues at start.

Please someone at ST can confirm this will be fixed ?

And I repeat, there is no mention in the documentation about the specific install script for Wayland. Someone at ST can confirm this will be documented ?

Senior
January 19, 2024

Any update about this topic ?

Associate
August 9, 2024

I use "stm32cubeide_wayland" instead of "stm32cubeide", and it works

(linux installation (1.16.0) on an Ubuntu 24.04LTS)