Pros | Cons |
---|---|
C++ features, classes, OOP, etc | Potential issues with framework compatibility |
More safeguards for bad programming | Extra work integrating frameworks |
Less development time with the advanced features | Potential issues with device drivers |
If issues are discovered later, very difficult to switch back |
Pros | Cons |
---|---|
Guaranteed painless use of all frameworks and device drivers | Not as feature-rich as C++ |
Potentially better performance | More development time for complex features |
Closer hardware control | |
Since team is just starting out, can start simple with C and will be easy to add C++ later |
new
and delete
operators https://www.freertos.org/FreeRTOS_Support_Forum_Archive/February_2017/freertos_FreeRTOSs_compatibility_with_C_2aa2a047j.html