Other Parts Discussed in Thread: MSP430FR5969
Tool/software: TI C/C++ Compiler
This is one of those bad questions, I know.
I have been writing my code in C as I suspect many of you do as well. I was thinking that I use a lot of global structures to store my buffers, settings and the like. These could just as well be converted to classes and objects, althought apparently some special hoops need to be jumped through to make the class go into FRAM and still contain some private variables.. Class in a class as it would be. Mostly the benefit I see would be to make the code somewhat more manageable with various functions being integrated as methods. I have no intention of doing polymorphism etc.
C++ 11 seems to be slowly grinding to CC, beyond that, is the TI C++ compiler producing nice well-optimized code? Can I expect to take my well-behaved C99 code and compile it as C++ 2003 without breaking things and/or consuming more RAM/FRAM?
I'm writing for MSP430FR5969 which has 2kB ram and 64kB FRAM.