How to generate main.cpp with STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-06 1:35 PM
Hi,
I'm working on a project in c++ and every time the IDE generates main.c instead of updating my main.cpp file. The project is set to C++, but still it generates main.c. That's very annoying. Can i fix this?
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-06 1:44 PM
Not possible.
But main.c is not preventing you to add c++ contributions to your project ... you've just to consider to properly organize it.
Adding c++ material properly is not enough. Please takes care to convert your C project to C++ one in oder to get access to C++ toolchain. Rely on project context menu ... some Convert C to C++ feature is available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-06 1:44 PM
Not possible.
But main.c is not preventing you to add c++ contributions to your project ... you've just to consider to properly organize it.
Adding c++ material properly is not enough. Please takes care to convert your C project to C++ one in oder to get access to C++ toolchain. Rely on project context menu ... some Convert C to C++ feature is available.
