2026-02-25 10:38 AM - last edited on 2026-02-25 11:31 PM by mƎALLEm
Hello,
I am beginner with STM32.
I have some radiosonde boards with an STM32L051R6T6. I use STM32CUBE IDE V2.0.0
When I start a project, select the appropriate MCU, there is no Core directory and no ".IOC" file.
So, it is impossible to access to the GPIOs.
I've tried some ways to do that and allways unseccessfull.
Please, have you an idea ?
Notice
I use also an STM32F103C8T6 board. I've create my own GPIO lib, my own I2C lib, and I can compile, flash, debug and run my program.
Thank you and sorry for my english
Retired
Solved! Go to Solution.
2026-02-25 11:01 AM
Use standalone STM32CubeMX to create new projects. Projects can't be created in STM32CubeIDE anymore.
STM32CubeMX | Software - STMicroelectronics
2026-02-25 11:01 AM
Use standalone STM32CubeMX to create new projects. Projects can't be created in STM32CubeIDE anymore.
STM32CubeMX | Software - STMicroelectronics
2026-02-25 11:55 AM
Hello @Retired and welcome to the ST community,
Please read this step by step tutorial to create a project with CubeMx: STM32CubeIDE 2.0.0 workflow tutorial
2026-02-25 12:01 PM
2026-02-25 12:09 PM - edited 2026-02-25 12:21 PM
@Retired wrote:
But STM32CubeIDE can create an STM32F103C8T6 project.
Not anymore starting from CubeIDE 2.0.0. CubeIDE and CubeMx have been separated.
IDE Version 2.0.0 - why remove MX ?
2026-02-26 1:56 AM
@Retired wrote:
But STM32CubeIDE can create an STM32F103C8T6 project.
AIUI, It can create a blank source-code only project - but it will not include a .ioc file or any of the configuration stuff that contains, etc.
To create a project with a .ioc file, and use all the graphical configuration stuff, you now have to use the stansalone CubeMX app.
2026-02-26 8:39 AM
2026-02-26 9:24 AM
@Retired wrote:
STM32Cube V2.0.0 creates the .IOC
file for the STM32F103C8T6 microcontroller.
No, it doesn't.
@Retired wrote:
For my STM32F103C8T6 board, I created my own GPIO and I2C libraries, and
I can compile, link, flash, debug, and run my program.
It is certainly possible to write code "from the ground up" without using the CubeMX graphical stuff.
When doing that, there is no need or use for any .ioc file.
The .ioc file is only used by CubeMX - so, if you're not using CubeMX, there's no need or use for it.
2026-02-26 12:21 PM
2026-02-26 12:41 PM - edited 2026-02-26 1:23 PM
@Retired wrote:
Yes, he can. It is my first project (after trying some ways to create a
new project)
No it cannot. probably you are talking abaout a previous version of CubeIDE. CubeIDE 2.0.0 and later versions cannot create project for STM32.
As you can see that option in CubeIDE 1.19.0:
Is no more available starting from CubeIDE 2.0.0: