cancel
Showing results for 
Search instead for 
Did you mean: 

Example not showing in CubeMX Example Selector after adding to STM32Cube Pack

yahyaaouledamer
Associate

Hello,

I’ve created a custom STM32Cube Pack using STM32Cube Pack Creator and added an example project inside the pack. The pack builds successfully and installs correctly in CubeMX. However, the example I added does not appear in the CubeMX Example Selector.

It appears in "Repository/Packs" in my user folder in c:/

Details:

  • Pack created with STM32Cube Pack Creator

  • Example project added under the Examples folder in the pack structure

  • Pack installs fine and is visible in CubeMX

  • The example does not show up in the CubeMX Example Selector list

Questions:

  • Are there specific requirements or metadata (e.g., .pdsc file entries, example description XML) that must be included for CubeMX to recognize and display the example?

  • Could this be related to the folder structure or naming conventions inside the pack?

  • Any guidance or documentation on ensuring custom examples appear in CubeMX would be appreciated.

Thanks in advance for your help!

 
1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

Hello @yahyaaouledamer 

The STM32CubeMX Example Selector is a feature within STM32CubeMX that allows users to browse and open example projects. Specifically, it displays:

1- Official example projects provided by STMicroelectronics.
2- These examples are included in the official STM32Cube firmware packages and are integrated into the CubeMX database

The Example Selector does not display custom or user-added examples from third-party or user-created STM32Cube Packs. Only examples officially released and maintained by STMicroelectronics are shown.

THX

Ghofrane 

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.

View solution in original post

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @yahyaaouledamer 

The STM32CubeMX Example Selector is a feature within STM32CubeMX that allows users to browse and open example projects. Specifically, it displays:

1- Official example projects provided by STMicroelectronics.
2- These examples are included in the official STM32Cube firmware packages and are integrated into the CubeMX database

The Example Selector does not display custom or user-added examples from third-party or user-created STM32Cube Packs. Only examples officially released and maintained by STMicroelectronics are shown.

THX

Ghofrane 

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.