2016-12-29 02:21 AM
Hello,
Currently, there is a possibility to generate C projects for different IDEs including SW4STM32, which uses gcc for compilation. But one can also use C++ code with g++ compiler supporting cool c++11/14 features, and there may be a number of people who would like to utilize this. Right now there is no possibility to create C++ project from STM32Cube and one needs to rename main.c to main.cpp and setup compiler manually. So I suggest to add an option to generate C++ project from STM32 Cube, so that *.cpp files are generated (at least main.cpp) andg++ compiler is used in project settings. I didn't find bug/feature tracking system, so I post this suggestion here
Regards,Nikolay2017-01-02 07:46 PM
+1
2017-01-03 12:28 AM
Hi
Bobovnikov.Nikolay
,Thanks for the suggestion! I will forward this to our team.
-Nesrine-
We are looking for your wishes about our STM32 products,ecosystem and community:
https://community.st.com/community/stm32-community/stm32-forum/blog/2016/12/30/2017-stm32-wish-list
2017-05-13 12:59 PM
+1
2017-10-17 10:29 AM
Hey Nikolay,
Have you figured out a way of keeping the C++ related settings when the code is regenerated?
Thanks,
Evgeny
2017-10-20 02:16 PM
Hi
ELMHIRI.Syrine
Any plans of adding C++ support to the Cube?
Thanks,
Evgeny
2018-01-18 06:23 AM
Hi
Bobovnikov.Nikolay
,Musskopf.Mike
,evgeny.erlihman
andFelix.Jose
,We do understand the need for you to generate C++project and this need is well known internally.
However, for the moment, with the success of STM32CubeMX, we have a lot of requests/suggestions to study andmanyimprovements to integrate.
And the C++ generation project item is not yet under study currently.
Sorry, for the inconvenience it may cause.
BR. Jeanne
2018-04-04 10:46 AM
+1