Skip to main content
Explorer
December 6, 2025
Solved

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

  • December 6, 2025
  • 1 reply
  • 736 views

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!

 
Best answer by Ghofrane GSOURI

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 

1 reply

Ghofrane GSOURI
Ghofrane GSOURIBest answer
Technical Moderator
December 9, 2025

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.