We need to compile parts of the firmware using C++ compiler and line C and C++ parts together.
1) convert main.c to main.cpp
2) convert one simple file, for example cyclic_buffer.c
--- old+++ new@@ -1 +1,5 @@-It looks like ChibiOS has C++ support? We should research if C++ is an option for us - does it work, would it work without heap (no heap, thank you), how much worse would it be etc etc etc.+It looks like ChibiOS has C++ support?++We need to compile parts of the firmware using C++ compiler and line C and C++ parts together.+1) convert main.c to main.cpp+2) convert one simple file, for example cyclic_buffer.c
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Diff:
https://www.freelancer.com/projects/CPlusPlus-Programming-Embedded-Software/Need-add-support-into-existing.html
rusEfi is now compiled as C++