2023-10-06 05:55 AM - edited 2023-10-06 11:13 AM
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)
Solved! Go to Solution.
2023-10-12 05:05 AM
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;
2023-10-09 07:04 AM
Hello @Dabbo
First let me thank you for posting.
Could you provide the exact version of Ubuntu you are using.
Also, could you provide the .log and the ide.log file found under workspace_name/.metadata.
KR,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-10-12 05:05 AM
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;
2023-10-12 05:10 AM
2023-10-30 11:15 AM
Even I already described the same problem in https://community.st.com/t5/stm32cubeide-mcus/warning-stm32-target-or-stm32cube-example-section-required/m-p/575613 your solution does not works for me. I tried your Exec= env GDE_BACKEND/KDE_BACKENd=x11 .... .I still get the same error
2023-10-30 11:16 AM
I even tried to remove the .ide* files in the root of my personal folder. It did not made any difference.
2023-11-01 09:22 AM
Is there any solution of my case?
2023-11-02 08:50 AM
Is there any solution of my case?
2023-11-03 10:10 AM
2023-11-04 03:05 PM
Opening cubeide it said: "Cannot determine ..."URI of a earlier opened source file relative to /. It seems that the my cubeide project folder is not prependet.