cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L051R6T6 .IOC file

Retired
Associate II

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 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

Use standalone STM32CubeMX to create new projects. Projects can't be created in STM32CubeIDE anymore.

STM32CubeMX | Software - STMicroelectronics

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

9 REPLIES 9
TDK
Super User

Use standalone STM32CubeMX to create new projects. Projects can't be created in STM32CubeIDE anymore.

STM32CubeMX | Software - STMicroelectronics

If you feel a post has answered your question, please click "Accept as Solution".
mƎALLEm
ST Employee

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

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.
Hello,

"Projects can't be created in STM32CubeIDE anymore."

But STM32CubeIDE can create an STM32F103C8T6 project.

I'll see how to install STM32CubeMX.

Thank you


    Retired


@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 ?

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.

@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.

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.
Hi,

There's something strange about the STM32Cube V2.0.0 IDE. I haven't
tested previous versions; this is the first time I've used V2.0.0.

 I've never installed STM32CubeMX.STM32Cube V2.0.0 creates the .IOC
file for the STM32F103C8T6 microcontroller.

For my STM32F103C8T6 board, I created my own GPIO and I2C libraries, and
I can compile, link, flash, debug, and run my program.

The board has an LED, a button, a PCF8574 with an integrated LED, and
everything works correctly.

This small project aims to explore the STM32 family.

Now I'm having second thoughts…

I might try MX.


Regards

        Retired


@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.

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.
@Retired
<> wrote:

STM32Cube V2.0.0 creates the .IOC
file for the STM32F103C8T6 microcontroller.
------------------------------------------------------------------------


No, it doesn't.

@Retired
<> write:

Yes, he can. It is my first project (after trying some ways to create a
new project)

At this time, I think we waste our time. I'll continue to investigate
myself.

Thank you.


@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:

1.19.0.png

Is no more available starting from CubeIDE 2.0.0:

2.1.0.png

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.