Skip to main content
Visitor II
May 15, 2026
Question

STM32 cube examples?

  • May 15, 2026
  • 2 replies
  • 109 views

So I have the STM32 CUBE suite - and I remember there is a means to select example projects to start from.

HOWEVER - I cannot find that any more :(

Mr Google tells me to do this:

Start STM32-CUBE, select FILE->NEW->OTHER->Create New STM32 Project

This does not provide me with ready made examples to choose from. These are very stripped down, not even hello world, just a main() with a endless for(;;) loop. With the default oscillator/clock.

I'm sure you have seen the BOARD selector, you select the chip, the board and you can pick examples

That is what I am looking for.  Where is that?

 

 

2 replies

AScha.3
Super User
May 15, 2026

You looking for...this:

AScha3_0-1778834986764.png

What version of : IDE , Cube , cpu     you use ?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
May 15, 2026

You didn't say what version you're using.

Please see: How to write your question to maximize your chances to find a solution

 

From CubeIDE v2.0.0, Project creation & configuration is now handled only in the separate, standalone CubeMX.

The CubeMX functionality is no longer integrated in CubeIDE.

See: STM32CubeIDE 2.0.0 workflow tutorial

 

For the rationale behind it, and discussion of that, see: IDE Version 2.0.0 - why remove MX ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.