0

I have been looking through the examples provided STM32Cube_FW_F7 downloaded St.com website.

I noticed that all of them are using c, is there a way for me to use c++.

2 Answers2

2

Yes -> http://distortos.org/ C++ RTOS + peripheral drivers. If something missing - use hardware registers instead of pseudo hardware abstraction libraries. It is much easier, efficient, energy wise and much quicker.

0___________
  • 60,014
  • 4
  • 34
  • 74
0

Question is not correct!

If you asking: Can I use C++ for STM32? Answer: Yes, All compilers support C++ (GCC, IAR, KEIL)

If you asking: Do you have some C++ library for support STM32F7 MCU? Answer: No, at the moment public community doesn't have a good solution for you. You can find libraries for STM32F0 or STM32F4 but not for F7 family.

Also, you can check ARM mbed project, may it will suitable for you.

denis krasutski
  • 618
  • 4
  • 9