cancel
Showing results for 
Search instead for 
Did you mean: 

I want to change main.c to main.cpp

Ebun.1
Senior

environment:

STM32CubeIDE Ver 1.3.0

STM32CubeMX Ver 5.5.0

TouchGFX Ver 4.13.0

Load the project created with TouchGFX in the IDE.

How can I change main.c to main.cpp and let the IDE understand?

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

Because it's usually inside Core/Src

View solution in original post

4 REPLIES 4
Ebun.1
Senior

Was self resolved.

Main.c can be seen in Application\User on the IDE, so rename it on the IDE.

But actually there is no main.c in the User folder.

Why is main.c visible in the User folder on the IDE?

Martin KJELDSEN
Chief III

Because it's usually inside Core/Src

Hi, Martin

I understand.

Thank you very much.

No problem! 🙂

/Martin