Target selection: STM32 target or STM32Cube example selection is required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-06 5: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.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-12 5: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;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-09 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-12 5: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;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-12 5:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-01 9:22 AM
Is there any solution of my case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-02 8:50 AM
Is there any solution of my case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-03 10:10 AM
I tried to make a fresh install of the recent cubeide and wiped the old file from the disk including the stm related files/folder in my home. Istll have no success!!!!!!!!!!!!!!!!!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-04 3: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.
