Skip to main content
This topic has been closed for replies.
Best answer by TDK

They're not made using STM32CubeMX.

You can translate them yourself with some effort.

Creating a STM32CubMX ioc project for older STM32C... - STMicroelectronics Community

3 replies

TDKAnswer
Super User
April 13, 2025

They're not made using STM32CubeMX.

You can translate them yourself with some effort.

Creating a STM32CubMX ioc project for older STM32C... - STMicroelectronics Community

Super User
April 14, 2025

There are some benefits to not providing IOC files. The Cube software is constantly being updated. Despite the best intentions, sometimes bugs are introduced, sometimes IOC files may not be 100% compatible. Providing IOC files would increase the burden here.

A modestly skilled programmer should be able to get up and running provided the examples. The "Example Selector" in STM32CubeMX facilitates this even more.

It doesn't seem unreasonable to me.

Super User
April 14, 2025

@yilmazkircicek wrote:

Is there anyone knows why sample projects do not include a .ioc file ?


Some do; some don't:

https://community.st.com/t5/stm32-mcus-products/some-example-projects-don-t-use-ioc-file/m-p/698338/highlight/true#M255312

 

Possible way to tell which is which:

https://community.st.com/t5/stm32-mcus-products/some-example-projects-don-t-use-ioc-file/m-p/698408/highlight/true#M255333

 


@yilmazkircicek wrote:

Are not these project generated with CubeMx ?


Presumably not.

 


@yilmazkircicek wrote:

it does not seem reasonable for a customer viewpoint


Not all customers will use CubeMX anyhow - so, I guess, it's reasonable to have some examples which demonstrate the alternative.

Super User
April 14, 2025

@Andrew Neil wrote:

@yilmazkircicek wrote:

Is there anyone knows why sample projects do not include a .ioc file ?


Some do; some don't:


And the ones which don't usually have a Board Support Package (BSP) to abstract the hardware details and, thus, facilitate the manual re-configuration...