How to generate C++ based project from STM32 Cube IDE v1.4.0
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-12 2:16 AM
Hi There,
I want to generate a project template for STM32F103 based mcu, but the template/project should be C++ based not C based. I tried to mark C++ while creating a new project but still the end result was c based project only. main.c was created instead of main.cpp.
Kindly help me out in figuring how main.cpp or c++ based project be generated from STM32 Cube IDE.
Labels:
- Labels:
-
STM32CubeIDE
-
STM32F1 Series
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-12 3:12 PM
The generated code is the same, but you can add your own C++ code in a C++ project.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-12 3:16 PM
MENU>File >new>c/c++project and add your cpp files
